3 -include ../../config.make
7 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
9 ifneq ($(frameworks),yes)
10 LIBRARY_NAME = libNGObjWeb
12 FRAMEWORK_NAME = NGObjWeb
16 ifneq ($(frameworks),yes)
17 ifeq ($(FHS_INSTALL_ROOT),)
18 RESOURCES_DIR = $(GNUSTEP_RESOURCES)/NGObjWeb
20 RESOURCES_DIR = $(FHS_INSTALL_ROOT)/share/sope-$(MAJOR_VERSION).$(MINOR_VERSION)/ngobjweb
24 libNGObjWeb_PCH_FILE = common.h
25 libNGObjWeb_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
26 libNGObjWeb_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
28 libNGObjWeb_SUBPROJECTS = \
37 libNGObjWeb_HEADER_FILES_DIR = NGObjWeb
38 libNGObjWeb_HEADER_FILES_INSTALL_DIR = /NGObjWeb
40 libNGObjWeb_RESOURCES = \
46 sope-ngobjweb-defaults.5 \
49 libNGObjWeb_HEADER_FILES = \
53 OWViewRequestHandler.h \
55 WEClientCapabilities.h \
82 WOProxyRequestHandler.h \
83 WOPageGenerationContext.h \
84 WOElementTrackingContext.h \
85 WOComponentDefinition.h \
86 NSString+JavaScriptEscaping.h \
88 NGObjWebCore_OBJC_FILES = \
90 WOApplication+defaults.m \
95 WOComponentDefinition.m \
101 WOResourceManager.m \
106 WOStatisticsStore.m \
110 libNGObjWeb_OBJC_FILES = \
111 $(NGObjWebCore_OBJC_FILES) \
114 OWViewRequestHandler.m \
115 OWResourceManager.m \
117 UnixSignalHandler.m \
118 WEClientCapabilities.m \
120 WOApplicationMain.m \
121 WOChildComponentReference.m \
122 WOComponentRequestHandler.m \
124 WOCoreApplication+Bundle.m \
126 WODirectActionRequestHandler.m \
129 WOFileSessionStore.m \
134 WOMessage+Validation.m \
135 WOPageRequestHandler.m \
136 WOProxyRequestHandler.m \
138 WOResourceRequestHandler.m \
139 WOServerSessionStore.m \
140 WOSimpleHTTPParser.m \
142 NSString+JavaScriptEscaping.m \
144 ifeq ($(FOUNDATION_LIB),apple)
145 libNGObjWeb_OBJC_FILES += WOWatchDogApplicationMainOSX.m
147 libNGObjWeb_OBJC_FILES += WOWatchDogApplicationMain.m
150 ifeq ($(FOUNDATION_LIB),fd)
151 NGObjWebCore_OBJC_FILES += WOServerDefaults.m
157 NGObjWeb_PCH_FILE = $(libNGObjWeb_PCH_FILE)
158 NGObjWeb_HEADER_FILES_DIR = NGObjWeb
159 NGObjWeb_HEADER_FILES = $(libNGObjWeb_HEADER_FILES)
160 NGObjWeb_OBJC_FILES = $(libNGObjWeb_OBJC_FILES)
161 NGObjWeb_SUBPROJECTS = $(libNGObjWeb_SUBPROJECTS)
162 NGObjWeb_RESOURCE_FILES = $(libNGObjWeb_RESOURCES)
164 # ----- SoCore product for SOPE core registrations
167 BUNDLE_EXTENSION = .sxp
168 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SoProducts-$(MAJOR_VERSION).$(MINOR_VERSION)/
170 SoCore_PCH_FILE = common.h
171 SoCore_OBJC_FILES = SoCoreProduct.m
172 SoCore_RESOURCE_FILES = SoObjects/product.plist Version
173 SoCore_PRINCIPAL_CLASS = SoCoreProduct
176 # ----- NGObjWeb tools
180 wod_PCH_FILE += common.h
181 wod_OBJC_FILES += wod.m $(NGObjWebCore_OBJC_FILES)
182 ifeq ($(FOUNDATION_LIB),gnu)
183 wod_OBJC_FILES += UnixSignalHandler.m
185 wod_SUBPROJECTS = Templates Associations
190 -include GNUmakefile.preamble
191 ifneq ($(frameworks),yes)
192 include $(GNUSTEP_MAKEFILES)/library.make
194 include $(GNUSTEP_MAKEFILES)/framework.make
196 include $(GNUSTEP_MAKEFILES)/bundle.make
197 include $(GNUSTEP_MAKEFILES)/tool.make
198 -include GNUmakefile.postamble