]> err.no Git - sope/blobdiff - sope-core/NGExtensions/GNUmakefile
Drop apache 1 build-dependency
[sope] / sope-core / NGExtensions / GNUmakefile
index 19f1e3d85bdeaf0ff49e1593ed84c4df0e6a5445..09fadc98869427a63c2b9f05a8f3efeee8dbdad8 100644 (file)
@@ -3,8 +3,13 @@
 -include ../../config.make
 include ../common.make
 
+ifneq ($(frameworks),yes)
 LIBRARY_NAME = libNGExtensions
+else
+FRAMEWORK_NAME = NGExtensions
+endif
 
+libNGExtensions_PCH_FILE = common.h
 libNGExtensions_DLL_DEF = libNGExtensions.def
 libNGExtensions_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
 libNGExtensions_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
@@ -139,11 +144,23 @@ libNGExtensions_HEADER_FILES += \
        $(NGRuleEngine_HEADER_FILES)    \
        $(NGLogging_HEADER_FILES)
 
-ADDITIONAL_INCLUDE_DIRS += \
-       -I./NGExtensions/       \
-       -I./FdExt.subproj/ -I./EOExt.subproj/
+
+# framework support
+
+NGExtensions_PCH_FILE         = $(libNGExtensions_PCH_FILE)
+NGExtensions_HEADER_FILES_DIR = NGExtensions
+NGExtensions_HEADER_FILES     = $(libNGExtensions_HEADER_FILES)
+NGExtensions_OBJC_FILES       = $(libNGExtensions_OBJC_FILES)
+NGExtensions_SUBPROJECTS      = $(libNGExtensions_SUBPROJECTS)
+
+
+# building
 
 -include GNUmakefile.preamble
+ifneq ($(frameworks),yes)
 include $(GNUSTEP_MAKEFILES)/library.make
+else
+include $(GNUSTEP_MAKEFILES)/framework.make
+endif
 -include GNUmakefile.postamble
 -include fhs.make