blob: 00d9c32a4dc90bd868a597774c1b1c3ddbf8c06d (
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$ARGV[0]"]);
|