forked from wez/atomicparsley
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
46 lines (38 loc) · 1.01 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
bin_PROGRAMS = AtomicParsley
noinst_HEADERS = src/AtomDefs.h src/AtomicParsley.h src/CDtoc.h \
src/ap_types.h src/id3v2.h src/id3v2defs.h src/id3v2types.h \
src/util.h
AM_CPPFLAGS = -DHAVE_CONFIG_H
if DARWIN
AM_CPPFLAGS += -DDARWIN_PLATFORM
AM_OBJCFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
AM_CFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
AM_CXXFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
AM_LDFLAGS = $(UNIVERSAL_FLAGS) \
-framework Cocoa -framework Foundation -framework IOKit
endif
AtomicParsley_SOURCES = \
src/util.cpp \
src/arrays.cpp \
src/iconv.cpp \
src/parsley.cpp \
src/extracts.cpp \
src/sha1.cpp \
src/uuid.cpp \
src/id3v2.cpp \
src/metalist.cpp \
src/CDtoc.cpp \
src/compress.cpp \
src/main.cpp
.mm.o:
$(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS) -c -o $@ $<
if DARWIN
AtomicParsley_SOURCES += \
src/nsfile.mm \
src/nsimage.mm
endif
if NEED_GETOPT
AtomicParsley_SOURCES += \
src/extras/getopt.c \
src/extras/getopt1.c
endif