summaryrefslogtreecommitdiff
path: root/plugins/placement
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/placement')
-rw-r--r--plugins/placement/.cvsignore2
-rw-r--r--plugins/placement/Makefile4
-rw-r--r--plugins/placement/Makefile.am18
3 files changed, 20 insertions, 4 deletions
diff --git a/plugins/placement/.cvsignore b/plugins/placement/.cvsignore
index 4be40fa9..aeb5750c 100644
--- a/plugins/placement/.cvsignore
+++ b/plugins/placement/.cvsignore
@@ -2,3 +2,5 @@ placement.la
placement.lo
history.lo
.libs
+Makefile.in
+.deps
diff --git a/plugins/placement/Makefile b/plugins/placement/Makefile
deleted file mode 100644
index 2ed05a6e..00000000
--- a/plugins/placement/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-all clean distclean install uninstall:
- $(MAKE) -$(MAKEFLAGS) -C ../.. $@
-
-.PHONY: all clean distclean install uninstall
diff --git a/plugins/placement/Makefile.am b/plugins/placement/Makefile.am
new file mode 100644
index 00000000..096d7600
--- /dev/null
+++ b/plugins/placement/Makefile.am
@@ -0,0 +1,18 @@
+plugindir=$(libdir)/openbox/plugins
+
+CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) @CPPFLAGS@ \
+ -DG_LOG_DOMAIN=\"Plugin-Placement\"
+
+INCLUDES=-I../..
+
+plugin_LTLIBRARIES=placement.la
+
+placement_la_LDFLAGS=-module -avoid-version
+placement_la_SOURCES=history.c placement.c
+
+noinst_HEADERS=history.h
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+ $(RM) *\~ *.orig *.rej .\#*