arabica/test/XPath_silly/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

2005-09-08 23:41:36 +02:00
-include ../../Makefile.header
2005-11-10 11:02:45 +01:00
-include ../../Makefile.common
2005-09-08 23:41:36 +02:00
######################################
# ADDITIONAL BUILD FLAGS
INCS_DIRS += -I../..
LIBS_DIRS += -L../../bin
STATIC_LIBS +=
DYNAMIC_LIBS += -lArabica
######################################
# SOURCE FILES
XPATH_SRCS = main.cpp ../silly_string/silly_string.cpp
2005-11-10 11:02:45 +01:00
XPATH_TESTS = ../XPath/arithmetic_test.hpp \
../XPath/axis_enumerator_test.hpp \
../XPath/execute_test.hpp \
../XPath/logical_test.hpp \
../XPath/node_test_test.hpp \
../XPath/parse_test.hpp \
../XPath/relational_test.hpp \
../XPath/step_test.hpp \
../XPath/value_test.hpp \
../XPath/xpath_test_suite.hpp
2005-09-08 23:41:36 +02:00
XPATH_OBJS = $(patsubst %.cpp,%.o,$(XPATH_SRCS))
######################################
# High level rules
all : xpath_test_ss$(EXESUFFIX)
2005-09-08 23:41:36 +02:00
xpath_test_ss$(EXESUFFIX) : $(XPATH_OBJS) $(CPPUNIT_OBJS) $(XPATH_TESTS)
2005-11-10 11:02:45 +01:00
$(LD) $(LDFLAGS) -o $@ $(XPATH_OBJS) $(CPPUNIT_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS)
$(COPY) xpath_test_ss$(EXESUFFIX) ../../bin
2005-09-08 23:41:36 +02:00
######################
# Compile rules
####
-include ../../Makefile.rules
######################
# Cleaning up
clean :
2005-11-10 11:02:45 +01:00
$(REMOVE) $(CPPUNIT_OBJS) \
2005-09-08 23:41:36 +02:00
$(XPATH_OBJS) \
2005-11-10 11:02:45 +01:00
xpath_test_ss$(EXESUFFIX) \
../../bin/xpath_test_ss$(EXESUFFIX)
2005-09-08 23:41:36 +02:00