]> Dogcows Code - chaz/openbox/blobdiff - src/Makefile.am
add 'grab_server' for grabbing .. the .. server!
[chaz/openbox] / src / Makefile.am
index 19306b3f48c3af234fd288c2a29cc919e22a843e..107f7355ce077e20e4bf19b02e5a351c78390daf 100644 (file)
@@ -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 xatom.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 config.cc
+noinst_HEADERS= actions.hh bindings.hh client.hh frame.hh openbox.hh \
+                python.hh screen.hh config.hh
 
 MAINTAINERCLEANFILES= Makefile.in
 
 distclean-local:
-       rm -f *\~ *.orig *.rej .\#*
-
-# local dependencies
+       $(RM) *\~ *.orig *.rej .\#*
This page took 0.023571 seconds and 4 git commands to generate.