3 buttonsdir = $(pkgdatadir)/buttons
4 includeotkdir = $(includedir)/otk
5 pkgconfigdir = $(libdir)/pkgconfig
7 CXXFLAGS=$(XFT_CFLAGS) @CXXFLAGS@ \
8 -DBUTTONSDIR=\"$(buttonsdir)\"
10 #noinst_LIBRARIES=libotk.a
11 lib_LTLIBRARIES=libotk.la
13 libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \
14 renderstyle.cc rendercolor.cc pseudorendercontrol.cc \
16 property.cc rect.cc screeninfo.cc \
18 util.cc widget.cc focuswidget.cc \
19 button.cc eventhandler.cc eventdispatcher.cc ustring.cc \
20 label.cc focuslabel.cc application.cc appwidget.cc
21 includeotk_HEADERS=application.hh appwidget.hh assassin.hh button.hh \
22 display.hh eventdispatcher.hh eventhandler.hh \
23 focuslabel.hh focuswidget.hh font.hh label.hh otk.hh \
24 point.hh property.hh pseudorendercontrol.hh rect.hh \
25 rendercolor.hh rendercontrol.hh renderstyle.hh \
26 rendertexture.hh screeninfo.hh strut.hh surface.hh \
27 timer.hh truerendercontrol.hh ustring.hh util.hh widget.hh \
30 MAINTAINERCLEANFILES= Makefile.in
32 pkgconfig_DATA = otk.pc
35 @regex_cmd@ -e "s,\@prefix\@,$(prefix)," \
36 -e "s,\@version\@,$(VERSION)," \
40 rm -f *\~ *.orig *.rej .\#*
42 otk_test: libotk.la otk_test.cc
43 $(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@
45 rendertest: libotk.la rendertest.cc
46 $(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@