summaryrefslogtreecommitdiffstats
path: root/lib/xf86misc/Makefile.PL
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 10:05:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 10:05:19 +0000
commite953971267d8c9f9b0517bc458faf32acf5f611e (patch)
tree98f29755f2fa924695a25706851e9ad980c61f22 /lib/xf86misc/Makefile.PL
parent48524e2dc24bae1e80dc7a39e490fe37c089adf3 (diff)
downloaddrakx-kbd-mouse-x11-e953971267d8c9f9b0517bc458faf32acf5f611e.tar
drakx-kbd-mouse-x11-e953971267d8c9f9b0517bc458faf32acf5f611e.tar.gz
drakx-kbd-mouse-x11-e953971267d8c9f9b0517bc458faf32acf5f611e.tar.bz2
drakx-kbd-mouse-x11-e953971267d8c9f9b0517bc458faf32acf5f611e.tar.xz
drakx-kbd-mouse-x11-e953971267d8c9f9b0517bc458faf32acf5f611e.zip
re-sync after the big svn loss
Diffstat (limited to 'lib/xf86misc/Makefile.PL')
-rw-r--r--lib/xf86misc/Makefile.PL15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/xf86misc/Makefile.PL b/lib/xf86misc/Makefile.PL
new file mode 100644
index 0000000..c0a1070
--- /dev/null
+++ b/lib/xf86misc/Makefile.PL
@@ -0,0 +1,15 @@
+use ExtUtils::MakeMaker;
+use MDK::Common;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+
+my $lib = arch() =~ /x86_64/ ? 'lib64' : 'lib';
+
+WriteMakefile(
+ 'NAME' => 'main',
+ 'MAKEFILE' => 'Makefile_c',
+ 'OPTIMIZE' => '-Os',
+ 'VERSION_FROM' => 'main.pm', # finds $VERSION
+ 'LIBS' => ["-L/usr/X11R6/$lib -lX11 -lXext -lXxf86misc"],
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+);