diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-08 17:50:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-08 17:50:15 +0000 |
commit | 092a51022843b9217bbbe8cbd2affc312450523e (patch) | |
tree | 9ae8eec1552f3d5c9ebfacf89c72db4c1d6907d8 /perl-install/xf86misc/Makefile.PL | |
parent | 5f68450cc9d2f7c543a5d3cd5b8351a83ddffb4b (diff) | |
download | drakx-092a51022843b9217bbbe8cbd2affc312450523e.tar drakx-092a51022843b9217bbbe8cbd2affc312450523e.tar.gz drakx-092a51022843b9217bbbe8cbd2affc312450523e.tar.bz2 drakx-092a51022843b9217bbbe8cbd2affc312450523e.tar.xz drakx-092a51022843b9217bbbe8cbd2affc312450523e.zip |
move Xtest() and setMouseLive() out of c/stuff to xf86misc::main
so that we can use them (esp. setMouseLive) in standalone without making drakxtools-newt
require xfree libs
Diffstat (limited to 'perl-install/xf86misc/Makefile.PL')
-rw-r--r-- | perl-install/xf86misc/Makefile.PL | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/xf86misc/Makefile.PL b/perl-install/xf86misc/Makefile.PL new file mode 100644 index 000000000..c0a1070cb --- /dev/null +++ b/perl-install/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' +); |