]> icculus.org git repositories - dana/openbox.git/blob - otk/Makefile.am
rm all the bb shit
[dana/openbox.git] / otk / Makefile.am
1 buttonsdir = $(pkgdatadir)/buttons
2
3 CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \
4 -DBUTTONSDIR=\"$(buttonsdir)\"
5
6 INCLUDES= -I../src
7
8 #noinst_LIBRARIES=libotk.a
9 noinst_LTLIBRARIES=libotk.la
10
11 libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \
12                   renderstyle.cc rendercolor.cc  \
13                   display.cc font.cc \
14                   property.cc rect.cc screeninfo.cc \
15                   timer.cc \
16                   configuration.cc util.cc widget.cc focuswidget.cc \
17                   button.cc eventhandler.cc eventdispatcher.cc ustring.cc \
18                   label.cc focuslabel.cc application.cc appwidget.cc
19 #                  otk_wrap.cc
20
21 libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS) @LIBS@
22
23 MAINTAINERCLEANFILES= Makefile.in
24
25 distclean-local:
26         rm -f *\~ *.orig *.rej .\#*
27
28 otk_test: libotk.la otk_test.cc
29         $(CXX) $(CXXFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o otk_test otk_test.cc $(XFT_LIBS) .libs/libotk.al @LIBS@
30
31 rendertest: libotk.la rendertest.cc
32         $(CXX) $(CXXFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o $@ rendertest.cc $(XFT_LIBS) .libs/libotk.al @LIBS@
33
34 #otk.i: $(wildcard *.hh)
35 #       touch $@
36
37 #otk_wrap.cc: otk.i
38 #       swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -o $@ $<
39
40 # local dependencies
41 application.o: application.cc application.hh eventdispatcher.hh \
42  eventhandler.hh display.hh configuration.hh \
43  timer.hh image.hh color.hh screeninfo.hh rect.hh \
44  point.hh style.hh font.hh texture.hh util.hh widget.hh
45 appwidget.o: appwidget.cc appwidget.hh widget.hh rect.hh point.hh \
46  texture.hh color.hh util.hh style.hh font.hh image.hh screeninfo.hh \
47  timer.hh configuration.hh eventdispatcher.hh eventhandler.hh \
48  application.hh display.hh 
49 button.o: button.cc button.hh focuslabel.hh focuswidget.hh widget.hh \
50  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
51  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
52  eventhandler.hh application.hh display.hh 
53 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh point.hh
54 configuration.o: configuration.cc configuration.hh util.hh
55 eventdispatcher.o: eventdispatcher.cc eventdispatcher.hh \
56  eventhandler.hh display.hh
57 eventhandler.o: eventhandler.cc eventhandler.hh
58 focuslabel.o: focuslabel.cc focuslabel.hh focuswidget.hh widget.hh \
59  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
60  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
61  eventhandler.hh application.hh display.hh
62 focuswidget.o: focuswidget.cc focuswidget.hh widget.hh rect.hh \
63  point.hh texture.hh color.hh util.hh style.hh font.hh image.hh \
64  screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
65  eventhandler.hh application.hh display.hh 
66 font.o: font.cc font.hh util.hh display.hh color.hh screeninfo.hh \
67  rect.hh point.hh
68 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
69  screeninfo.hh rect.hh point.hh
70 image.o: image.cc display.hh gccache.hh color.hh image.hh \
71  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
72 imagecontrol.o: imagecontrol.cc display.hh color.hh image.hh \
73  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
74 label.o: label.cc label.hh widget.hh rect.hh point.hh texture.hh \
75  color.hh util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
76  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
77  display.hh 
78 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
79  eventhandler.hh display.hh configuration.hh \
80  timer.hh image.hh color.hh screeninfo.hh rect.hh \
81  point.hh style.hh font.hh texture.hh util.hh focuswidget.hh widget.hh \
82  appwidget.hh button.hh focuslabel.hh
83 property.o: property.cc property.hh screeninfo.hh rect.hh point.hh \
84  display.hh
85 rect.o: rect.cc rect.hh point.hh
86 screeninfo.o: screeninfo.cc screeninfo.hh rect.hh point.hh display.hh \
87  util.hh
88 style.o: style.cc display.hh util.hh style.hh color.hh font.hh \
89  texture.hh image.hh screeninfo.hh rect.hh point.hh timer.hh \
90  configuration.hh
91 texture.o: texture.cc texture.hh color.hh util.hh display.hh image.hh \
92  screeninfo.hh rect.hh point.hh timer.hh
93 timer.o: timer.cc timer.hh
94 util.o: util.cc util.hh
95 widget.o: widget.cc widget.hh rect.hh point.hh texture.hh color.hh \
96  util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
97  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
98  display.hh assassin.hh