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