]> Dogcows Code - chaz/openbox/blob - otk/Makefile.am
make "make dist" work, compiler flags cleanups
[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 #noinst_LIBRARIES=libotk.a
8 lib_LTLIBRARIES=libotk.la
9
10 libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \
11 renderstyle.cc rendercolor.cc pseudorendercontrol.cc \
12 display.cc font.cc \
13 property.cc rect.cc screeninfo.cc \
14 timer.cc \
15 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 includeotk_HEADERS=application.hh appwidget.hh assassin.hh button.hh \
19 display.hh eventdispatcher.hh eventhandler.hh \
20 focuslabel.hh focuswidget.hh font.hh label.hh otk.hh \
21 point.hh property.hh pseudorendercontrol.hh rect.hh \
22 rendercolor.hh rendercontrol.hh renderstyle.hh \
23 rendertexture.hh screeninfo.hh strut.hh surface.hh \
24 timer.hh truerendercontrol.hh ustring.hh util.hh widget.hh \
25 ../config.h
26
27 EXTRA_DIST = otk.pc.in
28
29 DISTCLEANFILES = otk.pc
30 MAINTAINERCLEANFILES= Makefile.in
31
32 pkgconfig_DATA = otk.pc
33
34 otk.pc: otk.pc.in
35 @regex_cmd@ -e "s,\@prefix\@,$(prefix)," \
36 -e "s,\@version\@,$(VERSION)," \
37 @srcdir@/$^ > $@
38
39 distclean-local:
40 $(RM) *\~ *.orig *.rej .\#*
41
42 uninstall-am:
43 -rmdir -p $(includeotkdir)
44 -rmdir -p $(pkgconfigdir)
45
46 otk_test: libotk.la otk_test.cc
47 $(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@
48
49 rendertest: libotk.la rendertest.cc
50 $(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@
51
52 # local dependencies
This page took 0.037314 seconds and 5 git commands to generate.