]> Dogcows Code - chaz/openbox/blobdiff - build/Makefile.plugins
shrimpx above miklos?
[chaz/openbox] / build / Makefile.plugins
index 79e3ce44e9544e5c786f79a4b7a8f4548fc529c3..867813553c94aa467bebe17f26d96af3aa913023 100644 (file)
@@ -1,5 +1,22 @@
-all install uninstall clean distclean:
-       @$(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.resistance $@
-       @$(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.placement $@
+include build/Makefile.incl
+
+targets = resistance placement keyboard mouse
+
+all clean distclean:
+       @for i in $(targets); do \
+               $(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.$$i $@; \
+       done
+
+install:
+       @for i in $(targets); do \
+               $(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.$$i $@; \
+       done
+       $(LIBTOOL) --mode=finish $(DESTDIR)$(plugindir)
+
+uninstall:
+       @for i in $(targets); do \
+               $(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.$$i $@; \
+       done
+       -rmdir $(DESTDIR)$(plugindir)
 
 .PHONY: all clean distclean install uninstall
This page took 0.021827 seconds and 4 git commands to generate.