-
Notifications
You must be signed in to change notification settings - Fork 1
/
GNUmakefile
89 lines (68 loc) · 2.03 KB
/
GNUmakefile
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# iTunesFS.app
ifeq ($(GNUSTEP_MAKEFILES),)
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
endif
ifeq ($(GNUSTEP_MAKEFILES),)
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
endif
include $(GNUSTEP_MAKEFILES)/common.make
GNUSTEP_INSTALLATION_DOMAIN = LOCAL
APP_NAME = iTunesFS
iTunesFS_PRINCIPAL_CLASS = NSApplication
iTunesFS_APPLICATION_ICON = iTunesFS.tiff
iTunesFS_MAIN_MODEL_FILE = MainMenu.gorm
iTunesFS_LANGUAGES = English German French Italian Spanish Japanese
iTunesFS_SUBPROJECTS = FUSEOFS
iTunesFS_OBJC_PRECOMPILED_HEADERS = common.h
ADDITIONAL_CPPFLAGS += -std=c99
ADDITIONAL_INCLUDE_DIRS += -IFUSEOFS -IFUSEOFS/GSFUSE
ADDITIONAL_GUI_LIBS += -lfuse -lz
GNUSTEP_HOST_OS := $(shell gnustep-config --variable=GNUSTEP_HOST_OS 2>/dev/null)
ifneq ($(FOUNDATION_LIB),apple)
ADDITIONAL_CPPFLAGS += -DNO_OSX_ADDITIONS
endif
ifeq ($(GNUSTEP_HOST_OS),linux-gnu)
ADDITIONAL_CPPFLAGS += -DNO_WATCHDOG
endif
ifeq ($(FOUNDATION_LIB),apple)
iTunesFS_INCLUDE_DIRS += -Ifilesystems-objc-support
ADDITIONAL_NATIVE_LIBS += OSXFUSE Accelerate
endif
iTunesFS_OBJC_FILES += \
main.m \
\
iTunesFileSystem.m \
\
IFSiTunesLibrary.m \
IFSiPodLibrary.m \
IFSJBiPodLibrary.m \
IFSiTunesPlaylist.m \
IFSM3UPlaylist.m \
IFSiTunesTrack.m \
IFSFormatFile.m \
IFSFormatter.m \
\
StreamReader.m \
NSString+Extensions.m \
NSMutableArray+Extensions.m \
NSURL+Extensions.m \
NSData+ZlibDecompression.m \
ifeq ($(FOUNDATION_LIB),apple)
iTunesFS_OBJC_FILES += \
filesystems-objc-support/NSImage+IconData.m
endif
ifneq ($(GNUSTEP_HOST_OS),linux-gnu)
iTunesFS_OBJC_FILES += \
Watchdog.m
endif
iTunesFS_LOCALIZED_RESOURCE_FILES += \
MainMenu.gorm \
Localizable.strings \
AlbumsTrackFormat.txt \
PlaylistsTrackFormat.txt \
iTunesFS_RESOURCE_FILES += \
iTunesFS.tiff \
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/application.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include GNUmakefile.postamble