From 2b91521b4c124546e59638f2e990dcbc75903d85 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 2 Feb 2000 13:59:32 +0000 Subject: Passage en Zinc. Adaptation � Solaris et d�termination auto des chemins dans Makefile. --- Perl/Makefile.PL | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'Perl/Makefile.PL') diff --git a/Perl/Makefile.PL b/Perl/Makefile.PL index a366b55..6e1467f 100644 --- a/Perl/Makefile.PL +++ b/Perl/Makefile.PL @@ -1,17 +1,21 @@ # -# The first argument should be the name of the radar library -# either ptkradar or ptkradr_debug for example. +# The first argument should be the name of the zinc library +# either ptkzinc or ptkzinc_debug for example. The second +# argument is the path to pTk in the system. # use Tk::MMutil; use Tk::Config; Tk::MMutil::TkExtMakefile( - 'NAME' => 'Tk::Radar', - 'OBJECT' => '$(O_FILES)', - 'VERSION_FROM' => 'Radar.pm', - 'XS_VERSION' => $Tk::Config::VERSION, - 'INC' => "-I. -I/usr/lib/perl5/i386-linux/5.004/Tk/pTk", - 'LIBS' => "-L/usr/X11R6/lib -L.. -l$ARGV[0] -lX11"); + 'CC' => 'gcc', + 'LD' => 'gcc', + 'CCCDLFLAGS' => '-fPIC', + 'NAME' => 'Tk::Zinc', + 'OBJECT' => '$(O_FILES)', + 'VERSION_FROM' => 'Zinc.pm', + 'XS_VERSION' => $Tk::Config::VERSION, + 'INC' => "-I. -I$ARGV[1]", + 'LIBS' => "-L/usr/X11R6/lib -L.. -l$ARGV[0] -lX11"); -- cgit v1.1