]> icculus.org git repositories - mikachu/openbox.git/blob - otk/Makefile.am
compiles
[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=rendercontrol.cc truerendercontrol.cc \
12                   color.cc display.cc font.cc gccache.cc image.cc \
13                   property.cc imagecontrol.cc rect.cc screeninfo.cc \
14                   texture.cc timer.cc style.cc \
15                   configuration.cc util.cc widget.cc focuswidget.cc \
16                   button.cc eventhandler.cc eventdispatcher.cc ustring.cc \
17                   label.cc focuslabel.cc application.cc appwidget.cc
18 #                  otk_wrap.cc
19
20 libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS) @LIBS@
21
22 MAINTAINERCLEANFILES= Makefile.in
23
24 distclean-local:
25         rm -f *\~ *.orig *.rej .\#*
26
27 otk_test: libotk.la otk_test.cc
28         $(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) .libs/libotk.al @LIBS@
29
30 rendertest: libotk.la rendertest.cc
31         $(CXX) $(CXXFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o $@ rendertest.cc $(XFT_LIBS) .libs/libotk.al @LIBS@
32
33 #otk.i: $(wildcard *.hh)
34 #       touch $@
35
36 #otk_wrap.cc: otk.i
37 #       swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -o $@ $<
38
39 # local dependencies
40 application.o: application.cc application.hh eventdispatcher.hh \
41  eventhandler.hh display.hh configuration.hh \
42  timer.hh image.hh color.hh screeninfo.hh rect.hh \
43  point.hh style.hh font.hh texture.hh util.hh widget.hh
44 appwidget.o: appwidget.cc appwidget.hh widget.hh rect.hh point.hh \
45  texture.hh color.hh util.hh style.hh font.hh image.hh screeninfo.hh \
46  timer.hh configuration.hh eventdispatcher.hh eventhandler.hh \
47  application.hh display.hh 
48 button.o: button.cc button.hh focuslabel.hh focuswidget.hh widget.hh \
49  rect.hh point.hh texture.hh color.hh util.hh style.hh font.hh \
50  image.hh screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
51  eventhandler.hh application.hh display.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
61 focuswidget.o: focuswidget.cc focuswidget.hh widget.hh rect.hh \
62  point.hh texture.hh color.hh util.hh style.hh font.hh image.hh \
63  screeninfo.hh timer.hh configuration.hh eventdispatcher.hh \
64  eventhandler.hh application.hh display.hh 
65 font.o: font.cc font.hh util.hh display.hh color.hh screeninfo.hh \
66  rect.hh point.hh
67 gccache.o: gccache.cc gccache.hh display.hh color.hh assassin.hh \
68  screeninfo.hh rect.hh point.hh
69 image.o: image.cc display.hh gccache.hh color.hh image.hh \
70  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
71 imagecontrol.o: imagecontrol.cc display.hh color.hh image.hh \
72  screeninfo.hh rect.hh point.hh timer.hh texture.hh util.hh
73 label.o: label.cc label.hh widget.hh rect.hh point.hh texture.hh \
74  color.hh util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
75  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
76  display.hh 
77 otk_test.o: otk_test.cc application.hh eventdispatcher.hh \
78  eventhandler.hh display.hh configuration.hh \
79  timer.hh image.hh color.hh screeninfo.hh rect.hh \
80  point.hh style.hh font.hh texture.hh util.hh focuswidget.hh widget.hh \
81  appwidget.hh button.hh focuslabel.hh
82 property.o: property.cc property.hh screeninfo.hh rect.hh point.hh \
83  display.hh
84 rect.o: rect.cc rect.hh point.hh
85 screeninfo.o: screeninfo.cc screeninfo.hh rect.hh point.hh display.hh \
86  util.hh
87 style.o: style.cc display.hh util.hh style.hh color.hh font.hh \
88  texture.hh image.hh screeninfo.hh rect.hh point.hh timer.hh \
89  configuration.hh
90 texture.o: texture.cc texture.hh color.hh util.hh display.hh image.hh \
91  screeninfo.hh rect.hh point.hh timer.hh
92 timer.o: timer.cc timer.hh
93 util.o: util.cc util.hh
94 widget.o: widget.cc widget.hh rect.hh point.hh texture.hh color.hh \
95  util.hh style.hh font.hh image.hh screeninfo.hh timer.hh \
96  configuration.hh eventdispatcher.hh eventhandler.hh application.hh \
97  display.hh assassin.hh