summaryrefslogtreecommitdiff
path: root/otk/Makefile.am
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-06 06:19:46 +0000
committerDana Jansens <danakj@orodu.net>2003-02-06 06:19:46 +0000
commitc3e4f97d87207bd0df5cb93007a83a97bba0064d (patch)
tree4b84b779df0a819c6aaba23c64cb451367848d3a /otk/Makefile.am
parent37050803a6340a31de87cd19a8418163c8550ea8 (diff)
make "make dist" work, compiler flags cleanups
Diffstat (limited to 'otk/Makefile.am')
-rw-r--r--otk/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/otk/Makefile.am b/otk/Makefile.am
index 08f4d4cd..504319a7 100644
--- a/otk/Makefile.am
+++ b/otk/Makefile.am
@@ -24,6 +24,9 @@ includeotk_HEADERS=application.hh appwidget.hh assassin.hh button.hh \
timer.hh truerendercontrol.hh ustring.hh util.hh widget.hh \
../config.h
+EXTRA_DIST = otk.pc.in
+
+DISTCLEANFILES = otk.pc
MAINTAINERCLEANFILES= Makefile.in
pkgconfig_DATA = otk.pc
@@ -36,6 +39,10 @@ otk.pc: otk.pc.in
distclean-local:
$(RM) *\~ *.orig *.rej .\#*
+uninstall-am:
+ -rmdir -p $(includeotkdir)
+ -rmdir -p $(pkgconfigdir)
+
otk_test: libotk.la otk_test.cc
$(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@