arabica/test/SAX2DOM/Makefile
craigp98072 20191d188d added a couple required tyename's in StringAdapter.h and test/XPath/execute_test.hpp
added Makefile.common for CPPUNIT* definitions (and future maintenance)
added include Makefile.common in Makefile.header*
cleaned a couple test Makefiles; everything now compiles under linux gcc4.0.2
2005-10-24 03:33:52 +00:00

40 lines
1.1 KiB
Makefile

-include ../../Makefile.header
######################################
# ADDITIONAL BUILD FLAGS
INCS_DIRS += -I../..
LIBS_DIRS += -L../../bin
STATIC_LIBS +=
DYNAMIC_LIBS += -lArabica
######################################
# SOURCE FILES
SAXDOM_SRCS = main.cpp test_Attribute.cpp test_Document.cpp test_DocumentFragment.cpp test_DocumentType.cpp test_DOMImplementation.cpp test_Element.cpp test_ProcessingInstruction.cpp test_Siblings.cpp test_SAX.cpp test_CDATA.cpp test_CharacterData.cpp test_Text.cpp
SAXDOM_HDRS = $(patsubst %.cpp,%.h,$(SAXDOM_SRCS))
SAXDOM_OBJS = $(patsubst %.cpp,%.o,$(SAXDOM_SRCS))
######################################
# High level rules
all : sax2dom_test
sax2dom_test : $(SAXDOM_OBJS) $(CPPUNIT_OBJS)
$(LD) $(LDFLAGS) -o $@ $(SAXDOM_OBJS) $(CPPUNIT_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS)
$(COPY) sax2dom_test$(EXESUFFIX) ../../bin
######################
# Compile rules
####
-include ../../Makefile.rules
######################
# Cleaning up
clean :
$(REMOVE) $(CPPUNIT_OBJS) \
$(SAXDOM_OBJS) \
sax2dom_test$(EXESUFFIX) \
../../bin/sax2dom_test$(EXESUFFIX)
# End of File