]> err.no Git - sope/blob - sope-appserver/NGObjWeb/GNUmakefile
fixed OGo bug #888
[sope] / sope-appserver / NGObjWeb / GNUmakefile
1 # $Id: GNUmakefile 4 2004-08-20 17:04:31Z helge $
2
3 include ../common.make
4 include ./Version
5
6 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
7
8 LIBRARY_NAME  = libNGObjWeb
9 ifeq ($(FHS_INSTALL_ROOT),)
10 RESOURCES_DIR = $(GNUSTEP_RESOURCES)/NGObjWeb
11 else
12 RESOURCES_DIR = $(FHS_INSTALL_ROOT)/share/sope-4.3/ngobjweb
13 endif
14
15 libNGObjWeb_CPPFLAGS += -pipe -DCOMPILING_NGOBJWEB=1
16
17 libNGObjWeb_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
18 libNGObjWeb_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
19
20 libNGObjWeb_SUBPROJECTS = \
21         NGHttp          \
22         Associations    \
23         Templates       \
24         DynamicElements \
25         WOHttpAdaptor   \
26         SoObjects       \
27         WebDAV          \
28
29 libNGObjWeb_HEADER_FILES_DIR         = NGObjWeb
30 libNGObjWeb_HEADER_FILES_INSTALL_DIR = /NGObjWeb
31
32 libNGObjWeb_RESOURCES = \
33         Defaults.plist          \
34         Languages.plist         \
35         DAVPropMap.plist        \
36
37 libNGObjWeb_HEADER_FILES = \
38         NGObjWebDecls.h                 \
39         NGObjWeb.h                      \
40         OWResponder.h                   \
41         OWViewRequestHandler.h          \
42         OWResourceManager.h             \
43         WEClientCapabilities.h          \
44         WOActionResults.h               \
45         WOAdaptor.h                     \
46         WOApplication.h                 \
47         WOCoreApplication.h             \
48         WOAssociation.h                 \
49         WOComponent.h                   \
50         WOContext.h                     \
51         WOCookie.h                      \
52         WODirectAction.h                \
53         WODisplayGroup.h                \
54         WODynamicElement.h              \
55         WOElement.h                     \
56         WOHTTPConnection.h              \
57         WOMailDelivery.h                \
58         WOMessage.h                     \
59         WORequest.h                     \
60         WORequestHandler.h              \
61         WOResourceManager.h             \
62         WOResponse.h                    \
63         WOSession.h                     \
64         WOSessionStore.h                \
65         WOStatisticsStore.h             \
66         WOTemplateBuilder.h             \
67         WOxElemBuilder.h                \
68         WOTemplate.h                    \
69         WOComponentScript.h             \
70         WOProxyRequestHandler.h         \
71         WOPageGenerationContext.h       \
72         WOElementTrackingContext.h      \
73         WOComponentDefinition.h         \
74
75 NGObjWebCore_OBJC_FILES = \
76         NSObject+WO.m                   \
77         WOApplication+defaults.m        \
78         WOApplication.m                 \
79         WOCoreApplication.m             \
80         WOComponent.m                   \
81         WOComponent+Sync.m              \
82         WOComponentDefinition.m         \
83         WOComponentFault.m              \
84         WOContext.m                     \
85         WOElement.m                     \
86         WOMessage.m                     \
87         WORequest.m                     \
88         WOResourceManager.m             \
89         WOResponse.m                    \
90         WORunLoop.m                     \
91         WOSession.m                     \
92         WOSessionStore.m                \
93         WOStatisticsStore.m             \
94         _WOStringTable.m                \
95         WOElementID.m                   \
96
97 libNGObjWeb_OBJC_FILES = \
98         $(NGObjWebCore_OBJC_FILES)      \
99         NGHttp+WO.m                     \
100         NGObjWeb.m                      \
101         OWViewRequestHandler.m          \
102         OWResourceManager.m             \
103         SNSConnection.m                 \
104         UnixSignalHandler.m             \
105         WEClientCapabilities.m          \
106         WOAdaptor.m                     \
107         WOApplicationMain.m             \
108         WOChildComponentReference.m     \
109         WOComponent+JS.m                \
110         WOComponentRequestHandler.m     \
111         WOCookie.m                      \
112         WOCoreApplication+Bundle.m      \
113         WODirectAction.m                \
114         WODirectActionRequestHandler.m  \
115         WODisplayGroup.m                \
116         WODynamicElement.m              \
117         WOFileSessionStore.m            \
118         WOHTTPConnection.m              \
119         WOHTTPURLHandle.m               \
120         WOMailDelivery.m                \
121         WOMessage+XML.m                 \
122         WOMessage+Validation.m          \
123         WOPageRequestHandler.m          \
124         WOProxyRequestHandler.m         \
125         WORequestHandler.m              \
126         WOResourceRequestHandler.m      \
127         WOServerSessionStore.m          \
128         WOSession+JS.m                  \
129         WOSimpleHTTPParser.m            \
130         WOStats.m                       \
131         WOWatchDogApplicationMain.m     \
132
133 # ----- SoCore product for SOPE core registrations
134
135 BUNDLE_NAME      = SoCore
136 BUNDLE_EXTENSION = .sxp
137 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SoProducts-4.3/
138
139 SoCore_OBJC_FILES      = SoCoreProduct.m
140 SoCore_RESOURCE_FILES  = SoObjects/product.plist Version
141 SoCore_PRINCIPAL_CLASS = SoCoreProduct
142
143 # ----- NGObjWeb tools
144
145 TOOL_NAME = wod
146
147 wod_OBJC_FILES  += wod.m $(NGObjWebCore_OBJC_FILES)
148 ifeq ($(FOUNDATION_LIB),gnu)
149 wod_OBJC_FILES  += UnixSignalHandler.m
150 endif
151 wod_SUBPROJECTS = Templates Associations
152
153 -include GNUmakefile.preamble
154 include $(GNUSTEP_MAKEFILES)/library.make
155 include $(GNUSTEP_MAKEFILES)/bundle.make
156 include $(GNUSTEP_MAKEFILES)/tool.make
157 -include GNUmakefile.postamble
158 -include fhs.make