]> err.no Git - sope/blob - sope-appserver/WEPrototype/GNUmakefile
added --frameworks option to configure
[sope] / sope-appserver / WEPrototype / GNUmakefile
1 # GNUstep makefile
2
3 -include ../../config.make
4 include $(GNUSTEP_MAKEFILES)/common.make
5 include ../Version
6 include ./Version
7
8 ifneq ($(frameworks),yes)
9 LIBRARY_NAME   = libWEPrototype
10 else
11 FRAMEWORK_NAME = WEPrototype
12 endif
13
14
15 # TODO: can we save the .wox with frameworks?
16 BUNDLE_NAME      = WEPrototype
17 BUNDLE_EXTENSION = .wox
18 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/WOxElemBuilders-$(MAJOR_VERSION).$(MINOR_VERSION)/
19
20 FHS_MANPAGES += doc/*.3
21
22 libWEPrototype_HEADER_FILES_DIR         = .
23 libWEPrototype_HEADER_FILES_INSTALL_DIR = /WEPrototype
24
25 libWEPrototype_HEADER_FILES =
26
27 libWEPrototype_OBJC_FILES = \
28         WEPrototypeScriptAction.m       \
29         WEPrototypeScript.m             \
30         WELiveLink.m                    \
31
32 WEPrototype_OBJC_FILES      = WEPrototypeBundle.m
33 WEPrototype_PRINCIPAL_CLASS = WEPrototypeBundle
34
35 # framework support
36
37 WEPrototype_HEADER_FILES_DIR = WEPrototype
38 WEPrototype_HEADER_FILES = $(libWEPrototype_HEADER_FILES)
39 WEPrototype_OBJC_FILES   = $(libWEPrototype_OBJC_FILES)
40 WEPrototype_SUBPROJECTS  = $(libWEPrototype_SUBPROJECTS)
41
42
43 # building
44
45 -include GNUmakefile.preamble
46 ifneq ($(frameworks),yes)
47 include $(GNUSTEP_MAKEFILES)/library.make
48 else
49 include $(GNUSTEP_MAKEFILES)/framework.make
50 endif
51 include $(GNUSTEP_MAKEFILES)/bundle.make
52 -include GNUmakefile.postamble
53 -include fhs.make