| 1 |
if COMPILE_TEST |
| 2 |
|
| 3 |
AM_CXXFLAGS = $(REVENGE_CFLAGS) -I$(top_srcdir)/inc/ |
| 4 |
|
| 5 |
targets=testChart1 testGraphic1 testLayer1 testLink1 testList1 testMasterPage1 testPageSpan1 testPara1 testSpan1 testTable1 testTextbox1 |
| 6 |
noinst_PROGRAMS= $(targets) |
| 7 |
|
| 8 |
EXTRA_SRC=StringDocumentHandler.cxx StringDocumentHandler.hxx |
| 9 |
EXTRA_LDD=$(top_builddir)/src/libodfgen-@LIBODFGEN_MAJOR_VERSION@.@[email protected] \ |
| 10 |
$(REVENGE_LIBS) $(REVENGE_STREAM_LIBS) $(XML_LIBS) |
| 11 |
|
| 12 |
testChart1_DEPENDENCIES = |
| 13 |
testChart1_LDADD = $(EXTRA_LDD) |
| 14 |
testChart1_SOURCES = $(EXTRA_SRC) testChart1.cxx |
| 15 |
|
| 16 |
testGraphic1_DEPENDENCIES = |
| 17 |
testGraphic1_LDADD = $(EXTRA_LDD) |
| 18 |
testGraphic1_SOURCES = $(EXTRA_SRC) testGraphic1.cxx |
| 19 |
|
| 20 |
testLayer1_DEPENDENCIES = |
| 21 |
testLayer1_LDADD = $(EXTRA_LDD) |
| 22 |
testLayer1_SOURCES = $(EXTRA_SRC) testLayer1.cxx |
| 23 |
|
| 24 |
testLink1_DEPENDENCIES = |
| 25 |
testLink1_LDADD = $(EXTRA_LDD) |
| 26 |
testLink1_SOURCES = $(EXTRA_SRC) testLink1.cxx |
| 27 |
|
| 28 |
testList1_DEPENDENCIES = |
| 29 |
testList1_LDADD = $(EXTRA_LDD) |
| 30 |
testList1_SOURCES = $(EXTRA_SRC) testList1.cxx |
| 31 |
|
| 32 |
testMasterPage1_DEPENDENCIES = |
| 33 |
testMasterPage1_LDADD = $(EXTRA_LDD) |
| 34 |
testMasterPage1_SOURCES = $(EXTRA_SRC) testMasterPage1.cxx |
| 35 |
|
| 36 |
testPageSpan1_DEPENDENCIES = |
| 37 |
testPageSpan1_LDADD = $(EXTRA_LDD) |
| 38 |
testPageSpan1_SOURCES = $(EXTRA_SRC) testPageSpan1.cxx |
| 39 |
|
| 40 |
testPara1_DEPENDENCIES = |
| 41 |
testPara1_LDADD = $(EXTRA_LDD) |
| 42 |
testPara1_SOURCES = $(EXTRA_SRC) testParagraph1.cxx |
| 43 |
|
| 44 |
testSpan1_DEPENDENCIES = |
| 45 |
testSpan1_LDADD = $(EXTRA_LDD) |
| 46 |
testSpan1_SOURCES = $(EXTRA_SRC) testSpan1.cxx |
| 47 |
|
| 48 |
testTable1_DEPENDENCIES = |
| 49 |
testTable1_LDADD = $(EXTRA_LDD) |
| 50 |
testTable1_SOURCES = $(EXTRA_SRC) testTable1.cxx |
| 51 |
|
| 52 |
testTextbox1_DEPENDENCIES = |
| 53 |
testTextbox1_LDADD = $(EXTRA_LDD) |
| 54 |
testTextbox1_SOURCES = $(EXTRA_SRC) testTextbox1.cxx |
| 55 |
|
| 56 |
clean:: |
| 57 |
@rm -f test*.odg test*.odp test*.ods test*.odt $(targets) |
| 58 |
|
| 59 |
launch_all:: $(targets) |
| 60 |
./testGraphic1 && ./testLayer1 && ./testLink1 && ./testList1 && ./testMasterPage1 && ./testPageSpan1 && ./testPara1 && ./testSpan1 && ./testTable1 && ./testTextbox1 |
| 61 |
endif |