X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=9288490a145cf6a8b866ac240a8364ad9513ea1a;hb=c54d92b784036a4d9e829592aab938e661287fca;hp=76ba15b7400292acb7a5e2d28c6bce24cb12c351;hpb=e0878c9fc2db8843891816e65917fbcfd1e94cbb;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index 76ba15b7..9288490a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,38 +3,24 @@ scriptdir = $(libdir)/openbox/python DEFAULT_MENU=$(pkgdatadir)/menu DEFAULT_STYLE=$(pkgdatadir)/styles/mbdtex -CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \ +CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CPPFLAGS@ \ -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ -DLOCALEDIR=\"$(localedir)\" \ -DSCRIPTDIR=\"$(scriptdir)\" -LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ - -INCLUDES= -I../otk +LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ $(SWIG_PYTHON_LIB) bin_PROGRAMS= openbox3 openbox3_LDADD=-L../otk -lotk @LIBINTL@ - +openbox3_LDFLAGS=-export-dynamic openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \ - main.cc backgroundwidget.cc labelwidget.cc \ - buttonwidget.cc python.cc bindings.cc \ - openbox_wrap.cc - -script_DATA = openbox.py - -EXTRA_DIST = $(script_DATA) + main.cc python.cc bindings.cc +noinst_HEADERS= actions.hh bindings.hh client.hh frame.hh openbox.hh \ + python.hh screen.hh MAINTAINERCLEANFILES= Makefile.in distclean-local: - rm -f *\~ *.orig *.rej .\#* - -openbox.i: openbox.hh screen.hh client.hh python.hh - touch $@ - -openbox_wrap.cc: openbox.i - swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< - -# local dependencies + $(RM) *\~ *.orig *.rej .\#*