1 buttonsdir = $(pkgdatadir)/buttons
3 CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \
4 -DBUTTONSDIR=\"$(buttonsdir)\"
8 #noinst_LIBRARIES=libotk.a
9 noinst_LTLIBRARIES=libotk.la
11 libotk_la_SOURCES= color.cc display.cc font.cc gccache.cc image.cc \
12 property.cc imagecontrol.cc rect.cc screeninfo.cc \
13 texture.cc timer.cc style.cc \
14 configuration.cc util.cc widget.cc focuswidget.cc \
15 button.cc eventhandler.cc eventdispatcher.cc ustring.cc \
16 label.cc focuslabel.cc application.cc appwidget.cc
19 libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS)
21 MAINTAINERCLEANFILES= Makefile.in
24 rm -f *\~ *.orig *.rej .\#*
26 otk_test: libotk.a otk_test.cc
27 $(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
29 #otk.i: $(wildcard *.hh)
33 # swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -o $@ $<
36 application.o: application.cc application.hh eventdispatcher.hh \
37 eventhandler.hh display.hh configuration.hh \
38 timer.hh image.hh color.hh screeninfo.hh rect.hh \
39 point.hh style.hh font.hh texture.hh util.hh widget.hh
40 appwidget.o: appwidget.cc appwidget.hh widget.hh rect.hh point.hh \
41 texture.hh color.hh util.hh style.hh font.hh image.hh screeninfo.hh \
42 timer.hh configuration.hh eventdispatcher.hh eventhandler.hh \
43 application.hh display.hh
44 button.o: button.cc button.hh focuslabel.hh focuswidget.hh widget.hh \
45 rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
46 image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
47 eventhandler.hh application.hh display.hh
48 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh point.hh
49 configuration.o: configuration.cc configuration.hh util.hh
50 eventdispatcher.o: eventdispatcher.cc eventdispatcher.hh \
51 eventhandler.hh display.hh
52 eventhandler.o: eventhandler.cc eventhandler.hh
53 focuslabel.o: focuslabel.cc focuslabel.hh focuswidget.hh widget.hh \
54 rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
55 image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
56 eventhandler.hh application.hh display.hh
57 focuswidget.o: focuswidget.cc focuswidget.hh widget.hh rect.hh \
58 point.hh texture.hh color.hh util.hh style.hh font.hh image.hh \
59 screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
60 eventhandler.hh application.hh display.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 \
73 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
74 eventhandler.hh display.hh configuration.hh \
75 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
89 util.o: util.cc util.hh
90 widget.o: widget.cc widget.hh rect.hh point.hh texture.hh color.hh \
91 util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
92 configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
93 display.hh assassin.hh