]> icculus.org git repositories - mikachu/openbox.git/blob - otk/Makefile.am
dont make wrap a subdir of otk
[mikachu/openbox.git] / otk / Makefile.am
1 buttonsdir = $(pkgdatadir)/buttons
2 includeotkdir = $(includedir)/otk
3 pkgconfigdir = $(libdir)/pkgconfig
4
5 CXXFLAGS=$(XFT_CFLAGS) @CXXFLAGS@ \
6 -DBUTTONSDIR=\"$(buttonsdir)\"
7
8 #noinst_LIBRARIES=libotk.a
9 lib_LTLIBRARIES=libotk.la
10
11 libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \
12                   renderstyle.cc rendercolor.cc pseudorendercontrol.cc \
13                   display.cc font.cc \
14                   property.cc rect.cc screeninfo.cc \
15                   timer.cc \
16                   util.cc widget.cc focuswidget.cc \
17                   button.cc eventhandler.cc eventdispatcher.cc ustring.cc \
18                   label.cc focuslabel.cc application.cc appwidget.cc
19 includeotk_HEADERS=application.hh appwidget.hh assassin.hh button.hh \
20                    display.hh eventdispatcher.hh eventhandler.hh \
21                    focuslabel.hh focuswidget.hh font.hh label.hh otk.hh \
22                    point.hh property.hh pseudorendercontrol.hh rect.hh \
23                    rendercolor.hh rendercontrol.hh renderstyle.hh \
24                    rendertexture.hh screeninfo.hh strut.hh surface.hh \
25                    timer.hh truerendercontrol.hh ustring.hh util.hh widget.hh \
26                    ../config.h
27
28 MAINTAINERCLEANFILES= Makefile.in
29
30 pkgconfig_DATA = otk.pc
31
32 otk.pc: otk.pc.in
33         @regex_cmd@ -e "s,\@prefix\@,$(prefix)," \
34                 -e "s,\@version\@,$(VERSION)," \
35                 @srcdir@/$^ > $@
36
37 distclean-local:
38         rm -f *\~ *.orig *.rej .\#*
39
40 otk_test: libotk.la otk_test.cc
41         $(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) -L. -lotk @LIBS@
42
43 rendertest: libotk.la rendertest.cc
44         $(CXX) $(CXXFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o $@ rendertest.cc $(XFT_LIBS) -L. -lotk @LIBS@
45
46 # local dependencies