]> icculus.org git repositories - dana/openbox.git/blob - otk/Makefile.am
dont install otk.py for now
[dana/openbox.git] / otk / Makefile.am
1 scriptdir = $(libdir)/openbox/python
2
3 CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@
4
5 INCLUDES= -I../src
6
7 #noinst_LIBRARIES=libotk.a
8 noinst_LTLIBRARIES=libotk.la
9
10 libotk_la_SOURCES= color.cc display.cc font.cc gccache.cc image.cc \
11                   property.cc imagecontrol.cc rect.cc screeninfo.cc \
12                   texture.cc timer.cc timerqueuemanager.cc style.cc \
13                   configuration.cc util.cc widget.cc focuswidget.cc \
14                   button.cc eventhandler.cc eventdispatcher.cc \
15                   label.cc focuslabel.cc application.cc appwidget.cc \
16                   otk_wrap.cc
17
18 libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS)
19
20 #script_DATA = otk.py
21
22 #EXTRA_DIST = $(script_DATA)
23
24 MAINTAINERCLEANFILES= Makefile.in
25
26 distclean-local:
27         rm -f *\~ *.orig *.rej .\#*
28
29 otk_test: libotk.a otk_test.cc
30         $(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) ./libotk.a 
31
32 otk.i: $(wildcard *.hh)
33         touch $@
34
35 otk_wrap.cc: otk.i
36         swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -o $@ $<
37
38 # local dependencies
39 application.o: application.cc application.hh eventdispatcher.hh \
40  eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
41  timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
42  point.hh style.hh font.hh texture.hh util.hh widget.hh
43 appwidget.o: appwidget.cc appwidget.hh widget.hh rect.hh point.hh \
44  texture.hh color.hh util.hh style.hh font.hh image.hh screeninfo.hh \
45  timer.hh configuration.hh eventdispatcher.hh eventhandler.hh \
46  application.hh display.hh timerqueuemanager.hh timerqueue.hh
47 button.o: button.cc button.hh focuslabel.hh focuswidget.hh widget.hh \
48  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
49  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
50  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
51  timerqueue.hh
52 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh point.hh
53 configuration.o: configuration.cc configuration.hh util.hh
54 eventdispatcher.o: eventdispatcher.cc eventdispatcher.hh \
55  eventhandler.hh display.hh
56 eventhandler.o: eventhandler.cc eventhandler.hh
57 focuslabel.o: focuslabel.cc focuslabel.hh focuswidget.hh widget.hh \
58  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
59  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
60  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
61  timerqueue.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 timerqueuemanager.hh \
66  timerqueue.hh
67 font.o: font.cc font.hh util.hh display.hh color.hh screeninfo.hh \
68  rect.hh point.hh
69 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
70  screeninfo.hh rect.hh point.hh
71 image.o: image.cc display.hh gccache.hh color.hh image.hh \
72  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
73 imagecontrol.o: imagecontrol.cc display.hh color.hh image.hh \
74  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
75 label.o: label.cc label.hh widget.hh rect.hh point.hh texture.hh \
76  color.hh util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
77  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
78  display.hh timerqueuemanager.hh timerqueue.hh
79 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
80  eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
81  timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
82  point.hh style.hh font.hh texture.hh util.hh focuswidget.hh widget.hh \
83  appwidget.hh button.hh focuslabel.hh
84 property.o: property.cc property.hh screeninfo.hh rect.hh point.hh \
85  display.hh
86 rect.o: rect.cc rect.hh point.hh
87 screeninfo.o: screeninfo.cc screeninfo.hh rect.hh point.hh display.hh \
88  util.hh
89 style.o: style.cc display.hh util.hh style.hh color.hh font.hh \
90  texture.hh image.hh screeninfo.hh rect.hh point.hh timer.hh \
91  configuration.hh
92 texture.o: texture.cc texture.hh color.hh util.hh display.hh image.hh \
93  screeninfo.hh rect.hh point.hh timer.hh
94 timer.o: timer.cc timer.hh timerqueuemanager.hh timerqueue.hh
95 timerqueuemanager.o: timerqueuemanager.cc timerqueuemanager.hh \
96  timerqueue.hh timer.hh display.hh
97 util.o: util.cc util.hh
98 widget.o: widget.cc widget.hh rect.hh point.hh texture.hh color.hh \
99  util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
100  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
101  display.hh timerqueuemanager.hh timerqueue.hh assassin.hh