X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=9288490a145cf6a8b866ac240a8364ad9513ea1a;hb=74cfb1b4c115cdb4e05aa823b09d2b5ea9d0d690;hp=85479f69cd5b2c064233b2e041a582bd81ca4d4d;hpb=c9f36d34a414123cec8ebc35c87b8b9d5673b155;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index 85479f69..9288490a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,27 +1,26 @@ localedir=$(datadir)/locale +scriptdir = $(libdir)/openbox/python DEFAULT_MENU=$(pkgdatadir)/menu DEFAULT_STYLE=$(pkgdatadir)/styles/mbdtex -CPPFLAGS=`pkg-config --cflags xft` @CPPFLAGS@ \ +CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CPPFLAGS@ \ -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ --DLOCALEDIR=\"$(localedir)\" +-DLOCALEDIR=\"$(localedir)\" \ +-DSCRIPTDIR=\"$(scriptdir)\" -LDFLAGS=`pkg-config --libs xft` +LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ $(SWIG_PYTHON_LIB) -INCLUDES= -I../otk +bin_PROGRAMS= openbox3 -bin_PROGRAMS= openbox - -openbox_LDADD=../otk/libotk.a @LIBINTL@ - -openbox_SOURCES= configuration.cc screen.cc openbox.cc \ - util.cc bbwindow.cc workspace.cc blackbox.cc \ - main.cc xeventhandler.cc +openbox3_LDADD=-L../otk -lotk @LIBINTL@ +openbox3_LDFLAGS=-export-dynamic +openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \ + 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 .\#* - -# local dependencies + $(RM) *\~ *.orig *.rej .\#*