X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2FMakefile.am;h=1e81276501e35323c6f8e1af79b38ae5eb8df132;hb=dec0760d87f12b1c855a5e7ad9b9713e749314fc;hp=dd8d45f044e4608dfb390134a15482d0d98285f4;hpb=d600bf8d58205ea476458970b8dda5f6e8d9220b;p=chaz%2Fopenbox diff --git a/otk/Makefile.am b/otk/Makefile.am index dd8d45f0..1e812765 100644 --- a/otk/Makefile.am +++ b/otk/Makefile.am @@ -3,8 +3,10 @@ scriptdir = $(libdir)/openbox/python CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \ -DBUTTONSDIR=\"$(buttonsdir)\" -DSWIG_GLOBAL +# -DSWIG_GLOBAL means we don't have to link libswigpy cuz libotk will export +# everything it would -INCLUDES= -I../src +#INCLUDES= -I../src #noinst_LIBRARIES=libotk.a lib_LTLIBRARIES=libotk.la @@ -14,7 +16,7 @@ libotk_la_SOURCES=rendercontrol.cc truerendercontrol.cc surface.cc \ display.cc font.cc \ property.cc rect.cc screeninfo.cc \ timer.cc \ - configuration.cc util.cc widget.cc focuswidget.cc \ + util.cc widget.cc focuswidget.cc \ button.cc eventhandler.cc eventdispatcher.cc ustring.cc \ label.cc focuslabel.cc application.cc appwidget.cc \ otk_wrap.cc @@ -31,10 +33,12 @@ distclean-local: rm -f *\~ *.orig *.rej .\#* otk_test: libotk.la otk_test.cc - $(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) .libs/libotk.al @LIBS@ + $(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@ rendertest: libotk.la rendertest.cc - $(CXX) $(CXXFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o $@ rendertest.cc $(XFT_LIBS) .libs/libotk.al @LIBS@ + $(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@ + +%.py: %_wrap.cc otk.i: $(wildcard *.hh) touch $@