1 CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@
5 #noinst_LIBRARIES=libotk.a
6 noinst_LTLIBRARIES=libotk.la
8 libotk_la_SOURCES= color.cc display.cc font.cc gccache.cc image.cc \
9 property.cc imagecontrol.cc rect.cc screeninfo.cc \
10 texture.cc timer.cc timerqueuemanager.cc style.cc \
11 configuration.cc util.cc widget.cc focuswidget.cc \
12 button.cc eventhandler.cc eventdispatcher.cc \
13 label.cc focuslabel.cc application.cc appwidget.cc \
16 libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS)
18 MAINTAINERCLEANFILES= Makefile.in
21 rm -f *\~ *.orig *.rej .\#*
23 otk_test: libotk.a otk_test.cc
24 $(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
26 otk.i: $(wildcard *.hh)
30 swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -o $@ $<
33 application.o: application.cc application.hh eventdispatcher.hh \
34 eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
35 timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
36 point.hh style.hh font.hh texture.hh util.hh widget.hh
37 appwidget.o: appwidget.cc appwidget.hh widget.hh rect.hh point.hh \
38 texture.hh color.hh util.hh style.hh font.hh image.hh screeninfo.hh \
39 timer.hh configuration.hh eventdispatcher.hh eventhandler.hh \
40 application.hh display.hh timerqueuemanager.hh timerqueue.hh
41 button.o: button.cc button.hh focuslabel.hh focuswidget.hh widget.hh \
42 rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
43 image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
44 eventhandler.hh application.hh display.hh timerqueuemanager.hh \
46 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh point.hh
47 configuration.o: configuration.cc configuration.hh util.hh
48 eventdispatcher.o: eventdispatcher.cc eventdispatcher.hh \
49 eventhandler.hh display.hh
50 eventhandler.o: eventhandler.cc eventhandler.hh
51 focuslabel.o: focuslabel.cc focuslabel.hh focuswidget.hh widget.hh \
52 rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
53 image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
54 eventhandler.hh application.hh display.hh timerqueuemanager.hh \
56 focuswidget.o: focuswidget.cc focuswidget.hh widget.hh rect.hh \
57 point.hh texture.hh color.hh util.hh style.hh font.hh image.hh \
58 screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
59 eventhandler.hh application.hh display.hh timerqueuemanager.hh \
61 font.o: font.cc font.hh util.hh display.hh color.hh screeninfo.hh \
63 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
64 screeninfo.hh rect.hh point.hh
65 image.o: image.cc display.hh gccache.hh color.hh image.hh \
66 screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
67 imagecontrol.o: imagecontrol.cc display.hh color.hh image.hh \
68 screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
69 label.o: label.cc label.hh widget.hh rect.hh point.hh texture.hh \
70 color.hh util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
71 configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
72 display.hh timerqueuemanager.hh timerqueue.hh
73 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
74 eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
75 timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
76 point.hh style.hh font.hh texture.hh util.hh focuswidget.hh widget.hh \
77 appwidget.hh button.hh focuslabel.hh
78 property.o: property.cc property.hh screeninfo.hh rect.hh point.hh \
80 rect.o: rect.cc rect.hh point.hh
81 screeninfo.o: screeninfo.cc screeninfo.hh rect.hh point.hh display.hh \
83 style.o: style.cc display.hh util.hh style.hh color.hh font.hh \
84 texture.hh image.hh screeninfo.hh rect.hh point.hh timer.hh \
86 texture.o: texture.cc texture.hh color.hh util.hh display.hh image.hh \
87 screeninfo.hh rect.hh point.hh timer.hh
88 timer.o: timer.cc timer.hh timerqueuemanager.hh timerqueue.hh
89 timerqueuemanager.o: timerqueuemanager.cc timerqueuemanager.hh \
90 timerqueue.hh timer.hh display.hh
91 util.o: util.cc util.hh
92 widget.o: widget.cc widget.hh rect.hh point.hh texture.hh color.hh \
93 util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
94 configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
95 display.hh timerqueuemanager.hh timerqueue.hh assassin.hh