summaryrefslogtreecommitdiffstats
path: root/lib/xf86misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xf86misc/Makefile')
-rw-r--r--lib/xf86misc/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/xf86misc/Makefile b/lib/xf86misc/Makefile
new file mode 100644
index 0000000..2d874b9
--- /dev/null
+++ b/lib/xf86misc/Makefile
@@ -0,0 +1,10 @@
+.PHONY: clean
+
+main: %: %.xs
+ test -e Makefile_c || perl Makefile.PL
+ $(MAKE) -f Makefile_c LD_RUN_PATH= || $(MAKE) -f Makefile_c LD_RUN_PATH=
+ rm -f ../auto/xf86misc ; ln -s ../xf86misc/blib/arch/auto ../auto/xf86misc
+
+clean:
+ test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
+ rm -f *~ *.o