aboutsummaryrefslogtreecommitdiff
path: root/src/tests/Makefile
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-01-29 21:39:52 (GMT)
committerrathnor <rathnor>2003-01-29 21:39:52 (GMT)
commit0f5247ccce2d55d36ba823fe4cc6adcd3801c02d (patch)
treea7ce82fdfc46b3f0f9a547cdca5d545a8f6b6e3b /src/tests/Makefile
parentb0d9aa11246fc23f8296d25dfc9f72310a93f614 (diff)
downloadfluxbox_paul-0f5247ccce2d55d36ba823fe4cc6adcd3801c02d.zip
fluxbox_paul-0f5247ccce2d55d36ba823fe4cc6adcd3801c02d.tar.bz2
added simple test file for layering (Simon)
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r--src/tests/Makefile34
1 files changed, 19 insertions, 15 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile
index 4e1d80c..a6cc02f 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -1,36 +1,36 @@
1CXX=g++ 1CXX=g++
2CXXFLAGS= -I.. -DDEBUG -DUSE_XFT -Wall -g -O2 2CXXFLAGS= -I.. -I../FbTk -DDEBUG -DUSE_XFT -Wall -g -O2
3LIBS= 3LIBS=
4XFLAGS= -I/usr/X11R6/include 4XFLAGS= -I/usr/X11R6/include
5XLIBS= -L/usr/X11R6/lib -lX11 -lXft 5XLIBS= -L/usr/X11R6/lib -lX11 -lXft
6COMPILEFILE=$(CXX) -c $(CXXFLAGS) 6COMPILEFILE=$(CXX) -c $(CXXFLAGS)
7FONT_OBJ = ../BaseDisplay.o ../Font.o ../XFontImp.o ../XftFontImp.o ../XmbFontImp.o \ 7FONT_OBJ = ../BaseDisplay.o ../FbTk/Font.o ../FbTk/XFontImp.o ../FbTk/XftFontImp.o ../FbTk/XmbFontImp.o \
8 ../Timer.o ../StringUtil.o ../i18n.o 8 ../FbTk/Timer.o ../StringUtil.o ../i18n.o
9 9
10all: testStringUtil testKeys testResource testSignal 10all: testLayers testStringUtil testKeys testResource testSignal
11 11
12.cc.o: 12.cc.o:
13 $(CXX) -c $(CXXFLAGS) $< -o $@ 13 $(CXX) -c $(CXXFLAGS) $< -o $@
14
15../XftFontImp.o: ../XftFontImp.hh ../XftFontImp.cc
16 14
17../XmbFontImp.o: ../XmbFontImp.hh ../XmbFontImp.cc 15../FbTk/XftFontImp.o: ../FbTk/XftFontImp.hh ../FbTk/XftFontImp.cc
18 16
19../XFontImp.o: ../XFontImp.hh ../XFontImp.cc 17../FbTk/XmbFontImp.o: ../FbTk/XmbFontImp.hh ../FbTk/XmbFontImp.cc
20 18
21../Font.o: ../XFontImp.hh ../XftFontImp.hh ../XmbFontImp.hh ../Font.hh ../Font.cc 19../FbTk/XFontImp.o: ../FbTk/XFontImp.hh ../FbTk/XFontImp.cc
20
21../FbTk/Font.o: ../FbTk/XFontImp.hh ../FbTk/XftFontImp.hh ../FbTk/XmbFontImp.hh ../FbTk/Font.hh ../FbTk/Font.cc
22 22
23StringUtil.o: ../StringUtil.cc ../StringUtil.hh 23StringUtil.o: ../StringUtil.cc ../StringUtil.hh
24 $(CXX) -c $(CXXFLAGS) ../StringUtil.cc -o StringUtil.o 24 $(CXX) -c $(CXXFLAGS) ../StringUtil.cc -o StringUtil.o
25 25
26Keys.o: ../Keys.cc ../Keys.hh 26Keys.o: ../Keys.cc ../Keys.hh
27 $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Keys.cc -o Keys.o 27 $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Keys.cc -o Keys.o
28 28
29Resource.o: ../Resource.cc ../Resource.hh 29Resource.o: ../Resource.cc ../Resource.hh
30 $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Resource.cc -o Resource.o 30 $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Resource.cc -o Resource.o
31 31
32../SignalHandler.o: 32../FbTk/SignalHandler.o:
33 ${COMPILEFILE} ../SignalHandler.cc -o ../SignalHandler.o 33 ${COMPILEFILE} ../FbTk/SignalHandler.cc -o ../FbTk/SignalHandler.o
34 34
35testStringUtil: StringUtiltest.o StringUtil.o 35testStringUtil: StringUtiltest.o StringUtil.o
36 $(CXX) $(LIBS) StringUtiltest.o StringUtil.o -o testStringUtil 36 $(CXX) $(LIBS) StringUtiltest.o StringUtil.o -o testStringUtil
@@ -41,13 +41,17 @@ testKeys: Keys.o testKeys.o StringUtil.o
41testResource: Resourcetest.o Resource.o 41testResource: Resourcetest.o Resource.o
42 ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource 42 ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource
43 43
44testSignal: signaltest.cc ../SignalHandler.o 44testSignal: signaltest.cc ../FbTk/SignalHandler.o
45 ${CXX} ${LIBS} signaltest.cc ../SignalHandler.o -o testSignal 45 ${CXX} ${LIBS} signaltest.cc ../FbTk/SignalHandler.o -o testSignal
46 46
47testFont: testFont.cc ${FONT_OBJ} 47testFont: testFont.cc ${FONT_OBJ}
48 ${CXX} ${CXXFLAGS} ${XLIBS} testFont.cc ${FONT_OBJ} -o testFont 48 ${CXX} ${CXXFLAGS} ${XLIBS} testFont.cc ${FONT_OBJ} -o testFont
49 49
50run: testResource testKeys testStringUtil testFont 50testLayers: testLayers.cc
51 ${CXX} ${CXXFLAGS} ${XLIBS} testLayers.cc ../FbTk/libFbTk.a -o testLayers
52
53run: testLayers testResource testKeys testStringUtil testFont
54 ./testLayers
51 ./testKeys 55 ./testKeys
52 ./testStringUtil 56 ./testStringUtil
53 ./testResource 57 ./testResource