openbox/otk/Makefile.am

58 lines
2.1 KiB
Text
Raw Normal View History

2003-01-10 22:50:20 +00:00
buttonsdir = $(pkgdatadir)/buttons
scriptdir = $(libdir)/openbox/python
2003-02-04 13:52:51 +00:00
includeotkdir = $(includedir)/otk
2003-01-10 22:50:20 +00:00
CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \
-DBUTTONSDIR=\"$(buttonsdir)\" -DSWIG_GLOBAL
2003-01-27 18:58:50 +00:00
# -DSWIG_GLOBAL means we don't have to link libswigpy cuz libotk will export
# everything it would
2002-11-01 03:27:41 +00:00
#INCLUDES= -I../src
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 \
otk_wrap.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
2003-01-17 23:22:53 +00:00
libotk_la_LDFLAGS = $(XFT_LIBS) $(PYTHON_LIBS) @LIBS@
2002-11-01 03:27:41 +00:00
MAINTAINERCLEANFILES= Makefile.in
script_DATA = otk.py
EXTRA_DIST = $(script_DATA)
2002-11-01 03:27:41 +00:00
distclean-local:
rm -f *\~ *.orig *.rej .\#*
2003-01-17 23:22:53 +00:00
otk_test: libotk.la otk_test.cc
2003-01-29 08:49:34 +00:00
$(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@
2003-01-17 23:22:53 +00:00
rendertest: libotk.la rendertest.cc
2003-01-29 08:49:34 +00:00
$(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@
2002-11-15 00:23:33 +00:00
2003-01-29 22:43:58 +00:00
%.py: %_wrap.cc
otk.i: $(wildcard *.hh)
touch $@
2002-12-24 21:27:16 +00:00
%_wrap.cc: %.i
swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<
2002-12-24 21:27:16 +00:00
2002-11-01 03:27:41 +00:00
# local dependencies