X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2FMakefile.am;h=de6877b9aab29a07b04089e321139c8e7cfc9d18;hb=619864a1725647039c01a0c85c77d5307b256171;hp=29b35442fd9572d25ca3ae8cd6475f066021d1b9;hpb=5face4c6f35172761367f63ac0b6eaf62d84e532;p=chaz%2Fopenbox diff --git a/otk/Makefile.am b/otk/Makefile.am index 29b35442..de6877b9 100644 --- a/otk/Makefile.am +++ b/otk/Makefile.am @@ -2,9 +2,11 @@ buttonsdir = $(pkgdatadir)/buttons scriptdir = $(libdir)/openbox/python CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \ --DBUTTONSDIR=\"$(buttonsdir)\" +-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 @@ -40,6 +42,6 @@ otk.i: $(wildcard *.hh) touch $@ %_wrap.cc: %.i - swig -c $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< + swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< # local dependencies