-# $Id: GNUmakefile 4 2004-08-20 17:04:31Z helge $
+# GNUstep makefile
+-include ../../config.make
include ../common.make
+ifneq ($(frameworks),yes)
LIBRARY_NAME = libDOM
+else
FRAMEWORK_NAME = DOM
+endif
-libDOM_HEADER_FILES_DIR = .
-libDOM_HEADER_FILES_INSTALL_DIR = /DOM
-libDOM_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
-libDOM_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
+libDOM_PCH_FILE = common.h
+DOM_PCH_FILE = common.h
LDOM_HEADER_FILES += \
DOM.h \
libDOM_HEADER_FILES = \
$(LDOM_HEADER_FILES) \
$(EDOM_HEADER_FILES) \
- EDOM.h \
DOMSaxBuilder.h \
DOMSaxHandler.h \
DOMText.h \
$(DOM_CORE_OBJC_FILES) \
$(DOM_TRAVERSAL_OBJC_FILES) \
-DOM_HEADER_FILES = $(libDOM_HEADER_FILES)
-DOM_OBJC_FILES = $(libDOM_OBJC_FILES)
+
+# building
-include GNUmakefile.preamble
+ifneq ($(frameworks),yes)
include $(GNUSTEP_MAKEFILES)/library.make
-
-ifeq ($(FOUNDATION_LIB),apple)
+else
include $(GNUSTEP_MAKEFILES)/framework.make
endif
-include GNUmakefile.postamble