openbox/otk/Makefile.am

50 lines
1.5 KiB
Text
Raw Normal View History

2003-01-10 22:50:20 +00:00
buttonsdir = $(pkgdatadir)/buttons
scriptdir = $(libdir)/openbox/python
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 \
renderstyle.cc rendercolor.cc \
2003-01-23 23:55:09 +00:00
display.cc font.cc \
property.cc rect.cc screeninfo.cc \
timer.cc \
2002-11-16 13:00:22 +00:00
configuration.cc 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
2002-12-24 21:27:16 +00:00
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