1 buttonsdir = $(pkgdatadir)/buttons
2 includeotkdir = $(includedir)/otk
3 pkgconfigdir = $(libdir)/pkgconfig
5 CPPFLAGS=$(XFT_CFLAGS) @CPPFLAGS@ -DBUTTONSDIR=\"$(buttonsdir)\"
7 #noinst_LIBRARIES=libotk.a
8 lib_LTLIBRARIES=libotk.la
10 libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \
11 renderstyle.cc rendercolor.cc pseudorendercontrol.cc \
13 property.cc rect.cc screeninfo.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 \
27 MAINTAINERCLEANFILES= Makefile.in
29 pkgconfig_DATA = otk.pc
32 @regex_cmd@ -e "s,\@prefix\@,$(prefix)," \
33 -e "s,\@version\@,$(VERSION)," \
37 $(RM) *\~ *.orig *.rej .\#*
39 otk_test: libotk.la otk_test.cc
40 $(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@
42 rendertest: libotk.la rendertest.cc
43 $(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@