Commit | Line | Data |
---|---|---|
5aabfad6 | 1 | #! /bin/sh |
873b149f | 2 | # cygwin.sh - hints for building perl using the Cygwin environment for Win32 |
5aabfad6 | 3 | # |
f89d6eaa | 4 | |
8736538c | 5 | _exe='.exe' |
f89d6eaa | 6 | exe_ext='.exe' |
7 | # work around case-insensitive file names | |
8 | firstmakefile='GNUmakefile' | |
9 | sharpbang='#!' | |
10 | startsh='#!/bin/sh' | |
11 | ||
873b149f | 12 | archname='cygwin' |
8736538c | 13 | cc='gcc' |
1cab015a | 14 | libpth='/usr/i586-cygwin32/lib /usr/lib /usr/local/lib' |
f89d6eaa | 15 | so='dll' |
1cab015a | 16 | libs='-lcygwin -lm -lkernel32' |
f89d6eaa | 17 | #optimize='-g' |
873b149f | 18 | ccflags='-DCYGWIN -I/usr/include -I/usr/local/include' |
1cab015a | 19 | ldflags='-L/usr/i586-cygwin32/lib -L/usr/lib -L/usr/local/lib' |
f89d6eaa | 20 | usemymalloc='n' |
873b149f | 21 | dlsrc='dl_cygwin.xs' |
f89d6eaa | 22 | cccdlflags=' ' |
8736538c | 23 | ld='ld2' |
1cab015a | 24 | lddlflags='-L/usr/local/lib' |
8736538c | 25 | useshrplib='true' |
f89d6eaa | 26 | libperl='libperl.a' |
27 | dlext='dll' | |
28 | ||
29 | man1dir=/usr/local/man/man1 | |
30 | man3dir=/usr/local/man/man3 | |
5cf1d1f1 | 31 | |
32 | case "$ldlibpthname" in | |
33 | '') ldlibpthname=PATH ;; | |
34 | esac |