aboutsummaryrefslogtreecommitdiff
path: root/Perl/Makefile.PL
blob: 90b521a7f232cf8640463df36d5f0e7cd0c5ceeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# 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(
			  '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 -lX11 -L.. -l$ARGV[0]"]);