]> icculus.org git repositories - dana/openbox.git/blob - otk/Makefile.am
wrap otk with swig/python
[dana/openbox.git] / otk / Makefile.am
1 CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_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 \
8                   property.cc imagecontrol.cc rect.cc screeninfo.cc \
9                   texture.cc timer.cc timerqueuemanager.cc style.cc \
10                   configuration.cc util.cc widget.cc focuswidget.cc \
11                   button.cc eventhandler.cc eventdispatcher.cc \
12                   label.cc focuslabel.cc application.cc appwidget.cc \
13                   otk_wrap.cc
14
15 #libotk_a_LDFLAGS = $(PYTHON_LDFLAGS)
16
17 MAINTAINERCLEANFILES= Makefile.in
18
19 distclean-local:
20         rm -f *\~ *.orig *.rej .\#*
21
22 otk_test: libotk.a otk_test.cc
23         $(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 
24
25 otk.i: $(wildcard *.hh)
26         touch $@
27
28 otk_wrap.cc: otk.i
29         swig -python -c++ -nodefault -o $@ $<
30
31 # local dependencies
32 application.o: application.cc application.hh eventdispatcher.hh \
33  eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
34  timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
35  point.hh style.hh font.hh texture.hh util.hh widget.hh
36 appwidget.o: appwidget.cc appwidget.hh widget.hh rect.hh point.hh \
37  texture.hh color.hh util.hh style.hh font.hh image.hh screeninfo.hh \
38  timer.hh configuration.hh eventdispatcher.hh eventhandler.hh \
39  application.hh display.hh timerqueuemanager.hh timerqueue.hh
40 button.o: button.cc button.hh focuslabel.hh focuswidget.hh widget.hh \
41  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
42  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
43  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
44  timerqueue.hh
45 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh point.hh
46 configuration.o: configuration.cc configuration.hh util.hh
47 eventdispatcher.o: eventdispatcher.cc eventdispatcher.hh \
48  eventhandler.hh display.hh
49 eventhandler.o: eventhandler.cc eventhandler.hh
50 focuslabel.o: focuslabel.cc focuslabel.hh focuswidget.hh widget.hh \
51  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
52  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
53  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
54  timerqueue.hh
55 focuswidget.o: focuswidget.cc focuswidget.hh widget.hh rect.hh \
56  point.hh texture.hh color.hh util.hh style.hh font.hh image.hh \
57  screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
58  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
59  timerqueue.hh
60 font.o: font.cc font.hh util.hh display.hh color.hh screeninfo.hh \
61  rect.hh point.hh
62 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
63  screeninfo.hh rect.hh point.hh
64 image.o: image.cc display.hh gccache.hh color.hh image.hh \
65  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
66 imagecontrol.o: imagecontrol.cc display.hh color.hh image.hh \
67  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
68 label.o: label.cc label.hh widget.hh rect.hh point.hh texture.hh \
69  color.hh util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
70  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
71  display.hh timerqueuemanager.hh timerqueue.hh
72 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
73  eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
74  timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
75  point.hh style.hh font.hh texture.hh util.hh focuswidget.hh widget.hh \
76  appwidget.hh button.hh focuslabel.hh
77 property.o: property.cc property.hh screeninfo.hh rect.hh point.hh \
78  display.hh
79 rect.o: rect.cc rect.hh point.hh
80 screeninfo.o: screeninfo.cc screeninfo.hh rect.hh point.hh display.hh \
81  util.hh
82 style.o: style.cc display.hh util.hh style.hh color.hh font.hh \
83  texture.hh image.hh screeninfo.hh rect.hh point.hh timer.hh \
84  configuration.hh
85 texture.o: texture.cc texture.hh color.hh util.hh display.hh image.hh \
86  screeninfo.hh rect.hh point.hh timer.hh
87 timer.o: timer.cc timer.hh timerqueuemanager.hh timerqueue.hh
88 timerqueuemanager.o: timerqueuemanager.cc timerqueuemanager.hh \
89  timerqueue.hh timer.hh display.hh
90 util.o: util.cc util.hh
91 widget.o: widget.cc widget.hh rect.hh point.hh texture.hh color.hh \
92  util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
93  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
94  display.hh timerqueuemanager.hh timerqueue.hh assassin.hh