]> Dogcows Code - chaz/openbox/blob - otk/Makefile.am
merge the C branch into HEAD
[chaz/openbox] / otk / Makefile.am
1 buttonsdir = $(pkgdatadir)/buttons
2 includeotkdir = $(includedir)/otk
3 pkgconfigdir = $(libdir)/pkgconfig
4
5 CPPFLAGS=$(XFT_CFLAGS) @CPPFLAGS@ -DBUTTONSDIR=\"$(buttonsdir)\"
6
7 lib_LTLIBRARIES=libotk.la
8
9 libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc util.cc \
10 renderstyle.cc rendercolor.cc pseudorendercontrol.cc \
11 display.cc font.cc property.cc timer.cc \
12 eventdispatcher.cc eventhandler.cc ustring.cc \
13 widget.cc application.cc label.cc appwidget.cc button.cc \
14 otk.cc messagedialog.cc
15
16 #focuswidget.cc focuslabel.cc
17
18 includeotk_HEADERS=application.hh appwidget.hh assassin.hh button.hh \
19 display.hh eventdispatcher.hh eventhandler.hh font.hh \
20 label.hh otk.hh point.hh property.hh pseudorendercontrol.hh\
21 rect.hh rendercolor.hh rendercontrol.hh renderstyle.hh \
22 rendertexture.hh size.hh strut.hh surface.hh \
23 timer.hh truerendercontrol.hh ustring.hh util.hh widget.hh \
24 messagedialog.hh ../config.h
25
26 EXTRA_DIST = otk.pc.in
27
28 DISTCLEANFILES = otk.pc
29 MAINTAINERCLEANFILES= Makefile.in
30
31 pkgconfig_DATA = otk.pc
32
33 otk.pc: otk.pc.in
34 @regex_cmd@ -e "s,\@prefix\@,$(prefix)," \
35 -e "s,\@version\@,$(VERSION)," \
36 @srcdir@/$^ > $@
37
38 distclean-local:
39 $(RM) *\~ *.orig *.rej .\#*
40
41 uninstall-am:
42 -rmdir -p $(includeotkdir)
43 -rmdir -p $(pkgconfigdir)
44
45 otk_test: libotk.la otk_test.cc
46 $(CXX) $(CPPFLAGS) $(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@
47
48 rendertest: libotk.la rendertest.cc
49 $(CXX) $(CPPFLAGS) $(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@
50
51 # local dependencies
This page took 0.034434 seconds and 4 git commands to generate.