]> icculus.org git repositories - mikachu/openbox.git/blob - otk/Makefile.am
proper code style
[mikachu/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= color.cc display.cc font.cc gccache.cc image.cc \
12                   property.cc imagecontrol.cc rect.cc screeninfo.cc \
13                   texture.cc timer.cc timerqueuemanager.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
17 #                  otk_wrap.cc
18
19 libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS)
20
21 MAINTAINERCLEANFILES= Makefile.in
22
23 distclean-local:
24         rm -f *\~ *.orig *.rej .\#*
25
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 
28
29 #otk.i: $(wildcard *.hh)
30 #       touch $@
31
32 #otk_wrap.cc: otk.i
33 #       swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -o $@ $<
34
35 # local dependencies
36 application.o: application.cc application.hh eventdispatcher.hh \
37  eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
38  timerqueue.hh 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 timerqueuemanager.hh timerqueue.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 timerqueuemanager.hh \
48  timerqueue.hh
49 color.o: color.cc color.hh display.hh screeninfo.hh rect.hh point.hh
50 configuration.o: configuration.cc configuration.hh util.hh
51 eventdispatcher.o: eventdispatcher.cc eventdispatcher.hh \
52  eventhandler.hh display.hh
53 eventhandler.o: eventhandler.cc eventhandler.hh
54 focuslabel.o: focuslabel.cc focuslabel.hh focuswidget.hh widget.hh \
55  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
56  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
57  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
58  timerqueue.hh
59 focuswidget.o: focuswidget.cc focuswidget.hh widget.hh rect.hh \
60  point.hh texture.hh color.hh util.hh style.hh font.hh image.hh \
61  screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
62  eventhandler.hh application.hh display.hh timerqueuemanager.hh \
63  timerqueue.hh
64 font.o: font.cc font.hh util.hh display.hh color.hh screeninfo.hh \
65  rect.hh point.hh
66 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
67  screeninfo.hh rect.hh point.hh
68 image.o: image.cc display.hh gccache.hh color.hh image.hh \
69  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
70 imagecontrol.o: imagecontrol.cc display.hh color.hh image.hh \
71  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
72 label.o: label.cc label.hh widget.hh rect.hh point.hh texture.hh \
73  color.hh util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
74  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
75  display.hh timerqueuemanager.hh timerqueue.hh
76 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
77  eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \
78  timerqueue.hh timer.hh image.hh color.hh screeninfo.hh rect.hh \
79  point.hh style.hh font.hh texture.hh util.hh focuswidget.hh widget.hh \
80  appwidget.hh button.hh focuslabel.hh
81 property.o: property.cc property.hh screeninfo.hh rect.hh point.hh \
82  display.hh
83 rect.o: rect.cc rect.hh point.hh
84 screeninfo.o: screeninfo.cc screeninfo.hh rect.hh point.hh display.hh \
85  util.hh
86 style.o: style.cc display.hh util.hh style.hh color.hh font.hh \
87  texture.hh image.hh screeninfo.hh rect.hh point.hh timer.hh \
88  configuration.hh
89 texture.o: texture.cc texture.hh color.hh util.hh display.hh image.hh \
90  screeninfo.hh rect.hh point.hh timer.hh
91 timer.o: timer.cc timer.hh timerqueuemanager.hh timerqueue.hh
92 timerqueuemanager.o: timerqueuemanager.cc timerqueuemanager.hh \
93  timerqueue.hh timer.hh display.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 timerqueuemanager.hh timerqueue.hh assassin.hh