diff options
author | rathnor <rathnor> | 2003-01-29 21:39:52 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-01-29 21:39:52 (GMT) |
commit | 0f5247ccce2d55d36ba823fe4cc6adcd3801c02d (patch) | |
tree | a7ce82fdfc46b3f0f9a547cdca5d545a8f6b6e3b /src/tests/Makefile | |
parent | b0d9aa11246fc23f8296d25dfc9f72310a93f614 (diff) | |
download | fluxbox_pavel-0f5247ccce2d55d36ba823fe4cc6adcd3801c02d.zip fluxbox_pavel-0f5247ccce2d55d36ba823fe4cc6adcd3801c02d.tar.bz2 |
added simple test file for layering (Simon)
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r-- | src/tests/Makefile | 34 |
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 @@ | |||
1 | CXX=g++ | 1 | CXX=g++ |
2 | CXXFLAGS= -I.. -DDEBUG -DUSE_XFT -Wall -g -O2 | 2 | CXXFLAGS= -I.. -I../FbTk -DDEBUG -DUSE_XFT -Wall -g -O2 |
3 | LIBS= | 3 | LIBS= |
4 | XFLAGS= -I/usr/X11R6/include | 4 | XFLAGS= -I/usr/X11R6/include |
5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft | 5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft |
6 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) | 6 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) |
7 | FONT_OBJ = ../BaseDisplay.o ../Font.o ../XFontImp.o ../XftFontImp.o ../XmbFontImp.o \ | 7 | FONT_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 | ||
10 | all: testStringUtil testKeys testResource testSignal | 10 | all: 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 | ||
23 | StringUtil.o: ../StringUtil.cc ../StringUtil.hh | 23 | StringUtil.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 | ||
26 | Keys.o: ../Keys.cc ../Keys.hh | 26 | Keys.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 | ||
29 | Resource.o: ../Resource.cc ../Resource.hh | 29 | Resource.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 | ||
35 | testStringUtil: StringUtiltest.o StringUtil.o | 35 | testStringUtil: 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 | |||
41 | testResource: Resourcetest.o Resource.o | 41 | testResource: 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 | ||
44 | testSignal: signaltest.cc ../SignalHandler.o | 44 | testSignal: 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 | ||
47 | testFont: testFont.cc ${FONT_OBJ} | 47 | testFont: 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 | ||
50 | run: testResource testKeys testStringUtil testFont | 50 | testLayers: testLayers.cc |
51 | ${CXX} ${CXXFLAGS} ${XLIBS} testLayers.cc ../FbTk/libFbTk.a -o testLayers | ||
52 | |||
53 | run: testLayers testResource testKeys testStringUtil testFont | ||
54 | ./testLayers | ||
51 | ./testKeys | 55 | ./testKeys |
52 | ./testStringUtil | 56 | ./testStringUtil |
53 | ./testResource | 57 | ./testResource |