# # 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]"]);