3 -include ../../config.make
4 include $(GNUSTEP_MAKEFILES)/common.make
8 # TODO: clash between bundle and libname!
9 ifneq ($(frameworks),yes)
10 LIBRARY_NAME = libSoOFS
12 FRAMEWORK_NAME = SoOFS
16 libSoOFS_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
17 libSoOFS_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
19 libSoOFS_HEADER_FILES_DIR = .
20 libSoOFS_HEADER_FILES_INSTALL_DIR = /SoOFS
22 libSoOFS_HEADER_FILES = \
26 OFSFactoryRegistry.h \
31 OFSPropertyListObject.h \
32 OFSResourceManager.h \
34 OFSWebMethodRenderer.h \
39 OFSFolderDataSource.h \
41 libSoOFS_OBJC_FILES = \
44 OFSFactoryRegistry.m \
49 OFSFolderClassDescription.m \
51 OFSPropertyListObject.m \
52 OFSResourceManager.m \
54 OFSWebMethodRenderer.m \
59 OFSFolderDataSource.m \
62 ifeq ($(frameworks),yes)
65 SoOFS_HEADER_FILES = $(libSoOFS_HEADER_FILES)
66 SoOFS_OBJC_FILES = $(libSoOFS_OBJC_FILES) SoOFSProduct.m
67 SoOFS_RESOURCE_FILES = product.plist Version
68 SoOFS_PRINCIPAL_CLASS = SoOFSProduct
72 # ----- SoCore product for SOPE core registrations
75 BUNDLE_EXTENSION = .sxp
76 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SoProducts-$(MAJOR_VERSION).$(MINOR_VERSION)/
78 SoOFS_OBJC_FILES = SoOFSProduct.m
79 SoOFS_RESOURCE_FILES = product.plist Version
80 SoOFS_PRINCIPAL_CLASS = SoOFSProduct
85 # ----- NGObjWeb tools
87 SOPED_NAME=sope-$(MAJOR_VERSION).$(MINOR_VERSION)
89 TOOL_NAME = $(SOPED_NAME)
91 $(SOPED_NAME)_OBJC_FILES = sope.m
94 -include GNUmakefile.preamble
95 ifneq ($(frameworks),yes)
96 include $(GNUSTEP_MAKEFILES)/library.make
97 include $(GNUSTEP_MAKEFILES)/bundle.make
99 include $(GNUSTEP_MAKEFILES)/framework.make
101 include $(GNUSTEP_MAKEFILES)/tool.make
102 -include GNUmakefile.postamble