-
Notifications
You must be signed in to change notification settings - Fork 1
/
GNUmakefile
44 lines (32 loc) · 917 Bytes
/
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
PACKAGE_NAME = SystemConfig
# FIXME: Probably better to declare ETOILE_X11 variable in etoile.make
export ETOILE_X11 ?= yes
export LIBACPI ?= no
include $(GNUSTEP_MAKEFILES)/common.make
FRAMEWORK_NAME = SystemConfig
SystemConfig_VERSION = 0.2
SystemConfig_SUBPROJECTS = Source
SystemConfig_HEADER_FILES_DIR = Headers
SystemConfig_HEADER_FILES = \
SCConfig.h \
SCKeyboard.h \
SCMachineInfo.h\
SCMonitor.h \
SCMouse.h \
SCPower.h \
SCSound.h
SystemConfig_LIBRARIES_DEPEND_UPON = $(FND_LIBS) $(OBJC_LIBS) $(SYSTEM_LIBS)
ifeq ($(ETOILE_X11), yes)
SystemConfig_LIBRARIES_DEPEND_UPON += -lX11
SystemConfig_HEADER_FILES += X11Keyboard.h
endif
ifeq ($(LIBACPI), yes)
SystemConfig_LIBRARIES_DEPEND_UPON += -lacpi
endif
include $(GNUSTEP_MAKEFILES)/aggregate.make
include ../../etoile.make
ifeq ($(test), yes)
include $(GNUSTEP_MAKEFILES)/bundle.make
else
include $(GNUSTEP_MAKEFILES)/framework.make
endif