arabica/test/DOM/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

2005-10-26 23:09:09 +02:00
-include ../../Makefile.header
2005-10-31 13:07:30 +01:00
-include ../../Makefile.common
2005-10-26 23:09:09 +02:00
######################################
# ADDITIONAL BUILD FLAGS
INCS_DIRS += -I../..
LIBS_DIRS += -L../../bin
STATIC_LIBS +=
DYNAMIC_LIBS += -lArabica
######################################
# SOURCE FILES
DOMTEST_SRCS = main.cpp
DOMTEST_OBJS = $(patsubst %.cpp,%.o,$(DOMTEST_SRCS))
2005-10-31 13:07:30 +01:00
DOMTEST_TESTS = dom_test_suite.hpp \
test_Attribute.h \
test_CDATA.hpp \
test_CharacterData.hpp \
test_DOMImplementation.h \
test_Document.h \
test_DocumentFragment.h \
test_DocumentType.h \
test_Element.h \
test_ProcessingInstruction.h \
test_Siblings.h \
test_Text.hpp
2005-10-26 23:09:09 +02:00
######################################
# High level rules
all : dom_test$(EXESUFFIX)
2005-10-26 23:09:09 +02:00
dom_test$(EXESUFFIX) : $(DOMTEST_OBJS) $(CPPUNIT_OBJS)
2005-10-26 23:09:09 +02:00
$(LD) $(LDFLAGS) -o $@ $(DOMTEST_OBJS) $(CPPUNIT_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS)
2005-10-31 13:07:30 +01:00
$(COPY) dom_test$(EXESUFFIX) ../../bin
2005-10-26 23:09:09 +02:00
######################
# Compile rules
####
-include ../../Makefile.rules
######################
# Cleaning up
clean :
$(REMOVE) $(CPPUNIT_OBJS) \
$(DOMTEST_OBJS) \
dom_test$(EXESUFFIX) \
../../bin/dom_test$(EXESUFFIX)
# End of File