openbox/otk/Makefile.am

53 lines
2 KiB
Text
Raw Normal View History

2003-01-10 22:50:20 +00:00
buttonsdir = $(pkgdatadir)/buttons
2003-02-04 13:52:51 +00:00
includeotkdir = $(includedir)/otk
2003-02-05 09:40:08 +00:00
pkgconfigdir = $(libdir)/pkgconfig
2003-01-10 22:50:20 +00:00
CPPFLAGS=$(XFT_CFLAGS) @CPPFLAGS@ -DBUTTONSDIR=\"$(buttonsdir)\"
2002-11-01 03:27:41 +00:00
2002-12-24 23:31:38 +00:00
#noinst_LIBRARIES=libotk.a
lib_LTLIBRARIES=libotk.la
2002-11-01 03:27:41 +00:00
2003-01-18 03:52:58 +00:00
libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \
2003-02-03 07:06:45 +00:00
renderstyle.cc rendercolor.cc pseudorendercontrol.cc \
2003-01-23 23:55:09 +00:00
display.cc font.cc \
property.cc rect.cc screeninfo.cc \
timer.cc \
2003-02-02 22:30:49 +00:00
util.cc widget.cc focuswidget.cc \
2003-01-12 23:55:30 +00:00
button.cc eventhandler.cc eventdispatcher.cc ustring.cc \
label.cc focuslabel.cc application.cc appwidget.cc
2003-02-04 13:52:51 +00:00
includeotk_HEADERS=application.hh appwidget.hh assassin.hh button.hh \
display.hh eventdispatcher.hh eventhandler.hh \
focuslabel.hh focuswidget.hh font.hh label.hh otk.hh \
point.hh property.hh pseudorendercontrol.hh rect.hh \
rendercolor.hh rendercontrol.hh renderstyle.hh \
rendertexture.hh screeninfo.hh strut.hh surface.hh \
2003-02-05 05:48:01 +00:00
timer.hh truerendercontrol.hh ustring.hh util.hh widget.hh \
../config.h
2002-11-01 03:27:41 +00:00
EXTRA_DIST = otk.pc.in
DISTCLEANFILES = otk.pc
2002-11-01 03:27:41 +00:00
MAINTAINERCLEANFILES= Makefile.in
2003-02-05 09:40:08 +00:00
pkgconfig_DATA = otk.pc
otk.pc: otk.pc.in
@regex_cmd@ -e "s,\@prefix\@,$(prefix)," \
-e "s,\@version\@,$(VERSION)," \
@srcdir@/$^ > $@
2002-11-01 03:27:41 +00:00
distclean-local:
$(RM) *\~ *.orig *.rej .\#*
2002-11-01 03:27:41 +00:00
uninstall-am:
-rmdir -p $(includeotkdir)
-rmdir -p $(pkgconfigdir)
2003-01-17 23:22:53 +00:00
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@
2003-01-17 23:22:53 +00:00
rendertest: libotk.la rendertest.cc
$(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@
2002-11-15 00:23:33 +00:00
2002-11-01 03:27:41 +00:00
# local dependencies