-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGNUmakefile
55 lines (44 loc) · 1.49 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
ETOILE_CORE_MODULE = YES
include $(GNUSTEP_MAKEFILES)/common.make
ADDITIONAL_CPPFLAGS += -DDBUS_API_SUBJECT_TO_CHANGE=1
ADDITIONAL_INCLUDE_DIRS += `pkg-config --cflags dbus-1`
SUBPROJECTS = WorkspaceCommKit
# That's not the perfect solution, have to improve this when no admin access is
# possible. Finally we should install on /usr/bin when a package dependency
# system is used for the deployment.
# From tool.make: FINAL_TOOL_INSTALL_DIR = $(TOOL_INSTALL_DIR)/$(GNUSTEP_TARGET_LDIR)
# FINAL_TOOL_INSTALL_DIR = /usr/local/bin
#
# Main application
#
# TOOL_NAME = EtoileSystem
TOOL_NAME = etoile_system
VERSION = 0.1
# FIXME: When you take in account System can be use without any graphical UI
# loaded, linking AppKit by default is bad.
$(TOOL_NAME)_TOOL_LIBS = -lEtoileFoundation -lgnustep-gui `pkg-config --libs dbus-1`
#
# Class files
#
$(TOOL_NAME)_OBJC_FILES = $(wildcard *.m)
#
# Resource files
#
$(TOOL_NAME)_RESOURCE_FILES = \
$(filter-out Resources/CVS, $(wildcard Resources/*)) \
$(filter-out Images/CVS, $(wildcard Images/*.tiff)) \
$(filter-out SyntaxDefinitions/CVS, $(wildcard SyntaxDefinitions/*.syntax))
#
# Languages we're localized for
#
$(TOOL_NAME)_LANGUAGES = $(basename $(wildcard *.lproj))
$(TOOL_NAME)_LOCALIZED_RESOURCE_FILES = $(sort $(notdir $(wildcard *.lproj/*)))
#
# C files
#
$(TOOL_NAME)_C_FILES =
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include ../../../etoile.make
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble