]> icculus.org git repositories - mikachu/openbox.git/blob - otk/Makefile.am
build otk_test
[mikachu/openbox.git] / otk / Makefile.am
1 CPPFLAGS=$(XFT_CFLAGS) @CPPFLAGS@
2
3 INCLUDES= -I../src
4
5 noinst_LIBRARIES=libotk.a
6
7 libotk_a_SOURCES= color.cc display.cc font.cc gccache.cc image.cc property.cc \
8                   imagecontrol.cc rect.cc screeninfo.cc texture.cc timer.cc \
9                   timerqueuemanager.cc style.cc configuration.cc util.cc \
10                   widget.cc focuswidget.cc button.cc
11
12 MAINTAINERCLEANFILES= Makefile.in
13
14 distclean-local:
15         rm -f *\~ *.orig *.rej .\#*
16
17 otk_test:
18         $(CXX) $(CPPFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o otk_test otk_test.cc $(XFT_LIBS) ./libotk.a 
19
20 # local dependencies
21 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh
22 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
23  screeninfo.hh rect.hh
24 rect.o: rect.cc rect.hh
25 configuration.o: configuration.cc configuration.hh
26 style.o: style.cc style.hh
27 util.o: util.cc util.hh
28 widget.o: widget.cc widget.hh
29 focuswidget.o: focuswidget.cc focuswidget.hh
30 button.o: button.cc button.hh