Initial commit

This commit is contained in:
椰子 2025-06-15 04:19:58 +08:00
commit 7c6bd698f9
1899 changed files with 405987 additions and 0 deletions

16
.clean Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
rm -rf */OBJ */*/OBJ libs/* incs/*
rm -f core */core */*/core
rm -f .EDT* */.EDT* */*/.EDT*
rm -f .vedt* */.vedt* */*/.vedt*
rm -f *.bak */*.bak */*/*.bak
rm -f */tags */*/tags
rm -f */TAGS */*/TAGS
rm -rf proto/* packages/*
if [ -f .links ]; then
rm -f `cat .links`
fi
find . -name '*.[1-9].html' -perm -u=rw -exec rm {} +

432
.links Normal file
View File

@ -0,0 +1,432 @@
./btcflash/cd_misc.c
./btcflash/io.c
./btcflash/misc.c
./btcflash/scsi_cdr.c
./btcflash/scsi_scan.c
./cdda2wav/acgeneral.m4
./cdda2wav/aclocal.m4
./cdda2wav/acoldnames.m4
./cdda2wav/acspecific.m4
./cdda2wav/autoconf
./cdda2wav/autoconf.m4
./cdda2wav/autoheader.m4
./cdda2wav/cd_misc.c
./cdda2wav/config.guess
./cdda2wav/config.sub
./cdda2wav/install-sh
./cdda2wav/priv.c
./cdda2wav/scsi_cdr.c
./cdda2wav/scsi_scan.c
./mkisofs/diag/scsi.c
./readcd/cd_misc.c
./readcd/misc.c
./readcd/movesect.c
./readcd/priv.c
./readcd/scsi_cdr.c
./readcd/scsi_mmc.c
./readcd/scsi_scan.c
./RULES/9000-710-hp-ux-cc.rul
./RULES/9000-710-hp-ux-cc64.rul
./RULES/9000-710-hp-ux-gcc.rul
./RULES/9000-712-hp-ux-cc.rul
./RULES/9000-712-hp-ux-cc64.rul
./RULES/9000-712-hp-ux-gcc.rul
./RULES/9000-715-hp-ux-cc.rul
./RULES/9000-715-hp-ux-cc64.rul
./RULES/9000-715-hp-ux-gcc.rul
./RULES/9000-725-hp-ux-cc64.rul
./RULES/9000-735-hp-ux-cc.rul
./RULES/9000-735-hp-ux-cc64.rul
./RULES/9000-735-hp-ux-gcc.rul
./RULES/9000-743-hp-ux-cc.rul
./RULES/9000-743-hp-ux-cc64.rul
./RULES/9000-743-hp-ux-gcc.rul
./RULES/9000-755-hp-ux-cc.rul
./RULES/9000-755-hp-ux-cc64.rul
./RULES/9000-755-hp-ux-gcc.rul
./RULES/9000-777-hp-ux-cc.rul
./RULES/9000-777-hp-ux-cc64.rul
./RULES/9000-777-hp-ux-gcc.rul
./RULES/9000-778-hp-ux-cc.rul
./RULES/9000-778-hp-ux-cc64.rul
./RULES/9000-778-hp-ux-gcc.rul
./RULES/9000-780-hp-ux-cc.rul
./RULES/9000-780-hp-ux-cc64.rul
./RULES/9000-780-hp-ux-gcc.rul
./RULES/9000-782-hp-ux-cc.rul
./RULES/9000-782-hp-ux-cc64.rul
./RULES/9000-782-hp-ux-gcc.rul
./RULES/9000-785-hp-ux-cc.rul
./RULES/9000-785-hp-ux-cc64.rul
./RULES/9000-785-hp-ux-gcc.rul
./RULES/9000-800-hp-ux-cc.rul
./RULES/9000-800-hp-ux-cc64.rul
./RULES/9000-800-hp-ux-gcc.rul
./RULES/9000-820-hp-ux-cc.rul
./RULES/9000-820-hp-ux-cc64.rul
./RULES/9000-820-hp-ux-gcc.rul
./RULES/9000-831-hp-ux-cc.rul
./RULES/9000-831-hp-ux-cc64.rul
./RULES/9000-831-hp-ux-gcc.rul
./RULES/9000-899-hp-ux-cc.rul
./RULES/9000-899-hp-ux-cc64.rul
./RULES/9000-899-hp-ux-gcc.rul
./RULES/aarch64-linux-cc.rul
./RULES/aarch64-linux-clang.rul
./RULES/aarch64-linux-clang32.rul
./RULES/aarch64-linux-clang64.rul
./RULES/aarch64-linux-gcc.rul
./RULES/aarch64-linux-gcc32.rul
./RULES/aarch64-linux-gcc64.rul
./RULES/aarch64-sunos5-clang.rul
./RULES/aarch64-sunos5-clang32.rul
./RULES/aarch64-sunos5-clang64.rul
./RULES/aarch64-sunos5-gcc.rul
./RULES/aarch64-sunos5-gcc32.rul
./RULES/aarch64-sunos5-gcc64.rul
./RULES/alpha-linux-cc.rul
./RULES/alpha-linux-gcc.rul
./RULES/alpha-netbsd-cc.rul
./RULES/alpha-netbsd-gcc.rul
./RULES/alphaserver_ds20_500_mhz-openvms-cc.rul
./RULES/amd64-bitrig-clang32.rul
./RULES/amd64-bitrig-clang64.rul
./RULES/amd64-freebsd-cc.rul
./RULES/amd64-freebsd-clang.rul
./RULES/amd64-freebsd-clang32.rul
./RULES/amd64-freebsd-clang64.rul
./RULES/amd64-freebsd-gcc.rul
./RULES/amd64-gnu-kfreebsd-cc.rul
./RULES/amd64-gnu-kfreebsd-gcc.rul
./RULES/amd64-gnu-kfreebsd-gcc32.rul
./RULES/amd64-netbsd-cc.rul
./RULES/amd64-netbsd-gcc.rul
./RULES/amd64-openbsd-cc.rul
./RULES/amd64-openbsd-gcc.rul
./RULES/amiga-netbsd-cc.rul
./RULES/amiga-netbsd-gcc.rul
./RULES/aranym-freemint-gcc.rul
./RULES/arm64-freebsd-clang.rul
./RULES/arm64-freebsd-clang32.rul
./RULES/arm64-freebsd-clang64.rul
./RULES/armv4l-linux-cc.rul
./RULES/armv4l-linux-gcc.rul
./RULES/armv4tl-linux-cc.rul
./RULES/armv4tl-linux-gcc.rul
./RULES/armv5l-linux-cc.rul
./RULES/armv5l-linux-gcc.rul
./RULES/armv5teb-linux-cc.rul
./RULES/armv5teb-linux-gcc.rul
./RULES/armv5tejl-linux-cc.rul
./RULES/armv5tejl-linux-gcc.rul
./RULES/armv5tel-linux-cc.rul
./RULES/armv5tel-linux-gcc.rul
./RULES/armv6l-linux-cc.rul
./RULES/armv6l-linux-gcc.rul
./RULES/armv7l-linux-cc.rul
./RULES/armv7l-linux-gcc.rul
./RULES/atariclone-freemint-gcc.rul
./RULES/atariste-freemint-gcc.rul
./RULES/ataritt-freemint-gcc.rul
./RULES/bemac-beos-gcc.rul
./RULES/bemac-haiku-cc.rul
./RULES/bemac-haiku-gcc.rul
./RULES/cc-clang32.rul
./RULES/cc-clang64.rul
./RULES/cc-gcc32.rul
./RULES/cc-gcc64.rul
./RULES/cc-ibm32.rul
./RULES/cc-ibm64.rul
./RULES/cc-sunpro32.rul
./RULES/cc-sunpro64.rul
./RULES/falcon-freemint-gcc.rul
./RULES/hades-freemint-gcc.rul
./RULES/i386-bitrig-clang.rul
./RULES/i386-cygwin32_nt-cc.rul
./RULES/i386-cygwin32_nt-cl.rul
./RULES/i386-cygwin32_nt-gcc.rul
./RULES/i386-darwin-cc.rul
./RULES/i386-darwin-cc32.rul
./RULES/i386-darwin-cc64.rul
./RULES/i386-darwin-clang32.rul
./RULES/i386-darwin-clang64.rul
./RULES/i386-darwin-gcc.rul
./RULES/i386-darwin-gcc32.rul
./RULES/i386-darwin-gcc64.rul
./RULES/i386-dragonfly-cc.rul
./RULES/i386-dragonfly-gcc.rul
./RULES/i386-freebsd-clang32.rul
./RULES/i386-freebsd-clang64.rul
./RULES/i386-gnu-kfreebsd-cc.rul
./RULES/i386-gnu-kfreebsd-gcc.rul
./RULES/i386-linux-cc.rul
./RULES/i386-linux-gcc.rul
./RULES/i386-linux-suncc.rul
./RULES/i386-nextstep-cc.rul
./RULES/i386-nextstep-gcc.rul
./RULES/i486-cygwin32_nt-cc32.rul
./RULES/i486-cygwin32_nt-cc64.rul
./RULES/i486-cygwin32_nt-gcc32.rul
./RULES/i486-cygwin32_nt-gcc64.rul
./RULES/i486-gnu-kfreebsd-cc.rul
./RULES/i486-gnu-kfreebsd-gcc.rul
./RULES/i486-linux-cc.rul
./RULES/i486-linux-gcc.rul
./RULES/i486-linux-suncc.rul
./RULES/i486-ms-dos-gcc.rul
./RULES/i486-unixware-cc.rul
./RULES/i486-unixware-gcc.rul
./RULES/i586-cygwin32_nt-cc.rul
./RULES/i586-cygwin32_nt-cl.rul
./RULES/i586-cygwin32_nt-gcc.rul
./RULES/i586-gnu-kfreebsd-cc.rul
./RULES/i586-gnu-kfreebsd-gcc.rul
./RULES/i586-linux-cc64.rul
./RULES/i586-linux-clang32.rul
./RULES/i586-linux-clang64.rul
./RULES/i586-linux-gcc32.rul
./RULES/i586-linux-gcc64.rul
./RULES/i586-linux-suncc32.rul
./RULES/i586-linux-suncc64.rul
./RULES/i586-ms-dos-gcc.rul
./RULES/i586-unixware-cc.rul
./RULES/i586-unixware-gcc.rul
./RULES/i686-at386-gnu-cc.rul
./RULES/i686-at386-gnu-gcc.rul
./RULES/i686-cygwin32_nt-cc.rul
./RULES/i686-cygwin32_nt-cl.rul
./RULES/i686-cygwin32_nt-cl64.rul
./RULES/i686-cygwin32_nt-gcc.rul
./RULES/i686-cygwin32_wow-cc.rul
./RULES/i686-cygwin32_wow-cc64.rul
./RULES/i686-cygwin32_wow-cl.rul
./RULES/i686-cygwin32_wow-cl64.rul
./RULES/i686-cygwin32_wow-gcc.rul
./RULES/i686-cygwin32_wow-gcc64.rul
./RULES/i686-cygwin32_wow64-cc.rul
./RULES/i686-cygwin32_wow64-cc64.rul
./RULES/i686-cygwin32_wow64-cl.rul
./RULES/i686-cygwin32_wow64-gcc.rul
./RULES/i686-cygwin32_wow64-gcc64.rul
./RULES/i686-gnu-kfreebsd-cc.rul
./RULES/i686-gnu-kfreebsd-gcc.rul
./RULES/i686-linux-cc.rul
./RULES/i686-linux-gcc.rul
./RULES/i686-linux-suncc.rul
./RULES/i686-linux-suncc64.rul
./RULES/i686-ms-dos-gcc.rul
./RULES/i786-cygwin32_nt-cc.rul
./RULES/i786-cygwin32_nt-cl.rul
./RULES/i786-cygwin32_nt-cl64.rul
./RULES/i786-cygwin32_nt-gcc.rul
./RULES/i786-cygwin32_wow-cc.rul
./RULES/i786-cygwin32_wow-cc64.rul
./RULES/i786-cygwin32_wow-cl.rul
./RULES/i786-cygwin32_wow-cl64.rul
./RULES/i786-cygwin32_wow-gcc.rul
./RULES/i786-cygwin32_wow-gcc64.rul
./RULES/i786-cygwin32_wow64-cc.rul
./RULES/i786-cygwin32_wow64-cc64.rul
./RULES/i786-cygwin32_wow64-cl.rul
./RULES/i786-cygwin32_wow64-gcc.rul
./RULES/i786-cygwin32_wow64-gcc64.rul
./RULES/i786-ms-dos-gcc.rul
./RULES/i86pc-sunos5-cc32.rul
./RULES/i86pc-sunos5-cc64.rul
./RULES/i86pc-sunos5-clang32.rul
./RULES/i86pc-sunos5-clang64.rul
./RULES/i86pc-sunos5-gcc32.rul
./RULES/i86pc-sunos5-gcc64.rul
./RULES/ia64-hp-ux-cc.rul
./RULES/ia64-hp-ux-cc64.rul
./RULES/ia64-hp-ux-gcc.rul
./RULES/ia64-linux-cc.rul
./RULES/ia64-linux-gcc.rul
./RULES/ip17-irix-cc.rul
./RULES/ip17-irix-cc64.rul
./RULES/ip17-irix-gcc.rul
./RULES/ip17-irix-gcc64.rul
./RULES/ip20-irix-cc.rul
./RULES/ip20-irix-cc64.rul
./RULES/ip20-irix-gcc.rul
./RULES/ip20-irix-gcc64.rul
./RULES/ip22-irix-cc64.rul
./RULES/ip22-irix-gcc64.rul
./RULES/ip27-irix-cc.rul
./RULES/ip27-irix-cc64.rul
./RULES/ip27-irix-gcc.rul
./RULES/ip27-irix-gcc64.rul
./RULES/ip28-irix-cc.rul
./RULES/ip28-irix-cc64.rul
./RULES/ip28-irix-gcc.rul
./RULES/ip28-irix-gcc64.rul
./RULES/ip30-irix-cc.rul
./RULES/ip30-irix-cc64.rul
./RULES/ip30-irix-gcc.rul
./RULES/ip30-irix-gcc64.rul
./RULES/ip32-irix-cc.rul
./RULES/ip32-irix-cc64.rul
./RULES/ip32-irix-gcc.rul
./RULES/ip32-irix-gcc64.rul
./RULES/ip35-irix-cc.rul
./RULES/ip35-irix-cc64.rul
./RULES/ip35-irix-gcc.rul
./RULES/ip35-irix-gcc64.rul
./RULES/ldummy.lnk
./RULES/m68k-linux-cc.rul
./RULES/m68k-linux-gcc.rul
./RULES/m68k-nextstep-cc.rul
./RULES/m68k-nextstep-gcc.rul
./RULES/mac68k-netbsd-cc.rul
./RULES/mac68k-netbsd-gcc.rul
./RULES/macppc-netbsd-cc.rul
./RULES/macppc-netbsd-gcc.rul
./RULES/milan-freemint-gcc.rul
./RULES/mips-linux-cc.rul
./RULES/mips-linux-gcc.rul
./RULES/mips64-linux-cc.rul
./RULES/mips64-linux-gcc.rul
./RULES/mips64-linux-gcc32.rul
./RULES/mipsel-linux-cc.rul
./RULES/mipsel-linux-gcc.rul
./RULES/mk-build.id
./RULES/mk-make.id
./RULES/os-cygwin_98-4.0.id
./RULES/os-irix64.id
./RULES/os-openunix.id
./RULES/parisc-linux-cc.rul
./RULES/parisc-linux-gcc.rul
./RULES/parisc64-linux-cc.rul
./RULES/parisc64-linux-gcc.rul
./RULES/parisc64-linux-gcc32.rul
./RULES/pentium-4-unixware-cc.rul
./RULES/pentium-4-unixware-gcc.rul
./RULES/pentium-iii-unixware-cc.rul
./RULES/pentium-iii-unixware-gcc.rul
./RULES/pentium-pro-unixware-cc.rul
./RULES/pentium-pro-unixware-gcc.rul
./RULES/power-macintosh-darwin-cc32.rul
./RULES/power-macintosh-darwin-cc64.rul
./RULES/power-macintosh-darwin-gcc32.rul
./RULES/power-macintosh-darwin-gcc64.rul
./RULES/power-macintosh-mac-os10-cc.rul
./RULES/power-macintosh-mac-os10-gcc.rul
./RULES/ppc-linux-cc.rul
./RULES/ppc-linux-gcc.rul
./RULES/ppc64-linux-cc.rul
./RULES/ppc64-linux-gcc.rul
./RULES/ppc64le-linux-cc.rul
./RULES/ppc64le-linux-gcc.rul
./RULES/r-build.dep
./RULES/r-build.obj
./RULES/r-build.tag
./RULES/r-gmake.obj
./RULES/r-sunpro.tag
./RULES/r-sunpro.obj
./RULES/rs6000-aix-cc32.rul
./RULES/rs6000-aix-cc64.rul
./RULES/rs6000-aix-gcc32.rul
./RULES/rs6000-aix-gcc64.rul
./RULES/s390-linux-cc.rul
./RULES/s390-linux-gcc.rul
./RULES/s390x-linux-cc.rul
./RULES/s390x-linux-gcc.rul
./RULES/sh3-linux-cc.rul
./RULES/sh3-linux-gcc.rul
./RULES/sh4-linux-cc.rul
./RULES/sh4-linux-gcc.rul
./RULES/sh4a-linux-cc.rul
./RULES/sh4a-linux-gcc.rul
./RULES/sparc-bsd-os-cc.rul
./RULES/sparc-bsd-os-gcc.rul
./RULES/sparc-bsd-os3-cc.rul
./RULES/sparc-bsd-os3-gcc.rul
./RULES/sparc-linux-cc.rul
./RULES/sparc-linux-gcc.rul
./RULES/sparc-netbsd-cc.rul
./RULES/sparc-netbsd-gcc.rul
./RULES/sparc-nextstep-cc.rul
./RULES/sparc-nextstep-gcc.rul
./RULES/sparc64-freebsd-cc.rul
./RULES/sparc64-freebsd-gcc.rul
./RULES/sparc64-linux-cc.rul
./RULES/sparc64-linux-gcc.rul
./RULES/sparc64-linux-gcc32.rul
./RULES/sparc64-linux-gcc64.rul
./RULES/sun4-sunos5-cc32.rul
./RULES/sun4-sunos5-cc64.rul
./RULES/sun4-sunos5-clang32.rul
./RULES/sun4-sunos5-clang64.rul
./RULES/sun4-sunos5-gcc32.rul
./RULES/sun4-sunos5-gcc64.rul
./RULES/sun4c-sunos4-cc.rul
./RULES/sun4c-sunos4-gcc.rul
./RULES/sun4c-sunos5-cc.rul
./RULES/sun4c-sunos5-gcc.rul
./RULES/sun4d-sunos5-cc.rul
./RULES/sun4d-sunos5-gcc.rul
./RULES/sun4e-sunos5-cc.rul
./RULES/sun4e-sunos5-gcc.rul
./RULES/sun4L-sunos5-cc.rul
./RULES/sun4L-sunos5-gcc.rul
./RULES/sun4m-sunos4-cc.rul
./RULES/sun4m-sunos4-gcc.rul
./RULES/sun4m-sunos5-cc.rul
./RULES/sun4m-sunos5-gcc.rul
./RULES/sun4u-sunos5-cc.rul
./RULES/sun4u-sunos5-cc64.rul
./RULES/sun4u-sunos5-gcc.rul
./RULES/sun4u-sunos5-gcc64.rul
./RULES/sun4us-sunos5-cc.rul
./RULES/sun4us-sunos5-cc64.rul
./RULES/sun4us-sunos5-gcc.rul
./RULES/sun4us-sunos5-gcc64.rul
./RULES/sun4v-sunos5-cc.rul
./RULES/sun4v-sunos5-cc64.rul
./RULES/sun4v-sunos5-gcc.rul
./RULES/sun4v-sunos5-gcc64.rul
./RULES/x86_64-cygwin32_nt-gcc.rul
./RULES/x86_64-cygwin32_nt-gcc32.rul
./RULES/x86_64-cygwin32_nt-gcc64.rul
./RULES/x86_64-darwin-cc.rul
./RULES/x86_64-darwin-cc32.rul
./RULES/x86_64-darwin-cc64.rul
./RULES/x86_64-darwin-clang.rul
./RULES/x86_64-darwin-clang32.rul
./RULES/x86_64-darwin-clang64.rul
./RULES/x86_64-darwin-gcc.rul
./RULES/x86_64-darwin-gcc32.rul
./RULES/x86_64-darwin-gcc64.rul
./RULES/x86_64-dragonfly-cc.rul
./RULES/x86_64-dragonfly-gcc.rul
./RULES/x86_64-gnu-kfreebsd-cc.rul
./RULES/x86_64-gnu-kfreebsd-gcc.rul
./RULES/x86_64-gnu-kfreebsd-gcc32.rul
./RULES/x86_64-haiku-cc.rul
./RULES/x86_64-haiku-gcc.rul
./RULES/x86_64-linux-cc.rul
./RULES/x86_64-linux-clang.rul
./RULES/x86_64-linux-clang32.rul
./RULES/x86_64-linux-clang64.rul
./RULES/x86_64-linux-gcc.rul
./RULES/x86_64-linux-gcc32.rul
./RULES/x86_64-linux-gcc64.rul
./RULES/x86_64-linux-suncc.rul
./RULES/x86_64-linux-suncc64.rul
./TEMPLATES/cmd.mk
./TEMPLATES/inc.mk
./TEMPLATES/ldummy.lnk
./TEMPLATES/lib.mk
./TEMPLATES/shl.mk
./TEMPLATES/temp-clang32.rul
./TEMPLATES/temp-clang64.rul
./TEMPLATES/temp-gcc32.rul
./TEMPLATES/temp-gcc64.rul
./scgcheck/cd_misc.c
./scgcheck/scsi_cdr.c
./scgcheck/scsi_scan.c
./scgskeleton/cd_misc.c
./scgskeleton/io.c
./scgskeleton/misc.c
./scgskeleton/scsi_cdr.c
./scgskeleton/scsi_scan.c

38
ABOUT Normal file
View File

@ -0,0 +1,38 @@
This package contains the following software:
- cdda2wav (an digital CD audio extraction program)
By Heiko Eißfeldt <heiko@hexco.de> and
by Jörg Schilling joerg.schilling@fokus.fraunhofer.de
- cdrecord (a CD recording program)
By Jörg Schilling <joerg.schilling@fokus.fraunhofer.de>
- mkisofs (an ISO-9660 filesystem image creator)
By Jörg Schilling joerg.schilling@fokus.fraunhofer.de and
by James Pearson <jcpearso@ge.ucl.ac.uk>
- mkhybrid (an ISO-9660/HFS filesystem image creator)
Link to mkisofs
- several diagnostic programs for ISO-9660
- devdump dump a device or file in hex
- isodump dump a device or file based on ISO-9660
- isoinfo analyze or list an ISO-9660 image
- isovfy verify an ISO-9660 image
- readcd (a stripped down version of scgskeleton)
may be used to read data CD's, to write to DVD-RAM
and to copy Solaris boot CD's
By Jörg Schilling joerg.schilling@fokus.fraunhofer.de
- scgcheck (a program to validate the correct behavior
of the low level libscg code and the SCSI transport
code of the underlying OS).
By Jörg Schilling joerg.schilling@fokus.fraunhofer.de
- libscg (a highly portable SCSI transport library)
By Jörg Schilling joerg.schilling@fokus.fraunhofer.de

1607
AN-2.0 Normal file

File diff suppressed because it is too large Load Diff

1496
AN-2.01 Normal file

File diff suppressed because it is too large Load Diff

3654
AN-3.00 Normal file

File diff suppressed because it is too large Load Diff

2173
AN-3.01 Normal file

File diff suppressed because it is too large Load Diff

218
AN-3.02a01 Normal file
View File

@ -0,0 +1,218 @@
***************** Important news ****************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a01:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- As the defective typedef for idtype_t is already in NetBSD-5,
we added a workaround based on a new related autoconf test.
Thanks to Heiko Eißfeldt for reporting.
- Added support to compile on "Bitrig", an OpenBSD fork for non
automake aware make implementations like gmake.
Thanks to Heiko Eißfeldt for reporting.
- Added an autoconf test for tcgetsid()
Libschily:
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
- libfind: a final workaround for the problems with vfork() in the linux
system include files has been introduced and a variable has been declared
volatile.
- libfind no longer uses gettext() but dgettext() and thus no longer
destroys the message binding from the Bourne Shell
- libfind: find -mtime +2s -mtime +20s now works, as file timestamps
are now compared to the current time. Before, the current time +60s
was used - a timestamp that is needed for switching between both
time stamp variants for -ls.
Libhfs_iso:
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
- libparanoia: Make abs() a self defined macro as ISO-C defines abs()
to be a function with int parameter.
Thanks to Heiko Eißfeldt for reporting.
- libparanoia: work around a bug that resulted from uninitalized
statistics data for C2 checks in case that C2 checking was disabled.
Thanks to Heiko Eißfeldt for reporting.
Libscg:
- libscg: added a new error code to make search for the right
device node work again with newer OpenBSD versions.
Thanks to Heiko Eißfeldt.
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
- The man page now mentions that root-less operation is possible with
Solaris fine grained privileges or Linux capabilties.
- The man page now mentions the SCSI CAM standard for dev=
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- cdda2wav: Comparison of function name with NULL replaced with
comparison of function pointer with NULL.
Thanks to Heiko Eißfeldt for reporting.
- cdda2wav: Do no longer initialize the sound card from the main process
as pulseaudio does not follow UNIX rules for forked processes.
Thanks to Heiko Eißfeldt.
- cdda2wav: Fixed a bug in the DMA residual computation for the C2 read
functions where a wrong divisor (2353 instead of 2646) was used.
Thanks to Heiko Eißfeldt for reporting.
- cdda2wav: Heiko make the audio output work on OpenBSD
- cdda2wav: Heiko added code for pulseaudio support in Linux
- cdda2wav: Fixed a typo ("KHz" -> "kHz")
- cdda2wav: fixed a problem related to position differences between
the CD extract part and the filesystemwrite part.
- cdda2wav: We now include "c2check" in the paranoia mode "proof"
again and fallback to a non-C2 mode in case the drive does not
support C2checks.
- The man page now mentions the SCSI CAM standard for dev=
Readcd:
- The man page now mentions the SCSI CAM standard for dev=
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs: HFS creation: fixed comparison of array with 0 to become
comparison of array value with 0.
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

199
AN-3.02a02 Normal file
View File

@ -0,0 +1,199 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a02:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- Makefile system: the rules for running "configure" have been changed so
that an updated autoconf/configure file only results in a single
"configure" run as now, the two resulting files are both removed before
"configure" is called.
- Trying to support "Minix" and "Bitrig" in config.guess and config.sub.
- Added support for Minix 3 in the makefile rules.
Thanks to Heiko Eißfeldt for reporting.
Note that there is no SCSI pass through driver support for Minix.
- Minix and Bitrig seem to have tsort, lorder and ranlib.
Libschily:
- libschily/renameat.c now includes stdio.h as POSIX requires
stdio.h to be included for rename()
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
Libhfs_iso:
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
- libparanoia: Avoid GCC uninitialized warning even though the main
problem was fixed some time ago already.
Thanks to Heiko Eißfeldt for reporting.
Libscg:
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
- cdrecord & cdda2wav: POSIX real time scheduling is no longer
used in case that sched_setscheduler() is missing. Minix comes
with miss-configured system include files that announce the
presence of sched_setscheduler() but the functions are not
implemented.
Thanks to Heiko Eißfeldt for reporting.
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- cdda2wav: man page now mentions that Heiko modified source code
in 2015
Readcd:
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs -> isoinfo: Implement a workaround for filesystem images that
have been created with "mkisofs -r" and add directory write permission
for the owner if not run by root.
- mkisofs -> isoinfo: Call chmod() after chown() to avoid a reset
of the suid and sgid bits.
- mkisofs -> isoinfo: Skip the "rr_moved" directory in Rock Ridge mode.
- mkisofs -> isoinfo: Support for following relocated Rock Ridge
directories was added.
- mkisofs/diag/isoinfo.c: removed an unused variable.
- mkisofs/diag/isoinfo.c: The "todo" directory list handling was
rewritten to speed up things by not looping over the whole
list anymore everytime a new directory is added.
- mkisofs/diag/isoinfo.c: Abort with error message when malloc()
returns NULL.
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

193
AN-3.02a03 Normal file
View File

@ -0,0 +1,193 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a03:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- An autoconf test was added for the include file posix/malloc.h from Haiku
- An autoconf test was added to check whether waitpid() supports the flag
WNOWAIT. This flag was added by AT&T/Sun for SVr4 in 1989 for both
waitid() and waitpid() but it seems to be unimplemented on various platforms.
Thanks to Heiko Eißfeldt for reporting.
- New autoconf test for AIX arpa/aixrcmds.h
- include/schily/netdb.h now may #include <arpa/aixrcmds.h>
- inc/align_test.c avoids some warnings with GCC-4.8.3
- Make rs6000-aix-gcc.rul aware of 64 bit support and create links:
rs6000-aix-gcc32.rul rs6000-aix-gcc64.rul
- Trying to make rs6000-aix-cc.rul aware of 64 bit support and
create links:
rs6000-aix-cc32.rul rs6000-aix-cc64.rul
Note that this code could not yet be tested because of the lack of a
compiler
- Trying to add support for CCOM=gcc64 on IRIX
Libschily:
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
Libhfs_iso:
Libmdigest:
- libmdigest: sha3 support was added
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Readcd:
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs: some structure part copies have been rewritten to avoid compiler
warnigs about virtual variable overrun.
Thanks to Heiko Eißfeldt for reporting.
- mkisofs: Both UDF volume descriptors need to have the same ID that is
derived from the time. Thanks to a report and patch from:
"Ganssauge, Gottfried" <Gottfried.Ganssauge@haufe-lexware.com>
- mkisofs/diag all diagnostic helper programs had a typo in the usage()
-inore-errs instead of -ignore-errs
Thanks to Heiko Eißfeldt for reporting
- mkisofs/diag/isoinfo.c: add a directory loop regognition to avoid
endless loops that eat up all memory with file system images that
contain loops.
Thanks to Heiko Eißfeldt for doing some handcrafted
tests based on iso images created by "american fuzzy lop".
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

204
AN-3.02a04 Normal file
View File

@ -0,0 +1,204 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a04:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- Added new files RULES/os-mingw32_nt-6.*.id
- include/schily/stdint.h Better comment on how to set up an unsigned
with the positive value of TYPE_MINVAL(type).
Libschily:
- libschily: New file astoul.c
- libschily: astoi.c now supports ERANGE and parsing TYPE_MINVAL(long)
- libschily: astoll.c now supports ERANGE and parsing TYPE_MINVAL(long long)
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
Libhfs_iso:
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- cdda2wav: A new local autoconfiguration from Heiko Eißfeldt that
is indended to better deal with incomplete Linux installations
Readcd:
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs/diag/isoinfo.c: fixed directory loop recognition.
- mkisofs/diag/isoinfo.c: now adds write permission to directories only
temporarily.
- mkisofs/diag/isovfy.c add a directory loop recognition to avoid
endless loops that eat up all memory with file system images that
contain loops.
- mkisofs: make sure that the stream media filename honors the
-omit-version-number option
- mkisofs: use the correct directory size for the stream media filename.
mkisofs did write 1 Byte too few data in case of an odd file name length.
- mkisofs/diag all diagnostic helper programs had a typo in the usage()
speficied instead of specified
- mkisofs + diag all diagnostic helper programs have been vulnerable
to endless loops when a defective iso image with Rock Ridge was read.
Thanks to Heiko Eißfeldt for running related automated tests.
- mkisofs: avoid an endless loop in multi session mode and with certain
defective ISO filesystem images.
- mkisofs now includes DVD-Audio support. To impelemt this, the automated
sort routine for DVD/audio/video has been replaced. If there are any
problems, please recompile with "smake COPTX=-DOLD_DVD_WEIGHTS" test
and report.
IMPORTANT: This modification may affect the rare but exitent problem
with DVD-Video that aborts with:
"Implementation botch. Video pad for file %s is %d\n"
because of a negative patch value. It may be that the old weighting
algorith let some files slip through the mesh and did not sort them
so such a file could appear on a wrong position on the medium. Please
test and report.
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

187
AN-3.02a05 Normal file
View File

@ -0,0 +1,187 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a05:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- include/schily/prototyp.h now defines ALERT to abstract from
the K&R C vs. ANSI C and the missing support for \a in K&R C
Libschily:
- libschily/getfp.c Try to disable the address sanitizer for getfp()
to avoid unhelpful messages.
Thanks to a hint from Heiko Eißfeldt.
- libschily/searchinpath.c Avoid a memory leak on platforms that do not
support getexecname()
Thanks to a hint from Heiko Eißfeldt.
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
Libhfs_iso:
Libmdigest:
- libmdigest: sha3 entry function names changed to match
other digest functions.
- libmdigest: the shared library mapfile now includes the sha3 functions
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Readcd:
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs: Avoid coredumps from dereferencing NULL pointers with some
kind of rotten iso images when in multi session mode.
Thanks for Heiko Eißfeldt for reporting this problem based on a test
using "The American fuzzy lop".
- mkisofs: Avoid coredumps from dereferencing NULL pointers with some
kind of rotten iso images when in multi session mode and other incorrect
length computations. This in special means multi.c
Thanks for Heiko Eißfeldt for reporting and for doing a code review.
- mkisofs: Avoid to address wrong memory when scanning old ISO images.
Thanks for Heiko Eißfeldt for reporting and for doing a code review.
- mkisofs/joliet.c: convert_to_unicode() no longer tries to access the
input string past the null byte.
Thanks to a hint from Heiko Eißfeldt.
- mkisofs/write.c: mkisofs -sort with multi extent files (files > 4 GB)
no longer computes the size of the file twice while computing the
start sectors for files.
Thanks to a report from Arpad Biro <biro.arpad@gmail.com>
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

204
AN-3.02a06 Normal file
View File

@ -0,0 +1,204 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a06:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
Libschily:
- libschily: fprformat.c now compiles with format.c in a way that is useful
on all possible targets by implementing a double buffered macro based
internal method for fprfprmat().
This is aprox. 10% slower than the previous single buffered solution for
Solaris (based on the putc_unlocked() macro) but it works anywhere and
it does not have the problems with unbuffered streams (like stderr)
that have been seen on Solaris since fprformat() was introduced in 2013.
- libschily: js_printf() and js_fprintf() now by default uses fprfprmat()
on all platforms. This reduces the performance on Solaris by 10% but it
enhances the performance on all other platforms. Our "od" implementation
via "hdump" is now 70% faster than "gnu od" on Linux instead of
being 50% faster before that change. It seems to be a good idea to get
a fast and POSIX compliant "od" implementation on Linux.
- Some typos in some manpages have been fixed.
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
Libhfs_iso:
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
- libscg: fix a comparison with the timeout value that was wrong
because of a wrong copy/paste action. This code fragment is
used when the Linux kernel returns unspecific SCSI error codes
and previously caused cdrecord to incorrectly assume a timeout
that than incorrectly stopped the write operation.
- libscg: added a debug message (in non-silent mode) that prints
the sg_io.host_status value in case of unknown states.
- libscg: A new interface function "scg_opts()" has been introduced to parse
and set op generic SCSI options. The only new implemented general option
for now is: "ignore-resid". This option was introduced in order to be able
to work around a Linux kernel bug that results in a DMA residual count
!= 0 even though all data was transferred.
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
- cdrecord: A new option scgopts=list has been introduced. Call
"cdrecord scgopts=ignore-resid ..." in order to work around the mentioned
Linus kernel bug.
- cdrecord: The man page now also mentions scgopts=ignore-resid
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- cdda2wav: A new option scgopts=list has been introduced.
Readcd:
- readcd: A new option scgopts=list has been introduced.
Scgcheck:
- scgcheck: A new option scgopts=list has been introduced.
Scgskeleton:
- scgskeleton: A new option scgopts=list has been introduced.
Btcflash:
- btcflash: A new option scgopts=list has been introduced.
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs call free(mroot) in main to quiet the address sanitzier.
Thanks to Heiko Eißfeldt for reporting.
- mkisofs: better error messages for rotten ISO-9660 directories
that are encountered in multi-session mode.
Thanks to Heiko Eißfeldt for reporting.
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

258
AN-3.02a07 Normal file
View File

@ -0,0 +1,258 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a07:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- REAME.compile: added documentation on how to compile with clang
- README.SCCS has been enhanced and now documents compile time and
installation options.
- "cstyle", "installman" and other new targets have been added to the makefile
system
- Rules for the automated testing "make tests" added to the makefile system
- include/schily/wait.h reworked
- include/schily/stdio.h enhanced to include speed up code got getc() with
Solaris 64 bit compilations.
- New autoconf test for haiku posix/malloc.h
- New autoconf test for arpa/aixrcmds.h
- New autoconf test for tcgetsid()
- New autoconf test whether waitpid() supports NOWAIT
- New autoconf test whether we have d_type in struct dirent
Libschily:
- libschily/jsdprintf.c added
- libschily/movecbytes.c added
- libschily/astoi.c and libschily/astoll.c now check for overflows
and report ERANGE
- libschily/*printf.c now support a locale dependent decimal separator
- libschily/format.c (the printf worker code) has been enhanced to
be faster with STDIO on most platforms.
- libschily: getargs, getallargs and getfiles man pages have been reworked
- libschily/getargs.c: combined single char boolean flags now work
with callback type formats.
- libschily/searchinpath.c added a new flag SIP_NO_STRIPBIN
- libschily/stdio/fgetline.c now includes a speedup for AT&T stdio using
the new movecbytes()
- libschily/stdio/fgetstr.c now includes a speedup for AT&T stdio using
the new movecbytes()
- libschily/stdio/getdelim.c now includes a speedup for AT&T stdio using
the new movecbytes()
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- libedc_ecc_dec: Avoid an array out of bound subscription. Thanks to
Heiko Eißfeldt for cheking the code after a compiler warning.
Libfile:
Libfind:
- libfind: the code now supports the *BSD enhancement "d_ino" in struct dirent.
This speeds up stat()less jobs.
Libhfs_iso:
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- cdda2wav: Many small rewrites from Heiko Eißfeldt, mainly to reduce the
scope of variables and to correctly use the "%u" printf format for
unsigned variables.
Readcd:
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs/mac_label.c: fixed a file descriptor leak
Thanks to heiko Eißfeldt for reporting.
- mkisofs: Allow to compile the code again when USE_FIND APPLE_HFS_HYB
APPLE_HYB UDF DVD_AUD_VID are not #define'd Thanks to a hint from
Colin Finck <colin@reactos.org>
- mkisofs: mkisofs -version now mentions James Pearson and HELIOS GMBH
- mkisofs: the getvargs() call now honors the parameter order change in
libschily::getvargs().
- mkisofs: when stripping off "./" and "//" from graft points, mkisofs
now uses ovstrcpy() that supports to copy overlapping strings as Mac OS
has a strlcpy() that fails with overlapping strings.
Thanks to a hint from Colin Finck <colin@reactos.org>
- mkisofs: the function prototype readsecs() is now available even when
USE_SCG is not defined.
Thanks to a hint from Colin Finck <colin@reactos.org>
- mkisofs: The option -no-cache-inodes is available again in all compile
versions.
- mkisofs: Some unused variables have been removed.
- mkisofs: New option -isort behaves like -sort but ignores the case of
filenames in the sort file.
- mkisofs: new option -hide-ignorecase allows to ignore case with the
-hide* options and with -exclude-list
- mkisofs: New option -no-allow-lowercase allows to revert the effect to
-allow-lowercase from macro options like -untranslated-filenames or
-iso-level 4
- mkisofs: New option -duplicates-once to hard link identical files even
on non POSIX platforms.
The code was modeled similar to the code from
Alex Kopylov cdrtools@bootcd.ru but better fits into the idea of
current versions of mkisofs
- mkisofs: defaults.h no longer sets the system to "UNIX" if it was
compiles by MSVC.
Thanks to Collin Finck colin@reactos.org for reporting
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

218
AN-3.02a08 Normal file
View File

@ -0,0 +1,218 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a08:
WARNING: cdrtools-3.02a08 only has been distributed as part of "schilytools".
See http://sourceforge.net/projects/schilytools/files/schily-2017-03-30.tar.bz2
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- README.compile was updated and made more readable.
- The file README.compile now explains how to compile with the
gcc address sanitizer and with afl-gcc (American Fuzzy Lop).
Thanks to a hint from Heiko Eißfeldt.
- A typo in the autoconf file xconfig.h.in has been fixed
- The auto configuration code now avoids to #define HAVE_SUN_ACL
when HAVE_POSIX_ACL has already been #defined.
This is needed in order to make everything compile again under
recent Cygwin versions.
NOTE: Cygwin used to implement the Sun UFS ACL interface but recently
changed to the POSIX draft that has been withdrawn in 1997.
Thanks to a hint from Thomas Plank <tplank@gmx.at>
- include/schily/schily.h: better comment
Libschily:
- libschily: added a missing null-byte to the filename in the
opendir() emulation for Win-DOS.
Thanks to Collin Finck colin@reactos.org for reporting
- libschily: The movebytes() man page now mentions other *bytes()
functions.
- libschily: cmpbytes() new man page
- libschily:comexit() the memory allocated via on_comerr() is now
freed with comexit().
Thanks to a hint from Heiko Eißfeldt.
Libcdrdeflt:
Libdeflt:
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
Libfile:
Libfind:
Libhfs_iso:
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- Cdda2wav: changed the variable userverbose from "int" to "long".
This is needed as getargs() always uses a long * argument for a
function for a callback option. The result of this bug was that
"cdda2wav -vall" did set the output fd to 0 and as a result,
error messages have been printed to stdin instead of stderr.
This of course created problems with GUI frontends if the
cdda2wav binary was a 64-bit binary.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
- Cdda2wav: cdda2wav out-fd=2 no longer delays the output because the
output is buffered.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
- Cdda2wav: modified the man page to make it obvious that the new cdda2wav
auto-detects whether a drive supports to read C2-error lists.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
- Cdda2wav: added a workaround for a problem caused by a Linux stdio bug
that causes "stderr" to be buffered even though POSIX requires it
to be unbuffered.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
Readcd:
Scgcheck:
Scgskeleton:
Btcflash:
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs no longer needs -no-cache-inodes to make -duplicates-once
work on UNIX.
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

514
AN-3.02a09 Normal file
View File

@ -0,0 +1,514 @@
***************** Important news ******************************
For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
***************** Please Test *********************************
NEW features of cdrtools-3.02a09:
This is the first localization step for cdrtools. All programs now (hopefully)
call gettext() for all strings that need localization.
- The next step will include dgettext() calls for the libraries.
- The following step will include the extracted strings
- The last step will include German translations and install support
for the resulting binary message object files.
----------> Please test and report compilation problems! <---------
***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
***** call all programs from cdrtools in the "C" locale *****
***** by e.g. calling: LC_ALL=C cdrecord .... *****
***** unless these frontends support localized strings *****
***** used by the cdrtools with NLS support. *****
This version compiles on Win-DOS using the Microsoft compiler cl.exe but
warning: due to missing POSIX compliance with basic features (e.g. stat()
does not return inode numbers), there are many problems with the resulting
code and thus it is recommended to better use a POSIX layer on top of
WIN-DOS.
*** WARNING ***
*** Need new smake ***
*** Due to the fact that schily-2014-04-03 introduced to use new macro
*** expansions and a related bug fix in smake, you need a new smake
*** to compile this source. To ensure this, get a recent "schily"
*** tarball from http://sourceforge.net/projects/schilytools/files/
*** and call:
cd ./psmake
./MAKE-all
cd ..
psmake/smake
psmake/smake install
The new smake version mentioned above is smake-1.2.4.
Note that smake-1.2.5 exists and is preferrable.
Now you have a new smake that is able to compile this source.
Note that the major makefile restructuring introduced in
schily-2014-04-03 is now more than one month ago and thus seems
to work without problems.
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thoroughly.
Please report problems!
All:
- RULES/cc-*.rul: The compiler files without C++ support no longer
have a tab after $(NUMBER_SIGN) as this prevents the intended use case.
- RULES/9000-725-hp-ux-gcc.rul and RULES/cc-hp.rul now support creating
shared libraries by using "ld -b" instead of using the compiler to
link.
- RULES/*haiku-*.rul The rules for shared libraries now work
Thanks to a report from Heiko Eißfeldt
- RULES/cc-*.rul: added a LIB_C=-lc to prepare compilation on Haiku
- RULES/bepc-haiku-cc.rul and RULES/bepc-haiku-gcc.rul: Added LIB_C=
to clean the name of libc on Haiku that does not have libc.
We need to link all shared libraries against -lc in case they use
system interfaces but are not allowed to do the same on Haiku.
Thanks to a report from Heiko Eißfeldt
- Schily Makefilesystem: Use the correct rules to create shared libraries
on Cygwin. Before this release, shared libraries with Cygwin have not
been tested and the old rules have been guessed.
- RULES/rules.ins: fixed a typo in the symlink install rule
- RULES/rules.top: we now clear the macro COMPILE.cc= from SunPro make
as well, in order to get our definition from the Schily Makefilesystem.
Before, when using SunPro Make, C++ code was compiled without enabling
the optimizer, as the SunPro Make default rule definition was used.
- RULES/: Since SunPro Make from Schilytools now supports multiple
includes with a single include directive, we added a new configuration
for a SunPro Make that itself identifies now as "sunpro" via MAKE_NAME.
- DEFAULTS/Defaults.cygwin*: We no longer read the Microsoft configuration
for cl.exe except when the makeprogram in use is "smake". This is needed
as neither GNU make nor SunPro make support spaces in filenames and
SunPro make aborts in case ".NO_WARN: :=" from DEFAULTS/vc7-cygwin-setup
is seen.
Thanks to Heiko Eißfeldt for reporting
- autoconf: now checks for the existence of "tsort" and "lorder"
in order to help to compile on the new platform "aarch64" for Solaris.
This platform is currently still missing many of the ELF tools and
thus "lorder"
- Schily Makefilesystem: Changed $(MAKE) -> "$(MAKE)"
Thanks to Heiko Eißfeldt for reporting
- Schily Makefilesystem: added a new target "uninstall" that removes
all non-directory type files that previously may have been installed via
the "install" target.
Thanks to a report from Michael Siegel
- Schily Makefilesystem: RULES/rules.loc and RULES/rules.man have been
made safe against a parallel make program like SunPro Make.
Thanks to a report from Heiko Eißfeldt
- The Schily Makefilesystem now uses .PHONY again (and no longer "FRC")
unless the make program was identified as an old unfixed "SunPro Make"
from Sun or Oracle.
- README.compile now better explains that CCOM= does not just set the
C-compiler but the compiler family that includes a C++ compiler.
- New include file include/schily/strar.h
- include/schily/device.h: XDEV_T is now Ullong. This file was forgotten
to distribute with schilytools-2017-10-10. The change is however needed
for a bugfix in "star".
- include/schily/archdefs.h: With Sun Studio-12.4 on Oracle Solaris-11.2,
we had a problem with __SUNPRO_C and needed to change it to __IS_SUNPRO_C
Thanks to Jens Elkner for reporting.
- include/schily/maxpath.h now supports MAXNAMELEN to help with SunPro Make
- include/schily/unistd.h extern char **environ is now in the
cplusplus guard
- include/schily/libport.h no longer uses a formal parameter named "new" in
order to avoid problems with C++
- configure: Added tests for isblank() and iswblank() that have not
been available in historix UNIX.
- autoconf/config.sub now groks ppc64 on Linux.
- autoconf: new tests for ar.h and rpc/rpc.h
- autoconf: new test for semaphore.h
- autoconf now checks for "libelf" and "libelf.h". This is needed for
libmakestate that is part of SunPro Make. Libmakestate is based on the
standard libelf that is not part of all platforms.
- autoconf now first checks whether the pthread*() functions are in libc
before checking for -lpthread. This helps to avoid to link against
libpthread on Solaris.
- autoconf/config.sub now knows the architecture "aarch64". This
helps to deal with Solaris and Linux on the Raspberry Pi3 and the
Odroid C2.
- autoconf/config.guess now knows the architecture "aarch64" for Solaris.
This helps to deal with Solaris on the Raspberry Pi3 and the Odroid C2.
- autoconf: now checks for the existence of "tsort" and "lorder"
in order to help to compile on the new platform "aarch64" for Solaris.
This platform is currently still missing many of the ELF tools and
thus "lorder"
- RULES/MKLINKS: New links for RULES/aarch64-sunos5-gcc*.rul and
RULES/aarch64-sunos5-clang*.rul have been added.
- RULES/rules.ins: before installing symlinks or hardlinks, the
directory the links are in is made.
- RULES: Added a new method that allows to skip building C++ based code
in case we are on a platform that does not support a C++ compiler.
This is needed for SunPro Make that was written on C++.
Note that if you are e.g. on SunOS-4.x where the system does not include
a C++ compiler, compiling with CCOM=cc will skip SunPro Make, but
using CCOM=gcc on the same platform will compile SunPro Make.
- DEFAULTS_CSW/Defaults.sunos5 now uses the same enhanced optiomization
for C++ as used for C. This helps to compile the new SunPro Make
sources.
- README.compile: The documentation for using the Address Sanitizer was
enhanced.
- README.compile now better explains that CCOM= does not just set the
C-compiler but the compiler family that includes a C++ compiler.
- configure: The tests for -lsocket and for -lnsl/-lnetwork
have been better separated to correctly recognize -lnetwork
on Haiku.
Thanks to a report from Heiko Eißfeldt
- configure: the vfork() test has been enhanced to check whether
a modification in the data segment of the child affects the
parent as well. This feature is used (needed) by the Bourne Shell
to signal a ENOEXEC case for shell scripts to the parent and in
general to report the reason for a failed execve() call back
to the parent.
Note that vfork() in Haiku does not share data and thus canot
be used by the Bourne Shell.
- configure: a new test AC_STAT_FILES has been written to replace
AC_CHECK_FILES. AC_CHECK_FILES does not work on Haiku due to
a bug in "bash" that makes "test -r /dev/stdin" to report an exit
code of 0 even though the file /dev/stdin does not exist.
- conf/oarch.sh: Fixed a typo that caused oarch to output e.g.
i686-cygwin_nt-5.1-cc
instead of
i686-cygwin32_nt-cc
Thanks to Heiko Eißfeldt for reporting
- inc/avoffset.c: added a workaround for a clang bug with FreeBSD on ARM64.
clang creates incorrect code for a while loop that results in an endless
loop. The last line in that while loop is never executed. It turned
out that adding
read(-1, "", 0);
at the beginning of the while loop works around the clang bug.
Thanks to Robert Clausecker for reporting.
- inc/avoffset.c: added a workaround for a problem with clang that causes
the function stack_direction() to be inlined even though this was never
requested.
Libschily:
- libschily::getargs.c: Added a new flag that allows to implement POSIX
option rule #5:
One or more options without option-arguments, followed by
at most one option that takes an option-argument, should be
accepted when grouped behind one '-' delimiter.
This new mode is needed to implement spax with a POSIX compliant CLI.
- libschily: The environment "COMERR_EXCODE" now directs the comerr()
group of functions not to map exit codes to -64 in case they are
ambiguous to callers of the historic wait() call.
If you like to get the unmodified exit code, use the "new" (since 1989)
POSIX waitid() call and add the "COMERR_EXCODE" before creating
the child process.
- libschily: Addd a implementation for the functions:
wctype() and iswctype() to allow porting to older platforms.
- libschily: New pattern matcher functions
patmbmatch() and patmblmatch()
support multi byte strings with a wchar_t * pattern. The pattern is
a wide char string for performance reasons.
- libschily::match.c Added support for '[:alpha:]' and similar.
This is needed to make patmatch() POSIX compliant.
We still miss support for '[=char=]' and '[.char.]'.
- libschily: added a missing null-byte to the filename in the
opendir() emulation for Win-DOS.
Thanks to Colin Finck colin@reactos.org for reporting
- libschily: The movebytes() man page now mentions other *bytes()
functions.
- libschily: cmpbytes() new man page
- libschily::fnmatch.c The code was rewritten to avoid recursion
using the recent code from FreeBSD.
- libschily::fnmatch.c The behavior with a pattern that ends in
a single escape character ('\') was modified to match the
current POSIX text and the implementation from Sun/IBM/HP, see
http://austingroupbugs.net/view.php?id=806
- libschily::fnmatch.c Added support for '[:alpha:]' and similar.
This is needed to make fnmatch() POSIX compliant.
We still miss support for '[=char=]' and '[.char.]'.
- libschily::fnmatch(): The POSIX specifiers [:upper:] and [:lower:] now
work together with FNM_CASEFOLD.
- libschily::format.c: a former "long" parameter in the format() routine
has been changed to be now "void *". This is needed as sizeof(long)
is less than sizeof(void *) on Win-DOS-64. This caused the printf()
implementation from libschily to fail on Win64.
Thanks to Colin Finck from the ReactOS team for reporting.
- libschily: format() (the printf worker) now supports the floating
point formats: 'E', 'F', 'G'.
- libschily/fstream.c: fsgetc() now allows to return more expeptional
return values from the transfer callback function. Before, only
0 and EOF have been supported, now other negative values are OK as well.
- libschily: added a va_end() call after a va_copy()
call in getargs.c
Thanks to Heiko Eißfeldt for reporting
Libcdrdeflt:
Libdeflt:
- libdefault: Avoid a possible double fclose() call.
Thanks to Heiko Eißfeldt for reporting
Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- libedc: avoid a free()less malloc() in the speedtest
program.
Thanks to Heiko Eißfeldt for reporting
Libfile:
- libfile: better realloc() handling in case of a failure.
Thanks to Heiko Eißfeldt for reporting
Libfind:
- libfind: use $(LIB_INTL) to support Cygwin when creating a shared library
- libfind: As libfind uses fnmatch(), it now supports
[[:alpha:]] with "-name" and "-path" in case the schily version of
fnmatch() is used.
Libhfs_iso:
- libhsf: removed a superfluous "*/" in DEBUG code.
Thanks to a report from Heiko Eißfeldt
Libmdigest:
Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu):
Libscg:
- libscg::scsi-vms.c: abort scg__open() in case that "busno"
has an illegal value. This avoids using uninitialized data
as index in an array.
Thanks to Heiko Eißfeldt for reporting
- libscg: scsi-wnt.c corrected the DMA size for the WIN drive type inquiry.
Libscgcmd:
Libsiconv:
Rscsi:
Cdrecord:
- cdrecord: man page now mentions the exit code
- cdrecord: updated the man page to list the names of the drives that support
the defpregap= option.
- cdrecord::subchan.c changed #ifdef sss -> #if 0 to calm down a
static code analyzer.
Thanks to Heiko Eißfeldt for reporting
- cdrecord: the man page now comes with an enhanced section
"EXIT STATUS"
Thanks to a report from Mathias <dl2gmb@netscape.net>
Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de):
- cdda2wav: a patch from Heiko Eißfeldt results in only trying
to read the ISRC values for the tracks that should be extracted
later.
- cdda2wav man page: The man page now mentions that c2check should always be
used with "proof" in case the drive supports it.
- cdda2wav: The output is now unbuffered in case it has been redirected using
the out-fd=# option.
Thanks to a report from Mathias <dl2gmb@netscape.net>
- Cdda2wav: changed the variable userverbose from "int" to "long".
This is needed as getargs() always uses a long * argument for a
function for a callback option. The result of this bug was that
"cdda2wav -vall" did set the output fd to 0 and as a result,
error messages have been printed to stdin instead of stderr.
This of course created problems with GUI frontends if the
cdda2wav binary was a 64-bit binary.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
- Cdda2wav: modified the man page to make it obvious that the new cdda2wav
auto-detects whether a drive supports to read C2-error lists.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
- Cdda2wav: added a workaround for a problem caused by a Linux stdio bug
that causes "stderr" to be buffered even though POSIX requires it
to be unbuffered.
Thanks to a hint from Thomas Niederreiter <tn@xcdroast.org>
Readcd:
- readcd: man page now mentions the exit code
Scgcheck:
Scgskeleton:
Btcflash:
- btcflash: added a missing (but not really needed) free()
and fclose() call.
Thanks to Heiko Eißfeldt for reporting
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
- mkisofs::apple_drive.c added a missing fclose(fp);
Thanks to Heiko Eißfeldt for reporting
- mkisofs::vms.c corrected a typo and now call ISO_ROUND_UP(use) instead
of ROUND_UP(use)
Thanks to Heiko Eißfeldt for reporting
- A better documentation for -D was added to the man page.
HELIOS TODO:
- Add the HELIOS UNICODE mapping code. This needs to be done
at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
for Rock Ridge (in case of a UTF-8 based target locale) using
UTF-8 based translations.
- Make the Apple extensions work again with "mkisofs -find"
TODO:
- read Joliet filenames with multi-session if no TRANS.TBL
or RR is present. I am looking for a volunteer for this task!
Note that this can never be 100% correct as there is no relation
between the names on the master (UNIX) filesystem, the ISO-9660
names and the Joliet names. Only the Rock Ridge names are
untranslated with respect to the original files on the
master (UNIX) filesystem.
- add libecc/edc for CDI and similar.
CYGWIN NT-4.0 NOTES:
To compile on Cygwin32, get Cygwin and install it.
For more information read README.win32
The files are located on:
http://sourceforge.net/projects/cdrtools/files/alpha/ ...
NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
minor trouble. If you like a 100% POSIX compliant tar, get star from
http://sourceforge.net/projects/s-tar/files/ of from the schily-*
tarball at: http://sourceforge.net/projects/schilytools/files/
WARNING: Do not use 'winzip' to extract the tar file!
Winzip cannot extract symbolic links correctly.
Joerg

764
BUILD Normal file
View File

@ -0,0 +1,764 @@
# @(#)README.compile 1.35 17/11/28 Copyright 1997-2017 J. Schilling
Short overview for those who don't read manuals:
Calling configure manually is outdated because this is a task of the
makefile system.
There is no 'configure', simply call 'make' on the top level
directory.
***** If this does not work for you, read the rest if this file *****
***** If you have any problem, also first read the topic specific *****
***** README.* files (e.g. README.linux for Linux problems). *****
All results in general will be placed into a directory named
OBJ/<arch-name>/ in the current projects leaf directory.
You **need** either the Schily "smake" program, the SunPRO make
from /usr/bin/make (SunOS 4.x) or /usr/ccs/bin/make (SunOS 5.x)
or GNU make to compile this program. Read READMEs/README.gmake for
more information on gmake and a list of the most annoying bugs in gmake.
All other make programs are either not smart enough or have bugs.
My "smake" source is at:
https://sourceforge.net/projects/s-make/files/
It is easy to compile and doesn't need a working make program
on your machine. If you don't have a working "make" program on the
machine where you like to compile "smake" read the file "BOOTSTRAP".
If you have the choice between all three make programs, the
preference would be
1) smake (preferred)
2) SunPRO make
3) GNU make (this is the last resort)
Important notice: "smake" that comes with SGI/IRIX will not work!!!
This is not the Schily "smake" but a dumb make program from SGI.
***** If you are on a platform that is not yet known by the *****
***** Schily makefilesystem you cannot use GNU make. *****
***** In this case, the automake features of smake are required. *****
Note that GNU make has major bugs on various platforms and thus cannot
be used at all on VMS and OS/2. GNU make on Cygwin causes problems
because it does not deal with spaces and newlines correctly.
Please read the README's for your operating system too.
WARNING
Do not use 'mc' to extract the tar file!
All mc versions before 4.0.14 cannot extract symbolic links correctly.
The versions of WinZip that support tar archives cannot be used either.
The reason is that they don't support symbolic links.
Star and Gnutar do support symbolic links even on win32 systems.
To support symbolic links on win32, you need to link with the
Cygwin32 POSIX library.
To unpack an archive, use:
gzip -d < some-arch.tar.gz | tar xpf -
Replace 'some-arch.tar.gz' by the actual archive name.
If your platform does not support hard links or symbolic links, you
first need to compile "star" and then call:
star -xp -copy-links < some-arch.tar.gz
If your platform does not support hard links but supports
symbolic links, you only need to call the command above once.
If your platform does not support symbolic links, you need to call
the command twice because a symbolic link may occur in the archive
before the file it points to.
Here comes the long form:
PREFACE:
Calling configure manually is outdated because this is a task of the
makefile system.
You don't have to call configure with this make file system.
Calling 'make' or 'make all' on the top level directory will create
all needed targets. Calling 'make install' will install all needed
files.
This program uses a new makefilesystem, introduced in 1993. This
makefilesystem uses techniques and ideas from the 1980s and 1990s,
is designed in a modular way and allows sources to be combined in a
modular way. For mor information on the modular features read
README.SSPM.
The makefilesystem is optimized for a program called 'smake'
Copyright 1985 by Jörg Schilling, but SunPro make (the make program
that comes with SunOS >= 4.0 and Solaris) as well as newer versions
of GNU make will work also. BSDmake could be made working, if it
supports pattern matching rules correctly.
The makefile system allows simultaneous compilation on a wide
variety of target systems if the source tree is accessible via NFS.
Finding Compilation Results:
To allow simultaneous compilations, all binaries and results of a
'compilation' in any form are placed in sub-directories. This includes
automatically generated include files. Results will in general be
placed into a directory named OBJ/<arch-name>/ in the current project's
leaf directory, libraries will be placed into a directory called
libs/<arch-name>/ that is located in the source tree root directory.
<arch-name> will be something like 'sparc-sunos5-cc'
This is the main reason why simultaneous compilation is possible on
all supported platforms if the source is mounted via NFS.
How to compile:
To compile a system or sub-system, simply enter 'smake', 'make' or
'Gmake'. Compilation may be initialized at any point of the source
tree of a system.
WARNING: If compilation is started in a sub tree, only all objects
in that sub tree will be made. This usually excludes needed libraries.
How to install results:
To install the product of a compilation in your system, call:
smake install
at top level. The binaries will usually be installed in
/opt/schily/bin. The directory /opt/<vendor-name>/ has been agreed
on by all major UNIX vendors in 1989. Unfortunately, still not all
vendors follow this agreement.
If you want to change the default installation directory, edit the
appropriate (system dependent) files in the DEFAULTS directory
(e.g. DEFAULTS/Defaults.sunos5).
***** If "smake install" doesn't do anything, you are on a broken *****
***** File System. Remove the file INSTALL in this case (the FS *****
***** does not handle upper/lower case characters correctly). *****
***** This is true for all DOS based filesystems and for Apple's *****
***** HFS+ filesystem. *****
Using a different installation directory:
If your system does not yet use the standard installation path in
/opt/<vendor>
or if you don't like this installation directory, you can easily
change the installation directory. You may edit the DEFAULTS file
for your system and modify the macro INS_BASE.
You may use a different installation directory without editing the
DEFAULTS files. If you like to install everything in the deprecated path
/usr/local, the next paragraph describes the procedure.
If your make program supports to propagate make macros to sub make programs
which is the case for recent smake releases as well as for a recent gnumake:
smake INS_BASE=/usr/local install
or
gmake INS_BASE=/usr/local install
If your make program doesn't propagate make macros (e.g. SunPRO make),
call:
env INS_BASE=/usr/local make -e install
Note that INS_BASE=/usr/local needs to be specified for every operation
that compiles or links programs, as the path may be stored inside the
binaries.
The location for the root specific configuratin files is controlled
via the INS_RBASE= make macro. The default vaulue for this macro is "/".
If you like to install global default configuration files into
/usr/local/etc instead of /etc, you need to spefify INS_RBASE=/usr/local
Note that some binaries have $(INS_BASE) and $(INS_RBASE) compiled into.
If you like to like to modify the compiled-in path values, call:
smake clean
smake INS_BASE=/usr/local INS_RBASE=/usr/local
Setting up a different Link mode:
The following link modes are available:
static statical linking as in historical UNIX
dynamic dynamic linking as introduced by SunOS
in 1987, Microsoft's DLLs, ...
The knowledge on how to achieve this for
a particular platform is hidden in the
makefile system.
profiled Linking against profiled libraries.
Profiled libraries are prepared for the
use with "gprof" (introduced by BSD in the
late 1970s).
The makefile system sets up a default linkmode in the patform
related defaults file (typically in the file DEFAULTS/Defaults.<platform>)
in the projects root directory. This is done with the entry:
DEFLINKMODE= <linkmode>
A different linkmode may be selected at compile/link time by e.g. calling:
smake LINKMODE=dynamic
If there are already existing binaries, call:
smake relink LINKMODE=dynamic
instead.
Compiling a different ELF RUNPATH into the binaries:
In order to allow binaries to work correctly even if the shared
libraries are not in the default search path of the runtime linker,
a RUNPATH needs to be set.
The ELF RUNPATH is by default derived from $(INS_BASE). If you like to
set INS_BASE=/usr and create binaries that do not include a RUNPATH at all,
call:
smake relink RUNPATH=
Using a different man path prefix:
Manual pages are by default installed under:
$(INS_BASE)/$(MANBASE)/man
and MANBASE=share
If you like a different prefix for man pages, call:
smake DEFMANBASE=something install
to install man pages into $(INS_BASE)/something/man/*
If you like to install man pages under $(INS_BASE)/man/*, call
smake DEFMANBASE=. install
Installing stripped binaries:
If you like to install stripped binaries via "smake install", call:
smake STRIPFLAGS=-s install
This calls "strip" on every final install path for all executable
binaries.
Installing to a prototype directory to implement package creation staging:
If you like to create a prototype directory tree that is used as an
intermediate store for package creation, use the DESTDIR macro:
smake INS_BASE=/usr/local DESTDIR=/tmp install
This will compile in "/usr/local" as prefix into all related binaries
and then create a usr/local tree below /tmp (i.e. /tmp/usr/local).
Note that you need to call "smake clean" before in case that the code
was previously compiled with different defaults with regards to INS_BASE
Setting different default directory permissions for install directories:
All directories that are created by the Schily makefile system in the
target directory path when
smake install
is called system use a special default 022 that is in DEFINSUMASK=
This causes all directories in the target install path to be created
with 0755 permissions.
All other directories that are created by the Schily makefile system
use a single global default 002 that is in DEFUMASK=
If you like to create install directories with e.g. 0775 permissions,
call:
smake DEFINSUMASK=002 install
Using a different C compiler:
The *compiler family* is configured via the CCOM= make macro. This
selects a whole set of related macros that are needed to support a
specific compiler family.
The *compiler family* usually defines a C compiler and a related
C++ compiler.
If the configured default compiler family is not present on the current
machine, the makefilesystem will try an automatic fallback to GCC. For
this reason, in most cases, you will not need to manually select a
compiler.
The default compiler family can be modified in the files in the
DEFAULT directory. If you want to have a different compiler family
for one compilation, call:
make CCOM=gcc
or
make CCOM=cc
This works even when your make program doesn't propagate make macros.
Creating 64 bit executables on Solaris:
Simply call:
make CCOM=gcc64
or
make CCOM=cc64
It is not clear if GCC already supports other platforms in 64 bit mode.
As all GCC versions before 3.1 did emit hundreds of compilation
warnings related to 64 bit bugs when compiling itself, so there may be
other platforms are not supported in 64 bit mode.
Creating executables using the Sun Studio compiler on Linux:
Simply call:
make CCOM=suncc
If the compilation does not work, try:
mkdir /opt/sunstudio12/prod/include/cc/linux
cp /usr/include/linux/types.h /opt/sunstudio12/prod/include/cc/linux
Then edit /opt/sunstudio12/prod/include/cc/linux/types.h and remove all
lines like: "#if defined(__GNUC__) && !defined(__STRICT_ANSI__)"
as well as the related #endif.
Creating executables using the clang compiler:
Simply call:
make CCOM=clang
And in order to intentionally create 32 bit or 64 bit binaries, call:
make CCOM=clang64
or
make CCOM=clang64
Using a different compiler binary name:
Call:
make CC=/opt/instrumented/bin/cc
Note that all knowledge about the options of a compiler is derived
from the CCOM= variable, so if you like to use an instrumented gcc
variant, you may like to call:
make CCOM=gcc CC=fluffy-gcc
You may use CC="fluffy-gcc fluffy-gcc-specific options" if you like
to enforce specific options with the compiler. See hints on cross
compilation below.
Getting help from the make file system:
For a list of targets call:
make .help
.help is a special target that prints help for the makefile system.
Getting more information on the make file system:
The man page makefiles.4 located in man/man4/makefiles.4 contains
the documentation on general use and for leaf makefiles.
The man page makerules.4 located in man/man4/makerules.4 contains
the documentation for system programmers who want to modify
the make rules of the makefile system.
For further information read
http://sf.net/projects/schilytools/files/makefiles/PortableSoftware.ps.gz
Hints for compilation:
The makefile system is optimized for 'smake'. Smake will give the
fastest processing and best debugging output.
SunPro make will work as is. GNU make need some special preparation.
Read READMEs/README.gmake for more information on gmake.
To use GNU make create a file called 'Gmake' in your search path
that contains:
#!/bin/sh
MAKEPROG=gmake
export MAKEPROG
exec gmake "$@"
and call 'Gmake' instead of gmake. On Linux, there is no gmake, the
program installed as 'make' on Linux is really a gmake.
'Gmake' and 'Gmake.linux' are part of this distribution.
Some versions of gmake are very buggy. There are e.g. versions of gmake
on some architectures that will not correctly recognize the default
target. In this case, call 'make all' or '../Gmake all'.
Note that pseudo error messages from gmake similar to:
gmake[1]: Entering directory `cdrtools-1.10/conf'
../RULES/rules.cnf:58: ../incs/sparc-sunos5-cc/Inull: No such file or directory
../RULES/rules.cnf:59: ../incs/sparc-sunos5-cc/rules.cnf: No such file or directory
are a result of a bug in GNU make. The make file system itself is
correct (as you could prove by using smake).
If your gmake version still has this bug, send a bug report to:
"Paul D. Smith" <psmith@gnu.org>
He is the current GNU make maintainer.
If you like to use 'smake', please always compile it from source.
The packages are located on:
https://sourceforge.net/projects/s-make/files/alpha/
Smake has a -D flag to see the actual makefile source used
and a -d flag that gives easy to read debugging info. Use smake -xM
to get a makefile dependency list. Try smake -help
Compiling the project using engineering defaults:
The defaults found in the directory DEFAULTS are configured to
give minimum warnings. This is made because many people will
be irritated by warning messages and because the GNU C compiler
will give warnings for perfectly correct and portable C code.
If you want to port code to new platforms or do engineering
on the code, you should use the alternate set of defaults found
in the directory DEFAULTS_ENG.
You may do this permanently by renaming the directories or
for one compilation by calling:
make DEFAULTSDIR=DEFAULTS_ENG
Note however, that some GCC versions print a lot of wrong warnings
in this mode. Well known problems with GCC warnings are:
- The recursive printf format "%r" that is in use since ~ 1980
is not supported and causes a lot of incorrect warnings as
GCC does not know that "%r" takes 2 parameters.
- The standard C construct "(void) read(fd, buf, sizeof (buf))"
is flagged by some versions of GCC even though the void cast
is a clear expression of the fact that the return code from read
is intentionally ignored. This may cause many useless warnings
for last resort error messages used in programs.
Compiling the project to allow debugging with dbx/gdb:
If you like to compile with debugging information for dbx or gdb,
call:
make clean
make COPTX=-g LDOPTX=-g
If your debugger does not like optimized binaries, call something
like:
make "COPTX=-g -xO0" LDOPTX=-g
or
make "COPTX=-g -O0" LDOPTX=-g
depending on the option system used by your C compiler.
Compiling the project to allow performance monitoring with gprof from BSD:
If you like to compile for performance monitoriing with gprof,
call:
make clean
make COPTX=-xpg LDOPTX=-xpg LINKMODE=profiled
or
make COPTX=-pg LDOPTX=-pg LINKMODE=profiled
depending on the option system used by your C compiler.
Creating Blastwave packages:
Call:
.clean
smake -f Mcsw
You need the program "fakeroot" and will find the results
in packages/<arch-dir>.
Note that a single program source tree will allow you to create
packages like CSWstar but not the packages CSWschilybase and
CSWschilyutils on which CSWstar depends.
If you want to see an example, please have a look at the "star"
source. It may be found on:
http://sourceforge.net/projects/s-tar/files/
Have a look at the manual page, it is included in the distribution.
Install the manual page with
make install first and include /opt/schily/man in your MANPATH
Note that some systems (e.g. Solaris 2.x) require you either to call
/usr/lib/makewhatis /opt/schily/man or to call
man -F <man-page-name>
Compiling in a cross compilation environment:
The Schily autoconf system has been enhanced to support cross
compilation. Schily autoconf is based on GNU autoconf-2.13 and
GNU autoconf does not support cross compilation because it needs
to run scripts on the target system for some of the tests.
The "configure" script that is delivered with the Schily makefile
system runs more than 770 tests and aprox 70 of them need to be
run on the target system.
The Schily autoconf system now supports a method to run these ~70
tests natively on a target system. You either need a target machine
with remote login features or you need an emulator with a method to
copy files into the emulated system and to run binaries on the
emulated system as e.g. the Android emulator.
We currently deliver three scripts for "remote" execution of
programs on the target system:
runrmt_ssh runs the commands remove via ssh
runrmt_rsh runs the commands remove via rsh
runrmt_android runs the commands remove via the debug bridge
If you need to remotely run programs on a system that is not
supported by one of there three scripts, you need to modify one
of them to match your needs.
To enable Cross Compilation use the following environment variables:
CONFIG_RMTCALL= Set up to point to a script that does
the remote execution, e.g.:
CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh
CONFIG_RMTHOST= Set up to point to your remote host, e.g.:
CONFIG_RMTHOST=hostname
or
CONFIG_RMTHOST=user@hostname
use a dummy if you like to use something
like the Android emulator.
CONFIG_RMTDEBUG= Set to something non-null in order to
let the remote execution script mark
remote comands. This will result in
configure messages like:
checking bits in minor device number... REMOTE 8
If you cannot run commands on the target
platform, you may set:
CONFIG_RMTDEBUG=true
CONFIG_RMTCALL=:
carefully watch for the "REMOTE" flagged test
output and later manually edit the file:
incs/<arch-dir>/xconfig.h
Do not forget to manually edit the files:
incs/<arch-dir>/align.h
and
incs/<arch-dir>/avoffset.h
Note that smake includes automake features that automatically
retrieve system ID information. For this reason, you need to overwrite
related macros from the command line if you like to do a
cross compilation.
Related make macros:
K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k
M_ARCH= # (sun4) Machine filled from arch
P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach
OSNAME= # sunos, linux, ....
OSREL= # 5.11
OSVERSION= # snv_130
CCOM= # generic compiler name (e.g. "gcc")
CC= # compiler to call (name for binary)
CC_COM= # compiler to call (name + basic args)
ARCH= overwrites M_ARCH and P_ARCH
It is usually suffucient to set ARCH and OSNAME.
In order to use a cross compiler environment instead of a native compiler,
set the make macro CC_COM or CC to something different than "cc".
If you are on Linux and like to compile for Android, do the following:
1) set up CC acording to the instructions from the cross compiler
tool chain. Important: you need to read the information for your
tool chain. A working setup may look similar to:
NDK=/home/joerg/android-ndk-r7
SYSROOT=\$NDK/platforms/android-14/arch-arm
CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT"
export NDK
export SYSROOT
export CC
2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.:
setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android
setenv CONFIG_RMTHOST NONE
3) call smake:
smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC"
or
smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC=$CC"
Compiling with the address sanitizer:
Be careful with a compiler enhancement called "addess sanitizer".
First a note: the address sanitizer needs a lot of memory when in
64-bit mode. For this reason, it is recommended to run the tests
in 32-bit mode as it may be impossible to provdie a sufficient amount
of memory for the 64-bit mode.
1) The address sanitizer may cause autoconf to behave incorrectly in
case that the compiler options used by the "configure" run include the
address sanitizer. It seems that in addition, the address sanitizer
adds more libraries to the link list and as a result prevents
the correct autoconf decision on whether a specific library from
a "configure" test is needed by some binaries.
If you are not sure about the current state of the source tree, start
with calling:
./.clean
in the top level source directory. This makes the source tree to behave
as if if was recently unpacked from the tar archive.
Then run run e.g.:
cd inc/
smake CCOM=gcc32
cd ..
to prepare the auto-configuration without using the address sanitizer.
This special treatment is needed as the assumptions in the address
sanitizer would not allow us to run the autoconfiguration code
correctly.
2) The address sanitizer by default ignores installed SIGSEGV handlers
and thus ignores the intention of the author of the code.
The correct behavior may be switched on via setting the environment
variable:
ASAN_OPTIONS=allow_user_segv_handler=true
As a redult, the command line to compile the code after the
auto-configuration has been done as mentioned above is:
ASAN_OPTIONS=allow_user_segv_handler=true smake CCOM=gcc32 COPTX="-g -O0 -fsanitize=address" LDOPTX="-g -fsanitize=address"
3) If you are on Linux, do not forget to call "ulimit -c unlimited",
before calling the binary. This is needed as the default on Linux is
not to create a core file.
4) Set the environment ASAN_OPTIONS= for the execution of the binary
to control the behavior of the Address Sanitizer while the binary
is run.
If you like to disable the memory leak detection because your program
is a short running program that intentionally does not free() resources
before calling exit(), use:
ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0
If you also like to get a core dump on error to debug, you may like
to use:
ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0:abort_on_error=1
Note that the Address Sanitizer disables the creation of a core file
for 64 bit binaries as the tables used by the Address Sanitizer may
cause the core file to have a size of 16 TB.
Compiling with the "Americal fuzzy lop":
Follow the instruction from above for the address sanitizer, but
use this command line to call the compiler:
ASAN_OPTIONS=allow_user_segv_handler=true AFL_HARDEN=1 AFL_USE_ASAN=1 smake CC=afl-gcc CCOM=gcc32
Author:
Joerg Schilling
Seestr. 110
D-13353 Berlin
Germany
Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de
joerg.schilling@fokus.fraunhofer.de
Please mail bugs and suggestions to me.

376
CDDL.Schily.txt Normal file
View File

@ -0,0 +1,376 @@
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0
1. Definitions.
1.1. "Contributor" means each individual or entity that creates
or contributes to the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Software, prior Modifications used by a Contributor (if any),
and the Modifications made by that particular Contributor.
1.3. "Covered Software" means (a) the Original Software, or (b)
Modifications, or (c) the combination of files containing
Original Software with files containing Modifications, in
each case including portions thereof.
1.4. "Executable" means the Covered Software in any form other
than Source Code.
1.5. "Initial Developer" means the individual or entity that first
makes Original Software available under this License.
1.6. "Larger Work" means a work which combines Covered Software or
portions thereof with code not governed by the terms of this
License.
1.7. "License" means this document.
1.8. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed
herein.
1.9. "Modifications" means the Source Code and Executable form of
any of the following:
A. Any file that results from an addition to, deletion from or
modification of the contents of a file containing Original
Software or previous Modifications;
B. Any new file that contains any part of the Original
Software or previous Modifications; or
C. Any new file that is contributed or otherwise made
available under the terms of this License.
1.10. "Original Software" means the Source Code and Executable
form of computer software code that is originally released
under this License.
1.11. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method,
process, and apparatus claims, in any patent Licensable by
grantor.
1.12. "Source Code" means (a) the common form of computer software
code in which modifications are made and (b) associated
documentation included in or with such code.
1.13. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms
of, this License. For legal entities, "You" includes any
entity which controls, is controlled by, or is under common
control with You. For purposes of this definition,
"control" means (a) the power, direct or indirect, to cause
the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty
percent (50%) of the outstanding shares or beneficial
ownership of such entity.
2. License Grants.
2.1. The Initial Developer Grant.
Conditioned upon Your compliance with Section 3.1 below and
subject to third party intellectual property claims, the Initial
Developer hereby grants You a world-wide, royalty-free,
non-exclusive license:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer, to use,
reproduce, modify, display, perform, sublicense and
distribute the Original Software (or portions thereof),
with or without Modifications, and/or as part of a Larger
Work; and
(b) under Patent Claims infringed by the making, using or
selling of Original Software, to make, have made, use,
practice, sell, and offer for sale, and/or otherwise
dispose of the Original Software (or portions thereof).
(c) The licenses granted in Sections 2.1(a) and (b) are
effective on the date Initial Developer first distributes
or otherwise makes the Original Software available to a
third party under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: (1) for code that You delete from the Original
Software, or (2) for infringements caused by: (i) the
modification of the Original Software, or (ii) the
combination of the Original Software with other software
or devices.
2.2. Contributor Grant.
Conditioned upon Your compliance with Section 3.1 below and
subject to third party intellectual property claims, each
Contributor hereby grants You a world-wide, royalty-free,
non-exclusive license:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor to use, reproduce,
modify, display, perform, sublicense and distribute the
Modifications created by such Contributor (or portions
thereof), either on an unmodified basis, with other
Modifications, as Covered Software and/or as part of a
Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either
alone and/or in combination with its Contributor Version
(or portions of such combination), to make, use, sell,
offer for sale, have made, and/or otherwise dispose of:
(1) Modifications made by that Contributor (or portions
thereof); and (2) the combination of Modifications made by
that Contributor with its Contributor Version (or portions
of such combination).
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first distributes or
otherwise makes the Modifications available to a third
party.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: (1) for any code that Contributor has deleted
from the Contributor Version; (2) for infringements caused
by: (i) third party modifications of Contributor Version,
or (ii) the combination of Modifications made by that
Contributor with other software (except as part of the
Contributor Version) or other devices; or (3) under Patent
Claims infringed by Covered Software in the absence of
Modifications made by that Contributor.
3. Distribution Obligations.
3.1. Availability of Source Code.
Any Covered Software that You distribute or otherwise make
available in Executable form must also be made available in Source
Code form and that Source Code form must be distributed only under
the terms of this License. You must include a copy of this
License with every copy of the Source Code form of the Covered
Software You distribute or otherwise make available. You must
inform recipients of any such Covered Software in Executable form
as to how they can obtain such Covered Software in Source Code
form in a reasonable manner on or through a medium customarily
used for software exchange.
3.2. Modifications.
The Modifications that You create or to which You contribute are
governed by the terms of this License. You represent that You
believe Your Modifications are Your original creation(s) and/or
You have sufficient rights to grant the rights conveyed by this
License.
3.3. Required Notices.
You must include a notice in each of Your Modifications that
identifies You as the Contributor of the Modification. You may
not remove or alter any copyright, patent or trademark notices
contained within the Covered Software, or any notices of licensing
or any descriptive text giving attribution to any Contributor or
the Initial Developer.
3.4. Application of Additional Terms.
You may not offer or impose any terms on any Covered Software in
Source Code form that alters or restricts the applicable version
of this License or the recipients' rights hereunder. You may
choose to offer, and to charge a fee for, warranty, support,
indemnity or liability obligations to one or more recipients of
Covered Software. However, you may do so only on Your own behalf,
and not on behalf of the Initial Developer or any Contributor.
You must make it absolutely clear that any such warranty, support,
indemnity or liability obligation is offered by You alone, and You
hereby agree to indemnify the Initial Developer and every
Contributor for any liability incurred by the Initial Developer or
such Contributor as a result of warranty, support, indemnity or
liability terms You offer.
3.5. Distribution of Executable Versions.
You may distribute the Executable form of the Covered Software
under the terms of this License or under the terms of a license of
Your choice, which may contain terms different from this License,
provided that You are in compliance with the terms of this License
and that the license for the Executable form does not attempt to
limit or alter the recipient's rights in the Source Code form from
the rights set forth in this License. If You distribute the
Covered Software in Executable form under a different license, You
must make it absolutely clear that any terms which differ from
this License are offered by You alone, not by the Initial
Developer or Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred
by the Initial Developer or such Contributor as a result of any
such terms You offer.
3.6. Larger Works.
You may create a Larger Work by combining Covered Software with
other code not governed by the terms of this License and
distribute the Larger Work as a single product. In such a case,
You must make sure the requirements of this License are fulfilled
for the Covered Software.
4. Versions of the License.
4.1. New Versions.
Sun Microsystems, Inc. is the initial license steward and may
publish revised and/or new versions of this License from time to
time. Each version will be given a distinguishing version number.
Except as provided in Section 4.3, no one other than the license
steward has the right to modify this License.
4.2. Effect of New Versions.
You may always continue to use, distribute or otherwise make the
Covered Software available under the terms of the version of the
License under which You originally received the Covered Software.
If the Initial Developer includes a notice in the Original
Software prohibiting it from being distributed or otherwise made
available under any subsequent version of the License, You must
distribute and make the Covered Software available under the terms
of the version of the License under which You originally received
the Covered Software. Otherwise, You may also choose to use,
distribute or otherwise make the Covered Software available under
the terms of any subsequent version of the License published by
the license steward.
4.3. Modified Versions.
When You are an Initial Developer and You want to create a new
license for Your Original Software, You may create and use a
modified version of this License if You: (a) rename the license
and remove any references to the name of the license steward
(except to note that the license differs from this License); and
(b) otherwise make it clear that the license contains terms which
differ from this License.
5. DISCLAIMER OF WARRANTY.
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY
NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
DISCLAIMER.
6. TERMINATION.
6.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to
cure such breach within 30 days of becoming aware of the breach.
Provisions which, by their nature, must remain in effect beyond
the termination of this License shall survive.
6.2. If You assert a patent infringement claim (excluding
declaratory judgment actions) against Initial Developer or a
Contributor (the Initial Developer or Contributor against whom You
assert such claim is referred to as "Participant") alleging that
the Participant Software (meaning the Contributor Version where
the Participant is a Contributor or the Original Software where
the Participant is the Initial Developer) directly or indirectly
infringes any patent, then any and all rights granted directly or
indirectly to You by such Participant, the Initial Developer (if
the Initial Developer is not the Participant) and all Contributors
under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
notice from Participant terminate prospectively and automatically
at the expiration of such 60 day notice period, unless if within
such 60 day period You withdraw Your claim with respect to the
Participant Software against such Participant either unilaterally
or pursuant to a written agreement with Participant.
6.3. In the event of termination under Sections 6.1 or 6.2 above,
all end user licenses that have been validly granted by You or any
distributor hereunder prior to termination (excluding licenses
granted to You by any distributor) shall survive termination.
7. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
APPLY TO YOU.
8. U.S. GOVERNMENT END USERS.
The Covered Software is a "commercial item," as that term is
defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
computer software" (as that term is defined at 48
C.F.R. 252.227-7014(a)(1)) and "commercial computer software
documentation" as such terms are used in 48 C.F.R. 12.212
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48
C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
U.S. Government End Users acquire Covered Software with only those
rights set forth herein. This U.S. Government Rights clause is in
lieu of, and supersedes, any other FAR, DFAR, or other clause or
provision that addresses Government rights in computer software
under this License.
9. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed
by the law of the jurisdiction specified in a notice contained
within the Original Software (except to the extent applicable law,
if any, provides otherwise), excluding such jurisdiction's
conflict-of-law provisions. Any litigation relating to this
License shall be subject to the jurisdiction of the courts located
in the jurisdiction and venue specified in a notice contained
within the Original Software, with the losing party responsible
for costs, including, without limitation, court costs and
reasonable attorneys' fees and expenses. The application of the
United Nations Convention on Contracts for the International Sale
of Goods is expressly excluded. Any law or regulation which
provides that the language of a contract shall be construed
against the drafter shall not apply to this License. You agree
that You alone are responsible for compliance with the United
States export administration regulations (and the export control
laws and regulation of any other countries) when You use,
distribute or otherwise make available any Covered Software.
10. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or
indirectly, out of its utilization of rights under this License
and You agree to work with Initial Developer and Contributors to
distribute such responsibility on an equitable basis. Nothing
herein is intended or shall be deemed to constitute any admission
of liability.
--------------------------------------------------------------------
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
DISTRIBUTION LICENSE (CDDL)
For Covered Software in this distribution, this License shall
be governed by the laws of Germany (excluding conflict-of-law
provisions).
Any litigation relating to this License shall be subject to the
jurisdiction and the courts of Berlin Germany, with venue lying
in Berlin Germany.

764
COMPILE Normal file
View File

@ -0,0 +1,764 @@
# @(#)README.compile 1.35 17/11/28 Copyright 1997-2017 J. Schilling
Short overview for those who don't read manuals:
Calling configure manually is outdated because this is a task of the
makefile system.
There is no 'configure', simply call 'make' on the top level
directory.
***** If this does not work for you, read the rest if this file *****
***** If you have any problem, also first read the topic specific *****
***** README.* files (e.g. README.linux for Linux problems). *****
All results in general will be placed into a directory named
OBJ/<arch-name>/ in the current projects leaf directory.
You **need** either the Schily "smake" program, the SunPRO make
from /usr/bin/make (SunOS 4.x) or /usr/ccs/bin/make (SunOS 5.x)
or GNU make to compile this program. Read READMEs/README.gmake for
more information on gmake and a list of the most annoying bugs in gmake.
All other make programs are either not smart enough or have bugs.
My "smake" source is at:
https://sourceforge.net/projects/s-make/files/
It is easy to compile and doesn't need a working make program
on your machine. If you don't have a working "make" program on the
machine where you like to compile "smake" read the file "BOOTSTRAP".
If you have the choice between all three make programs, the
preference would be
1) smake (preferred)
2) SunPRO make
3) GNU make (this is the last resort)
Important notice: "smake" that comes with SGI/IRIX will not work!!!
This is not the Schily "smake" but a dumb make program from SGI.
***** If you are on a platform that is not yet known by the *****
***** Schily makefilesystem you cannot use GNU make. *****
***** In this case, the automake features of smake are required. *****
Note that GNU make has major bugs on various platforms and thus cannot
be used at all on VMS and OS/2. GNU make on Cygwin causes problems
because it does not deal with spaces and newlines correctly.
Please read the README's for your operating system too.
WARNING
Do not use 'mc' to extract the tar file!
All mc versions before 4.0.14 cannot extract symbolic links correctly.
The versions of WinZip that support tar archives cannot be used either.
The reason is that they don't support symbolic links.
Star and Gnutar do support symbolic links even on win32 systems.
To support symbolic links on win32, you need to link with the
Cygwin32 POSIX library.
To unpack an archive, use:
gzip -d < some-arch.tar.gz | tar xpf -
Replace 'some-arch.tar.gz' by the actual archive name.
If your platform does not support hard links or symbolic links, you
first need to compile "star" and then call:
star -xp -copy-links < some-arch.tar.gz
If your platform does not support hard links but supports
symbolic links, you only need to call the command above once.
If your platform does not support symbolic links, you need to call
the command twice because a symbolic link may occur in the archive
before the file it points to.
Here comes the long form:
PREFACE:
Calling configure manually is outdated because this is a task of the
makefile system.
You don't have to call configure with this make file system.
Calling 'make' or 'make all' on the top level directory will create
all needed targets. Calling 'make install' will install all needed
files.
This program uses a new makefilesystem, introduced in 1993. This
makefilesystem uses techniques and ideas from the 1980s and 1990s,
is designed in a modular way and allows sources to be combined in a
modular way. For mor information on the modular features read
README.SSPM.
The makefilesystem is optimized for a program called 'smake'
Copyright 1985 by Jörg Schilling, but SunPro make (the make program
that comes with SunOS >= 4.0 and Solaris) as well as newer versions
of GNU make will work also. BSDmake could be made working, if it
supports pattern matching rules correctly.
The makefile system allows simultaneous compilation on a wide
variety of target systems if the source tree is accessible via NFS.
Finding Compilation Results:
To allow simultaneous compilations, all binaries and results of a
'compilation' in any form are placed in sub-directories. This includes
automatically generated include files. Results will in general be
placed into a directory named OBJ/<arch-name>/ in the current project's
leaf directory, libraries will be placed into a directory called
libs/<arch-name>/ that is located in the source tree root directory.
<arch-name> will be something like 'sparc-sunos5-cc'
This is the main reason why simultaneous compilation is possible on
all supported platforms if the source is mounted via NFS.
How to compile:
To compile a system or sub-system, simply enter 'smake', 'make' or
'Gmake'. Compilation may be initialized at any point of the source
tree of a system.
WARNING: If compilation is started in a sub tree, only all objects
in that sub tree will be made. This usually excludes needed libraries.
How to install results:
To install the product of a compilation in your system, call:
smake install
at top level. The binaries will usually be installed in
/opt/schily/bin. The directory /opt/<vendor-name>/ has been agreed
on by all major UNIX vendors in 1989. Unfortunately, still not all
vendors follow this agreement.
If you want to change the default installation directory, edit the
appropriate (system dependent) files in the DEFAULTS directory
(e.g. DEFAULTS/Defaults.sunos5).
***** If "smake install" doesn't do anything, you are on a broken *****
***** File System. Remove the file INSTALL in this case (the FS *****
***** does not handle upper/lower case characters correctly). *****
***** This is true for all DOS based filesystems and for Apple's *****
***** HFS+ filesystem. *****
Using a different installation directory:
If your system does not yet use the standard installation path in
/opt/<vendor>
or if you don't like this installation directory, you can easily
change the installation directory. You may edit the DEFAULTS file
for your system and modify the macro INS_BASE.
You may use a different installation directory without editing the
DEFAULTS files. If you like to install everything in the deprecated path
/usr/local, the next paragraph describes the procedure.
If your make program supports to propagate make macros to sub make programs
which is the case for recent smake releases as well as for a recent gnumake:
smake INS_BASE=/usr/local install
or
gmake INS_BASE=/usr/local install
If your make program doesn't propagate make macros (e.g. SunPRO make),
call:
env INS_BASE=/usr/local make -e install
Note that INS_BASE=/usr/local needs to be specified for every operation
that compiles or links programs, as the path may be stored inside the
binaries.
The location for the root specific configuratin files is controlled
via the INS_RBASE= make macro. The default vaulue for this macro is "/".
If you like to install global default configuration files into
/usr/local/etc instead of /etc, you need to spefify INS_RBASE=/usr/local
Note that some binaries have $(INS_BASE) and $(INS_RBASE) compiled into.
If you like to like to modify the compiled-in path values, call:
smake clean
smake INS_BASE=/usr/local INS_RBASE=/usr/local
Setting up a different Link mode:
The following link modes are available:
static statical linking as in historical UNIX
dynamic dynamic linking as introduced by SunOS
in 1987, Microsoft's DLLs, ...
The knowledge on how to achieve this for
a particular platform is hidden in the
makefile system.
profiled Linking against profiled libraries.
Profiled libraries are prepared for the
use with "gprof" (introduced by BSD in the
late 1970s).
The makefile system sets up a default linkmode in the patform
related defaults file (typically in the file DEFAULTS/Defaults.<platform>)
in the projects root directory. This is done with the entry:
DEFLINKMODE= <linkmode>
A different linkmode may be selected at compile/link time by e.g. calling:
smake LINKMODE=dynamic
If there are already existing binaries, call:
smake relink LINKMODE=dynamic
instead.
Compiling a different ELF RUNPATH into the binaries:
In order to allow binaries to work correctly even if the shared
libraries are not in the default search path of the runtime linker,
a RUNPATH needs to be set.
The ELF RUNPATH is by default derived from $(INS_BASE). If you like to
set INS_BASE=/usr and create binaries that do not include a RUNPATH at all,
call:
smake relink RUNPATH=
Using a different man path prefix:
Manual pages are by default installed under:
$(INS_BASE)/$(MANBASE)/man
and MANBASE=share
If you like a different prefix for man pages, call:
smake DEFMANBASE=something install
to install man pages into $(INS_BASE)/something/man/*
If you like to install man pages under $(INS_BASE)/man/*, call
smake DEFMANBASE=. install
Installing stripped binaries:
If you like to install stripped binaries via "smake install", call:
smake STRIPFLAGS=-s install
This calls "strip" on every final install path for all executable
binaries.
Installing to a prototype directory to implement package creation staging:
If you like to create a prototype directory tree that is used as an
intermediate store for package creation, use the DESTDIR macro:
smake INS_BASE=/usr/local DESTDIR=/tmp install
This will compile in "/usr/local" as prefix into all related binaries
and then create a usr/local tree below /tmp (i.e. /tmp/usr/local).
Note that you need to call "smake clean" before in case that the code
was previously compiled with different defaults with regards to INS_BASE
Setting different default directory permissions for install directories:
All directories that are created by the Schily makefile system in the
target directory path when
smake install
is called system use a special default 022 that is in DEFINSUMASK=
This causes all directories in the target install path to be created
with 0755 permissions.
All other directories that are created by the Schily makefile system
use a single global default 002 that is in DEFUMASK=
If you like to create install directories with e.g. 0775 permissions,
call:
smake DEFINSUMASK=002 install
Using a different C compiler:
The *compiler family* is configured via the CCOM= make macro. This
selects a whole set of related macros that are needed to support a
specific compiler family.
The *compiler family* usually defines a C compiler and a related
C++ compiler.
If the configured default compiler family is not present on the current
machine, the makefilesystem will try an automatic fallback to GCC. For
this reason, in most cases, you will not need to manually select a
compiler.
The default compiler family can be modified in the files in the
DEFAULT directory. If you want to have a different compiler family
for one compilation, call:
make CCOM=gcc
or
make CCOM=cc
This works even when your make program doesn't propagate make macros.
Creating 64 bit executables on Solaris:
Simply call:
make CCOM=gcc64
or
make CCOM=cc64
It is not clear if GCC already supports other platforms in 64 bit mode.
As all GCC versions before 3.1 did emit hundreds of compilation
warnings related to 64 bit bugs when compiling itself, so there may be
other platforms are not supported in 64 bit mode.
Creating executables using the Sun Studio compiler on Linux:
Simply call:
make CCOM=suncc
If the compilation does not work, try:
mkdir /opt/sunstudio12/prod/include/cc/linux
cp /usr/include/linux/types.h /opt/sunstudio12/prod/include/cc/linux
Then edit /opt/sunstudio12/prod/include/cc/linux/types.h and remove all
lines like: "#if defined(__GNUC__) && !defined(__STRICT_ANSI__)"
as well as the related #endif.
Creating executables using the clang compiler:
Simply call:
make CCOM=clang
And in order to intentionally create 32 bit or 64 bit binaries, call:
make CCOM=clang64
or
make CCOM=clang64
Using a different compiler binary name:
Call:
make CC=/opt/instrumented/bin/cc
Note that all knowledge about the options of a compiler is derived
from the CCOM= variable, so if you like to use an instrumented gcc
variant, you may like to call:
make CCOM=gcc CC=fluffy-gcc
You may use CC="fluffy-gcc fluffy-gcc-specific options" if you like
to enforce specific options with the compiler. See hints on cross
compilation below.
Getting help from the make file system:
For a list of targets call:
make .help
.help is a special target that prints help for the makefile system.
Getting more information on the make file system:
The man page makefiles.4 located in man/man4/makefiles.4 contains
the documentation on general use and for leaf makefiles.
The man page makerules.4 located in man/man4/makerules.4 contains
the documentation for system programmers who want to modify
the make rules of the makefile system.
For further information read
http://sf.net/projects/schilytools/files/makefiles/PortableSoftware.ps.gz
Hints for compilation:
The makefile system is optimized for 'smake'. Smake will give the
fastest processing and best debugging output.
SunPro make will work as is. GNU make need some special preparation.
Read READMEs/README.gmake for more information on gmake.
To use GNU make create a file called 'Gmake' in your search path
that contains:
#!/bin/sh
MAKEPROG=gmake
export MAKEPROG
exec gmake "$@"
and call 'Gmake' instead of gmake. On Linux, there is no gmake, the
program installed as 'make' on Linux is really a gmake.
'Gmake' and 'Gmake.linux' are part of this distribution.
Some versions of gmake are very buggy. There are e.g. versions of gmake
on some architectures that will not correctly recognize the default
target. In this case, call 'make all' or '../Gmake all'.
Note that pseudo error messages from gmake similar to:
gmake[1]: Entering directory `cdrtools-1.10/conf'
../RULES/rules.cnf:58: ../incs/sparc-sunos5-cc/Inull: No such file or directory
../RULES/rules.cnf:59: ../incs/sparc-sunos5-cc/rules.cnf: No such file or directory
are a result of a bug in GNU make. The make file system itself is
correct (as you could prove by using smake).
If your gmake version still has this bug, send a bug report to:
"Paul D. Smith" <psmith@gnu.org>
He is the current GNU make maintainer.
If you like to use 'smake', please always compile it from source.
The packages are located on:
https://sourceforge.net/projects/s-make/files/alpha/
Smake has a -D flag to see the actual makefile source used
and a -d flag that gives easy to read debugging info. Use smake -xM
to get a makefile dependency list. Try smake -help
Compiling the project using engineering defaults:
The defaults found in the directory DEFAULTS are configured to
give minimum warnings. This is made because many people will
be irritated by warning messages and because the GNU C compiler
will give warnings for perfectly correct and portable C code.
If you want to port code to new platforms or do engineering
on the code, you should use the alternate set of defaults found
in the directory DEFAULTS_ENG.
You may do this permanently by renaming the directories or
for one compilation by calling:
make DEFAULTSDIR=DEFAULTS_ENG
Note however, that some GCC versions print a lot of wrong warnings
in this mode. Well known problems with GCC warnings are:
- The recursive printf format "%r" that is in use since ~ 1980
is not supported and causes a lot of incorrect warnings as
GCC does not know that "%r" takes 2 parameters.
- The standard C construct "(void) read(fd, buf, sizeof (buf))"
is flagged by some versions of GCC even though the void cast
is a clear expression of the fact that the return code from read
is intentionally ignored. This may cause many useless warnings
for last resort error messages used in programs.
Compiling the project to allow debugging with dbx/gdb:
If you like to compile with debugging information for dbx or gdb,
call:
make clean
make COPTX=-g LDOPTX=-g
If your debugger does not like optimized binaries, call something
like:
make "COPTX=-g -xO0" LDOPTX=-g
or
make "COPTX=-g -O0" LDOPTX=-g
depending on the option system used by your C compiler.
Compiling the project to allow performance monitoring with gprof from BSD:
If you like to compile for performance monitoriing with gprof,
call:
make clean
make COPTX=-xpg LDOPTX=-xpg LINKMODE=profiled
or
make COPTX=-pg LDOPTX=-pg LINKMODE=profiled
depending on the option system used by your C compiler.
Creating Blastwave packages:
Call:
.clean
smake -f Mcsw
You need the program "fakeroot" and will find the results
in packages/<arch-dir>.
Note that a single program source tree will allow you to create
packages like CSWstar but not the packages CSWschilybase and
CSWschilyutils on which CSWstar depends.
If you want to see an example, please have a look at the "star"
source. It may be found on:
http://sourceforge.net/projects/s-tar/files/
Have a look at the manual page, it is included in the distribution.
Install the manual page with
make install first and include /opt/schily/man in your MANPATH
Note that some systems (e.g. Solaris 2.x) require you either to call
/usr/lib/makewhatis /opt/schily/man or to call
man -F <man-page-name>
Compiling in a cross compilation environment:
The Schily autoconf system has been enhanced to support cross
compilation. Schily autoconf is based on GNU autoconf-2.13 and
GNU autoconf does not support cross compilation because it needs
to run scripts on the target system for some of the tests.
The "configure" script that is delivered with the Schily makefile
system runs more than 770 tests and aprox 70 of them need to be
run on the target system.
The Schily autoconf system now supports a method to run these ~70
tests natively on a target system. You either need a target machine
with remote login features or you need an emulator with a method to
copy files into the emulated system and to run binaries on the
emulated system as e.g. the Android emulator.
We currently deliver three scripts for "remote" execution of
programs on the target system:
runrmt_ssh runs the commands remove via ssh
runrmt_rsh runs the commands remove via rsh
runrmt_android runs the commands remove via the debug bridge
If you need to remotely run programs on a system that is not
supported by one of there three scripts, you need to modify one
of them to match your needs.
To enable Cross Compilation use the following environment variables:
CONFIG_RMTCALL= Set up to point to a script that does
the remote execution, e.g.:
CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh
CONFIG_RMTHOST= Set up to point to your remote host, e.g.:
CONFIG_RMTHOST=hostname
or
CONFIG_RMTHOST=user@hostname
use a dummy if you like to use something
like the Android emulator.
CONFIG_RMTDEBUG= Set to something non-null in order to
let the remote execution script mark
remote comands. This will result in
configure messages like:
checking bits in minor device number... REMOTE 8
If you cannot run commands on the target
platform, you may set:
CONFIG_RMTDEBUG=true
CONFIG_RMTCALL=:
carefully watch for the "REMOTE" flagged test
output and later manually edit the file:
incs/<arch-dir>/xconfig.h
Do not forget to manually edit the files:
incs/<arch-dir>/align.h
and
incs/<arch-dir>/avoffset.h
Note that smake includes automake features that automatically
retrieve system ID information. For this reason, you need to overwrite
related macros from the command line if you like to do a
cross compilation.
Related make macros:
K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k
M_ARCH= # (sun4) Machine filled from arch
P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach
OSNAME= # sunos, linux, ....
OSREL= # 5.11
OSVERSION= # snv_130
CCOM= # generic compiler name (e.g. "gcc")
CC= # compiler to call (name for binary)
CC_COM= # compiler to call (name + basic args)
ARCH= overwrites M_ARCH and P_ARCH
It is usually suffucient to set ARCH and OSNAME.
In order to use a cross compiler environment instead of a native compiler,
set the make macro CC_COM or CC to something different than "cc".
If you are on Linux and like to compile for Android, do the following:
1) set up CC acording to the instructions from the cross compiler
tool chain. Important: you need to read the information for your
tool chain. A working setup may look similar to:
NDK=/home/joerg/android-ndk-r7
SYSROOT=\$NDK/platforms/android-14/arch-arm
CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT"
export NDK
export SYSROOT
export CC
2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.:
setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android
setenv CONFIG_RMTHOST NONE
3) call smake:
smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC"
or
smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC=$CC"
Compiling with the address sanitizer:
Be careful with a compiler enhancement called "addess sanitizer".
First a note: the address sanitizer needs a lot of memory when in
64-bit mode. For this reason, it is recommended to run the tests
in 32-bit mode as it may be impossible to provdie a sufficient amount
of memory for the 64-bit mode.
1) The address sanitizer may cause autoconf to behave incorrectly in
case that the compiler options used by the "configure" run include the
address sanitizer. It seems that in addition, the address sanitizer
adds more libraries to the link list and as a result prevents
the correct autoconf decision on whether a specific library from
a "configure" test is needed by some binaries.
If you are not sure about the current state of the source tree, start
with calling:
./.clean
in the top level source directory. This makes the source tree to behave
as if if was recently unpacked from the tar archive.
Then run run e.g.:
cd inc/
smake CCOM=gcc32
cd ..
to prepare the auto-configuration without using the address sanitizer.
This special treatment is needed as the assumptions in the address
sanitizer would not allow us to run the autoconfiguration code
correctly.
2) The address sanitizer by default ignores installed SIGSEGV handlers
and thus ignores the intention of the author of the code.
The correct behavior may be switched on via setting the environment
variable:
ASAN_OPTIONS=allow_user_segv_handler=true
As a redult, the command line to compile the code after the
auto-configuration has been done as mentioned above is:
ASAN_OPTIONS=allow_user_segv_handler=true smake CCOM=gcc32 COPTX="-g -O0 -fsanitize=address" LDOPTX="-g -fsanitize=address"
3) If you are on Linux, do not forget to call "ulimit -c unlimited",
before calling the binary. This is needed as the default on Linux is
not to create a core file.
4) Set the environment ASAN_OPTIONS= for the execution of the binary
to control the behavior of the Address Sanitizer while the binary
is run.
If you like to disable the memory leak detection because your program
is a short running program that intentionally does not free() resources
before calling exit(), use:
ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0
If you also like to get a core dump on error to debug, you may like
to use:
ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0:abort_on_error=1
Note that the Address Sanitizer disables the creation of a core file
for 64 bit binaries as the tables used by the Address Sanitizer may
cause the core file to have a size of 16 TB.
Compiling with the "Americal fuzzy lop":
Follow the instruction from above for the address sanitizer, but
use this command line to call the compiler:
ASAN_OPTIONS=allow_user_segv_handler=true AFL_HARDEN=1 AFL_USE_ASAN=1 smake CC=afl-gcc CCOM=gcc32
Author:
Joerg Schilling
Seestr. 110
D-13353 Berlin
Germany
Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de
joerg.schilling@fokus.fraunhofer.de
Please mail bugs and suggestions to me.

47
CONTRIBUTING Normal file
View File

@ -0,0 +1,47 @@
# @(#)CONTRIBUTING 1.4 14/12/03 Copyright 2006 J. Schilling
If you like to send patches or code to add to the project, you are welcome.
Before you send code or patches, please make sure that the following
requirements apply to your code:
§1 Your code does not duplicate existing functionality
§2 Integrating your code does not take more time than it would
take to write it from scratch
§3 Your code is cleanly written, is byteorder independent and
does compile on all supported platforms
§4 Your code does not cause this project to break or otherwise
fail on one of the supported platforms
§5 Your code does not rely on a specific compiler
§6 Your code is cleanly indented (matches the coding style
from "Cstyle"). See files:
http://sf.net/projects/schilytools/files/cstyle/Cstyle
and
http://sf.net/projects/schilytools/files/cstyle/cstyle
§7 You allow me to publish the code under any OSI approved
license (see http://www.opensource.org/). If you like to
see your code under a specific license and this license
grants less freedom than the CDDL, there is little chance
to integrate your code.
§8 Include not only the code patches but also include the related
extensions to the man pages.
§9 If you like to make a bigger contribution, provide white papers
and other documentation that allows to understand your patch
within a reasonable amount of time.
Pleae note for §7: Licenses may not last forever and it may sometimes
be apropriate to change the license. In case that contributors did
insist in a specific license when contributing and are no longer
reachable via mail, this undertaking may be impossible and kill the
future of the project. So please help with your contributing to ensure
the future of this project.

131
COPYING Normal file
View File

@ -0,0 +1,131 @@
# @(#)COPYING 1.12 12/02/26 Copyright 2007-2012 J. Schilling
The software in this directory tree is free software and uses
licenses that are aproved be the OpenSource Initative
http://www.opensource.org/
You may of course copy and redistribute sources and derived binaries
from this software.
Not all sub-projects in this directory tree use the same license. Each named
sub-directory holds an own independent "work" with respect to the Copyright
law. Here is a list of sub-directories (works) and it's related licenses:
btcflash/
A firmwareflash program (CDDL),
parts from David Huang in btcflash.c are public domain
Note: uses libscg
cdda2wav/
A DAE program (CDDL)
Note: uses libscg
cdrecord/
A CD/DVD-recording program (CDDL)
Note: uses libscg
autoconf/
The Schily Autoconf program (GPL)
conf/
Support shell scripts for the Schily Makefile system (CDDL)
DEFAULTS/
Default files for the Schily Makefile system (CDDL)
DEFAULTS_ENG/
Default files for the Schily Makefile system (CDDL)
inc/
Support C-Files for the Schily Makefile system (CDDL)
include/
Support H-Files for the Schily Makefile system (CDDL)
libdeflt/
A lib for accessing files under /etc/default/ (CDDL)
libcdrdeflt/
A lib for accessing the file /etc/default/cdrecord (CDDL)
libedc/
A Reed Solomon Encoder and Decoder (CDDL)
libfile/
A lib that implements the 'file' command (BSDL 2 clause)
libhfs_iso/
HFS support lib (GPL)
libmdigest/
Message digest lib (partially public domain, partially BSD 2 clause)
libparanoia/
CD paranoia CD-DAE support lib (LGPL)
librscg/
A remote SCSI-generic transport lib (CDDL)
This code may only be used together with other
code that is under an approved OpenSource license,
see http://www.opensource.org/.
libscg/
A local SCSI-generic transport lib (CDDL)
This code may only be used together with other
code that is under an approved OpenSource license,
see http://www.opensource.org/.
libscgcmd/
A SCSI-generic library that implements basic SCSI commands (CDDL)
This library sends the SCSI commands via libscg.
libschily/
The schily basic support library (CDDL)
libsiconv/
A simple iconv replacement/wrapper (CDDL)
libvms/
A library with supportcode for the VMS port (License: to fit any code in cdrtools)
Copyright (C) 2004-2006 Steven M. Schweda
mkisofs/
A ISO-9660/Rock-Ridge/Joliet/HFS/UDF filesystem formatter (GPL)
Note: uses libscg
See special GPL compatibility notes below
readcd/
A CD/DVD read utility (CDDL)
Note: uses libscg
rscsi/
The remote SCSI generic transport daemon (CDDL)
Note: uses libscg
RULES/
The main part of the Schily Makefilesystem (CDDL)
scgcheck/
The libscg interface comliance check program (CDDL)
Note: uses libscg
scgskeleton/
A libscg skeleton demo program (CDDL)
Note: uses libscg
TARGETS/
Slot support for the Schily Makefile system (CDDL)
TEMPLATES/
Template support for the Schily Makefile system (CDDL)
For more information on the CDDL read the file CDDL.Schily.txt
For more information on the GPL read the file GPL-2.0.txt
For more information on the LGPL read the file LGPL-2.1.txt
To find a list of CDDL licensed files, type:
find . -type f -exec grep -l 'License file CDDL' {} +
To find a list of GPL licensed files, type:
find . -type f -exec grep -l 'GNU General Public' {} +
To find a list of LGPL licensed files, type:
find . -type f -exec grep -l 'GNU Lesser General' {} +
GPL compatibility notes:
No non-GPL source is based on or derived from GPL code.
The terms and conditions of the GPL only cover a GPLd work but do not
extend to other works that have been published under a different license.
Linking a GPL'd work with another work does not create a "derived work"
but a "collective work". In case of a collective work, the GPL is very
obvious with only requiring the GPLd parts to be covered by the terms
and conditions of the GPL. The GPL however requires the other parts to
be delivered with the GPLd parts in order to permit to rebuild the binary.
Note: In case of statical linking, the resulting "mkisofs binary" is a
combination of several separate projects (works) under different licenses.
If you combine code from different licenses, you need to honor the legal
implications from the included GPL code and the other code.
If you just publish the complete original cdrtools source, you honor the GPL.
If you like to create a separate mkisofs package, be careful to verify that
everything that is needed to compile mkisofs is contained in this package.

14840
Changelog Normal file

File diff suppressed because it is too large Load Diff

7752
Changelog.1 Normal file

File diff suppressed because it is too large Load Diff

8
DEFAULTS/Defaults Normal file
View File

@ -0,0 +1,8 @@
#ident "%W% %E% %Q%"
###########################################################################
#
# global definitions: include system specific file
#
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults.$(O_ARCH)

51
DEFAULTS/Defaults.aix Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.aix 1.6 13/11/04 "
###########################################################################
#
# global definitions for IBM AIX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.amigaos Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.amigaos 1.6 13/11/04 "
###########################################################################
#
# global definitions for AmigaOS Systems using CC=gcc
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.beos Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.beos 1.6 13/11/04 "
###########################################################################
#
# global definitions for BeOS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

49
DEFAULTS/Defaults.bitrig Normal file
View File

@ -0,0 +1,49 @@
#ident "@(#)Defaults.bitrig 1.1 15/10/08 "
###########################################################################
#
# global definitions for Bitrig Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= clang
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

50
DEFAULTS/Defaults.bsd-os Normal file
View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.bsd-os 1.5 13/11/04 "
###########################################################################
#
# global definitions for BSD/OS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

50
DEFAULTS/Defaults.bsd-os3 Normal file
View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.bsd-os3 1.5 13/11/04 "
###########################################################################
#
# global definitions for BSD/OS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,77 @@
#ident "@(#)Defaults.cygwin32_nt 1.7 17/07/09 "
###########################################################################
#
# global definitions for Cygnus GCC for WINNT Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= root
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-msc.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= cygwin
VC=7
_VCNAME= $(_UNIQ)$(XMAKEPROG)
__VCNAME= $(_VCNAME:$(_UNIQ)=dummy)
___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%))
VCNAME= $(___VCNAME:$(_UNIQ)%=dummy)
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

View File

@ -0,0 +1,78 @@
#ident "@(#)Defaults.cygwin32_wow 1.2 17/07/09 "
###########################################################################
#
# global definitions for Cygnus GCC for WINNT Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= root
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-msc.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= cygwin
VC=7
VC=9
_VCNAME= $(_UNIQ)$(XMAKEPROG)
__VCNAME= $(_VCNAME:$(_UNIQ)=dummy)
___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%))
VCNAME= $(___VCNAME:$(_UNIQ)%=dummy)
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

View File

@ -0,0 +1,78 @@
#ident "@(#)Defaults.cygwin32_wow64 1.8 17/07/09 "
###########################################################################
#
# global definitions for Cygnus GCC for WINNT Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= root
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-msc.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= cygwin
VC=7
VC=9
_VCNAME= $(_UNIQ)$(XMAKEPROG)
__VCNAME= $(_VCNAME:$(_UNIQ)=dummy)
___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%))
VCNAME= $(___VCNAME:$(_UNIQ)%=dummy)
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

51
DEFAULTS/Defaults.darwin Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.darwin 1.4 13/11/04 "
###########################################################################
#
# global definitions for Mac OS X Darwin Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= #-L/opt/schily/lib
LDPATH= -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= wheel

51
DEFAULTS/Defaults.dgux Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.dgux 1.6 13/11/04 "
###########################################################################
#
# global definitions for Data General DGUX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.dgux3 Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.dgux3 1.6 13/11/04 "
###########################################################################
#
# global definitions for Data General DGUX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.dgux4 Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.dgux4 1.6 13/11/04 "
###########################################################################
#
# global definitions for Data General DGUX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.domainos 1.6 13/11/04 "
###########################################################################
#
# global definitions for Apollo Domain/OS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS= -W0,-info,0
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.dragonfly 1.6 13/11/04 "
###########################################################################
#
# global definitions for FreeBSD Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= -L/opt/schily/lib -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

50
DEFAULTS/Defaults.freebsd Normal file
View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.freebsd 1.6 13/11/04 "
###########################################################################
#
# global definitions for FreeBSD Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= -L/opt/schily/lib -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,50 @@
#ident @(#)Defaults.freemint 1.4 13/11/04
###########################################################################
#
# global definitions for FreeMiNT on ATARI computers
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.gnu Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.gnu 1.6 13/11/04 "
###########################################################################
#
# global definitions for GNU (hurd) Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/src/linux/include
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,69 @@
#ident "@(#)Defaults.gnu-kfreebsd 1.2 13/11/04 "
###########################################################################
#
# global definitions for Linux kfreebsd Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
###########################################################################
#
# LINUX_SRC_INCLUDE is used in RULES/*-linux-*cc*.rul
#
###########################################################################
LINUX_INCL_PATH= /usr/src/linux/include
_LINUX_SRC_INCLUDE= $(_UNIQ)$(MAY_LINUX_SRC_INCLUDE)
__LINUX_SRC_INCLUDE= $(_LINUX_SRC_INCLUDE:$(_UNIQ)=$(LINUX_INCL_PATH))
LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%)
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Unhide POSIX extensions from /usr/include/
#
###########################################################################
OSDEFS += -D_GNU_SOURCE
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.haiku Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.haiku 1.4 13/11/04 "
###########################################################################
#
# global definitions for Haiku Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /boot/opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.hp-ux Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.hp-ux 1.6 13/11/04 "
###########################################################################
#
# global definitions for HP/UX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

81
DEFAULTS/Defaults.interix Normal file
View File

@ -0,0 +1,81 @@
#ident "@(#)Defaults.interix 1.7 13/11/04 "
###########################################################################
#
# global definitions for Interix Systems (WIN-NT with SFU) using CC=gcc
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Avoid to have something like "Intel_x86_Family15_Model4_Stepping1"
# in $(OARCH), we rather use $(K_ARCH) which is e.g. "x86".
# XXX If this is changed, both files in DEFAULTS/ and DEFAULTS_ENG as
# XXX well as the file conf/oarch.sh need to be changed.
#
###########################################################################
P_ARCH= $(K_ARCH)
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= --rpath $(INS_BASE)/lib --rpath /opt/schily/lib --rpath $(OLIBSDIR)
RUNPATH= --rpath $(INS_BASE)/lib --rpath /opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-ms*.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= interix
VC=7
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=vc$(VC)$(_PLATFORM:%=-%)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-ms*.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

51
DEFAULTS/Defaults.irix Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.irix 1.6 13/11/04 "
###########################################################################
#
# global definitions for Silicon Graphics Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

69
DEFAULTS/Defaults.linux Normal file
View File

@ -0,0 +1,69 @@
#ident "@(#)Defaults.linux 1.8 13/11/04 "
###########################################################################
#
# global definitions for Linux Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
###########################################################################
#
# Unhide POSIX extensions from /usr/include/
#
###########################################################################
OSDEFS += -D_GNU_SOURCE
###########################################################################
#
# LINUX_SRC_INCLUDE is used in RULES/*-linux-*cc*.rul
#
###########################################################################
LINUX_INCL_PATH= /usr/src/linux/include
_LINUX_SRC_INCLUDE= $(_UNIQ)$(MAY_LINUX_SRC_INCLUDE)
__LINUX_SRC_INCLUDE= $(_LINUX_SRC_INCLUDE:$(_UNIQ)=$(LINUX_INCL_PATH))
LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%)
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.mac-os10 1.4 13/11/04 "
###########################################################################
#
# global definitions for Mac OS X Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= #-L/opt/schily/lib
LDPATH= -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= wheel

View File

@ -0,0 +1,52 @@
#ident "@(#)Defaults.mingw32_nt 1.5 13/11/04 "
###########################################################################
#
# global definitions for Win32/Mingw32 systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

49
DEFAULTS/Defaults.minix Normal file
View File

@ -0,0 +1,49 @@
#ident "@(#)Defaults.minix 1.1 15/11/08 "
###########################################################################
#
# global definitions for Minix Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= clang
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.ms-dos Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.ms-dos 1.6 13/11/04 "
###########################################################################
#
# global definitions for MSDOS/DJGPP v2 Systems using CC=gcc
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

50
DEFAULTS/Defaults.netbsd Normal file
View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.netbsd 1.5 13/11/04 "
###########################################################################
#
# global definitions for NetBSD Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.newsos6 Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.newsos6 1.6 13/11/04 "
###########################################################################
#
# global definitions for Sony NEWS-OS 6.x
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.nextstep 1.5 13/11/04 "
###########################################################################
#
# global definitions for NeXT Step Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

50
DEFAULTS/Defaults.openbsd Normal file
View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.openbsd 1.5 13/11/04 "
###########################################################################
#
# global definitions for OpenBSD Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.openserver 1.4 13/11/04 "
###########################################################################
#
# global definitions for SCO OpenServer 5 Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH=
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /usr/local
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.openvms Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.openvms 1.2 13/11/04 "
###########################################################################
#
# global definitions for OpenVMS
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.os2 Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.os2 1.6 13/11/04 "
###########################################################################
#
# global definitions for OS/2 Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.osf1 Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.osf1 1.6 13/11/04 "
###########################################################################
#
# global definitions for Digital UNIX (OSF1) Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.pyro Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.pyro 1.2 13/11/04 "
###########################################################################
#
# global definitions for Pyro Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /boot/Include
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/admin
INS_RBASE= /tmp/schily/admin
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= admin
DEFINSGRP= bin

53
DEFAULTS/Defaults.qnx Normal file
View File

@ -0,0 +1,53 @@
#ident "@(#)Defaults.qnx 1.5 13/11/04 "
###########################################################################
#
# global definitions for QNX Systems
#
###########################################################################
#
# Compiler stuff
#
# When QNX support started in december 1999, there was only the watcom
# C-compler (cc). Now, in novemver 2001 we switch to gcc.
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.rhapsody 1.4 13/11/04 "
###########################################################################
#
# global definitions for NeXT Step (Apple Rhapsody) Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= #-L/opt/schily/lib
LDPATH= -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= wheel

50
DEFAULTS/Defaults.sunos4 Normal file
View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.sunos4 1.5 13/11/04 "
###########################################################################
#
# global definitions for SunOS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will not work on SunOS
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

51
DEFAULTS/Defaults.sunos5 Normal file
View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.sunos5 1.6 13/11/04 "
###########################################################################
#
# global definitions for Solaris Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,51 @@
#ident "@(#)Defaults.syllable 1.3 13/11/04 "
###########################################################################
#
# global definitions for Syllable Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /ainc
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,50 @@
#ident "@(#)Defaults.unixware 1.4 13/11/04 "
###########################################################################
#
# global definitions for SCO UnixWare Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH=
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /usr/local
INS_KBASE= /
INS_RBASE= /
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

4
DEFAULTS/MKLINKS Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
#
ln -s Defaults.dgux Defaults.dgux3
ln -s Defaults.dgux Defaults.dgux4

0
DEFAULTS/dummy-setup Normal file
View File

44
DEFAULTS/vc6-cygwin-setup Normal file
View File

@ -0,0 +1,44 @@
# @(#)vc6-cygwin-setup 1.4 09/05/16 Copyright 2006 J. Schilling
#
# Keep in sync with vc6-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
VSCommonDir=C:\Programme\Microsoft Visual Studio\Common
VSCommonPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common
export VSCommonDir
MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98
MSDevPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common/msdev98
export MSDevDir
MSVCDir=C:\Programme\Microsoft Visual Studio\VC98
MSVCPath=/cygdrive/c/Programme/Microsoft Visual Studio/VC98
export MSVCDir
VcOsDir=WIN95
VcOsDir=WINNT
export VcOsDir
PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH}
export PATH
INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

View File

@ -0,0 +1,40 @@
# @(#)vc6-interix-setup 1.4 07/04/20 Copyright 2006 J. Schilling
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
VSCommonDir=C:\Programme\Microsoft Visual Studio\Common
VSCommonPath=/dev/fs/C/Programme/Microsoft Visual Studio/Common
export VSCommonDir
MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98
MSDevPath=/dev/fs/C/Programme/Microsoft Visual Studio/Common/msdev98
export MSDevDir
MSVCDir=C:\Programme\Microsoft Visual Studio\VC98
MSVCPath=/dev/fs/C/Programme/Microsoft Visual Studio/VC98
export MSVCDir
VcOsDir=WIN95
VcOsDir=WINNT
export VcOsDir
PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH}
export PATH
INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

44
DEFAULTS/vc6-setup Normal file
View File

@ -0,0 +1,44 @@
# @(#)vc6-setup 1.4 09/05/16 Copyright 2006 J. Schilling
#
# Keep in sync with vc6-cygwin-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
VSCommonDir=C:\Programme\Microsoft Visual Studio\Common
VSCommonPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common
export VSCommonDir
MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98
MSDevPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common/msdev98
export MSDevDir
MSVCDir=C:\Programme\Microsoft Visual Studio\VC98
MSVCPath=/cygdrive/c/Programme/Microsoft Visual Studio/VC98
export MSVCDir
VcOsDir=WIN95
VcOsDir=WINNT
export VcOsDir
PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH}
export PATH
INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

45
DEFAULTS/vc7-cygwin-setup Normal file
View File

@ -0,0 +1,45 @@
# @(#)vc7-cygwin-setup 1.5 09/05/16 Copyright 2006 J. Schilling
#
# Keep in sync with vc7-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation
#
VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8
VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8
#
# An English installation
#
VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
VSINS=/cygdrive/c/Program Files/Microsoft Visual Studio 8
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/BIN:${VSINS}/Common7/IDE:${PATH}
export PATH
INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

View File

@ -0,0 +1,41 @@
# @(#)vc7-interix-setup 1.7 07/04/24 Copyright 2006 J. Schilling
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation
#
VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8
VSINS=/dev/fs/C/Programme/Microsoft Visual Studio 8
#
# An English installation
#
VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
VSINS=/dev/fs/C/Program Files/Microsoft Visual Studio 8
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH}
export PATH
INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\Include;${INCLUDE}
export INCLUDE
LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

45
DEFAULTS/vc7-setup Normal file
View File

@ -0,0 +1,45 @@
# @(#)vc7-setup 1.5 09/05/16 Copyright 2006 J. Schilling
#
# Keep in sync with vc7-cygwin-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation
#
VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8
VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8
#
# An English installation
#
VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
VSINS=/cygdrive/c/Program Files/Microsoft Visual Studio 8
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/BIN:${VSINS}/Common7/IDE:${PATH}
export PATH
INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

View File

@ -0,0 +1,45 @@
# @(#)vc7_64-cygwin-setup 1.1 09/05/16 Copyright 2006 J. Schilling
#
# Keep in sync with vc7_64-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation
#
#VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8
#VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8
#
# An English installation on an English Windows XP 64 Bit host
#
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8
VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/BIN/amd64:${VSINS}/Common7/IDE:${PATH}
export PATH
INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${VCINSTALLDIR}\LIB\amd64;${VCINSTALLDIR}\PlatformSDK\LIB\amd64;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

46
DEFAULTS/vc7_64-setup Normal file
View File

@ -0,0 +1,46 @@
# @(#)vc7_64-setup 1.1 09/05/16 Copyright 2006 J. Schilling
#
# Keep in sync with vc7_64-cygwin-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation on a German Windows (32Bit) host, to be used
# for cross compiling stuff (no autoconf run)
#
#VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8
#VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8
#
# An English installation on an English Windows XP 64 Bit host
#
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8
VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/BIN/amd64:${VSINS}/Common7/IDE:${PATH}
export PATH
INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE}
export INCLUDE
LIB :=${VCINSTALLDIR}\LIB\amd64;${VCINSTALLDIR}\PlatformSDK\LIB\amd64;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

48
DEFAULTS/vc9-cygwin-setup Normal file
View File

@ -0,0 +1,48 @@
# @(#)vc9-cygwin-setup 1.4 11/08/01 Copyright 2006-2011 J. Schilling
#
# Keep in sync with vc9-cygwin-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation
#
VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 9.0
VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 9.0
#
# An English installation
#
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0
VSBASEDIR=C:\Program Files (x86)
VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH}
export PATH
#INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE}
INCLUDE :=${VCINSTALLDIR}\atlmfc\include;${VCINSTALLDIR}\include;${VSBASEDIR}\Microsoft SDKs\Windows\v5.0\include;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;${INCLUDE}
export INCLUDE
#LIB :=${VCINSTALLDIR}\lib;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB}
LIB :=${VCINSTALLDIR}\atlmfc\lib;${VCINSTALLDIR}\lib;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

48
DEFAULTS/vc9-setup Normal file
View File

@ -0,0 +1,48 @@
# @(#)vc9-setup 1.3 11/08/01 Copyright 2006-2011 J. Schilling
#
# Keep in sync with vc9-cygwin-setup as we cannot rely on hard links
#
#
# Disable warnings for nonportable variable assignements.
# We only use smake MS-WIN, so this is not a problem.
#
.NO_WARN: :=
#
# A German installation
#
VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 9.0
VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 9.0
#
# An English installation
#
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0
VSBASEDIR=C:\Program Files (x86)
VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0
export VSINSTALLDIR
VCINSTALLDIR :=${VSINSTALLDIR}\VC
export VCINSTALLDIR
PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH}
export PATH
#INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE}
INCLUDE :=${VCINSTALLDIR}\atlmfc\include;${VCINSTALLDIR}\include;${VSBASEDIR}\Microsoft SDKs\Windows\v5.0\include;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;${INCLUDE}
export INCLUDE
#LIB :=${VCINSTALLDIR}\lib;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB}
LIB :=${VCINSTALLDIR}\atlmfc\lib;${VCINSTALLDIR}\lib;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;${LIB}
export LIB
VC_SETUP=dummy-setup
export VC_SETUP
#
# Re-enable all warnings.
#
.NO_WARN:

8
DEFAULTS_CSW/Defaults Normal file
View File

@ -0,0 +1,8 @@
#ident "%W% %E% %Q%"
###########################################################################
#
# global definitions: include system specific file
#
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults.$(O_ARCH)

View File

@ -0,0 +1,67 @@
#ident "@(#)Defaults.sunos5 1.6 17/04/23 "
###########################################################################
#
# global definitions for Solaris Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
___SPO= $(P_ARCH:sparc=$(OSREL))
__SPO= $(___SPO:5.1%=null)
_SPO= $(__SPO:5.%=sparc-cc.defs)
SPO= $(_SPO:$(P_ARCH)=null)
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(SPO)
SUNPROCOPTOPT= -O -xspace -xildoff $(XARCH_GEN)
SUNPROC++OPTOPT= -O -xspace -xildoff $(XARCH_GEN)
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R'$$ORIGIN/../lib' -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
INS_BASE= /opt/schily
INS_KBASE= /
INS_RBASE= /
#INS_BASE= /tmp/schily
#INS_KBASE= /tmp/schily/root
#INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin
PROJECTNAME= SchilliX-0.6

4
DEFAULTS_CSW/MKLINKS Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
#
ln -s Defaults.dgux Defaults.dgux3
ln -s Defaults.dgux Defaults.dgux4

0
DEFAULTS_CSW/null Normal file
View File

View File

@ -0,0 +1,40 @@
#ident "@(#)sparc-cc.defs 1.3 14/03/27 "
###########################################################################
#
# global compiler specific definitions for Solaris Sparc Systems
#
###########################################################################
# Written 2007-2014 by J. Schilling
###########################################################################
# Copyright (c) J. Schilling
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
# A copy of the CDDL is also available via the Internet at
# http://www.opensource.org/licenses/cddl1.txt
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
#
# Enforce to use the generic 32 bit Sparc instruction set (Sparc-V8).
# Newer Sparc-V9 (64 Bit systems) implement Sparc-V8plus for 32 bits.
# This definition grants that the code may run on a pure 32 bit Sparc system,
# as the default for newer Sun compilers is to create Sparc-V8plus instructions
# when in 32 bit mode.
#
# XARCH_GEN__ is overwritten later in RULES/cc-sunpro.rul
# XARCH_GEN_ is used by RULES/cc-sunpro.rul as primary input for XARCH_GEN
# _*XARCH_GEN is unique to sparc-cc.defs
#
###########################################################################
XARCH_GEN__= -xarch=v8
_XARCH_GEN= $(_UNIQ)$(CCOM)
__XARCH_GEN= $(_XARCH_GEN:$(_UNIQ)cc64=-xarch=generic64)
XARCH_GEN_= $(__XARCH_GEN:$(_UNIQ)%=-xarch=v8)
#XARCH_GEN= $(___XARCH_GEN:$(_UNIQ)%=%)

8
DEFAULTS_ENG/Defaults Normal file
View File

@ -0,0 +1,8 @@
#ident "%W% %E% %Q%"
###########################################################################
#
# global definitions: include system specific file
#
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults.$(O_ARCH)

54
DEFAULTS_ENG/Defaults.aix Normal file
View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.aix 1.6 13/11/04 "
###########################################################################
#
# global definitions for IBM AIX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.amigaos 1.6 13/11/04 "
###########################################################################
#
# global definitions for AmigaOS Systems using CC=gcc
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.beos 1.6 13/11/04 "
###########################################################################
#
# global definitions for BeOS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,52 @@
#ident "@(#)Defaults.bitrig 1.1 15/10/08 "
###########################################################################
#
# global definitions for Bitrig Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= clang
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,53 @@
#ident "@(#)Defaults.bsd-os 1.5 13/11/04 "
###########################################################################
#
# global definitions for BSD/OS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,53 @@
#ident "@(#)Defaults.bsd-os3 1.5 13/11/04 "
###########################################################################
#
# global definitions for BSD/OS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,80 @@
#ident "@(#)Defaults.cygwin32_nt 1.7 17/07/09 "
###########################################################################
#
# global definitions for Cygnus GCC for WINNT Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= root
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-msc.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= cygwin
VC=7
_VCNAME= $(_UNIQ)$(XMAKEPROG)
__VCNAME= $(_VCNAME:$(_UNIQ)=dummy)
___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%))
VCNAME= $(___VCNAME:$(_UNIQ)%=dummy)
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

View File

@ -0,0 +1,80 @@
#ident "@(#)Defaults.cygwin32_wow 1.2 17/07/09 "
###########################################################################
#
# global definitions for Cygnus GCC for WINNT Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= root
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-msc.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= cygwin
VC=7
_VCNAME= $(_UNIQ)$(XMAKEPROG)
__VCNAME= $(_VCNAME:$(_UNIQ)=dummy)
___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%))
VCNAME= $(___VCNAME:$(_UNIQ)%=dummy)
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

View File

@ -0,0 +1,80 @@
#ident "@(#)Defaults.cygwin32_wow64 1.7 17/07/09 "
###########################################################################
#
# global definitions for Cygnus GCC for WINNT Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
#LDPATH= -L/opt/schily/lib
LDPATH=
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH=
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= root
#
# This is not the correct place for doing this,
# the correct place is RULES/cc-msc.rul.
# We do it here because otherwise cc-config would not work.
# This kind of hack may not work for other platforms.
#
_PLATFORM= cygwin
VC=7
_VCNAME= $(_UNIQ)$(XMAKEPROG)
__VCNAME= $(_VCNAME:$(_UNIQ)=dummy)
___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%))
VCNAME= $(___VCNAME:$(_UNIQ)%=dummy)
_VC_SETUP= $(_UNIQ)$(VC_SETUP)
__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup)
VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%)
###########################################################################
# IMPORTANT Note:
# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul
# in order to be able to test for the existence of "cl.exe" early.
###########################################################################
include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP)

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.darwin 1.4 13/11/04 "
###########################################################################
#
# global definitions for Mac OS X Darwin Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= #-L/opt/schily/lib
LDPATH= -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= wheel

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.dgux 1.6 13/11/04 "
###########################################################################
#
# global definitions for Data General DGUX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.dgux3 1.6 13/11/04 "
###########################################################################
#
# global definitions for Data General DGUX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.dgux4 1.6 13/11/04 "
###########################################################################
#
# global definitions for Data General DGUX Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
#DEFCCOM= cc
DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,54 @@
#ident "@(#)Defaults.domainos 1.6 13/11/04 "
###########################################################################
#
# global definitions for Apollo Domain/OS Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS=
LDPATH= -L/opt/schily/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

View File

@ -0,0 +1,53 @@
#ident "@(#)Defaults.dragonfly 1.6 13/11/04 "
###########################################################################
#
# global definitions for FreeBSD Systems
#
###########################################################################
#
# Compiler stuff
#
###########################################################################
DEFCCOM= cc
#DEFCCOM= gcc
###########################################################################
#
# Link mode for libraries that are part of the makefile system:
# If DEFLINKMODE is set to "static", no dynamic linking will be used
# If DEFLINKMODE is set to "dynamic", dynamic linking will be used
#
###########################################################################
DEFLINKMODE= static
###########################################################################
#
# If the next line is commented out, compilation is done with max warn level
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
#CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
DEFOSINCDIRS= /usr/local/include
LDPATH= -L/opt/schily/lib -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
#INS_BASE= /opt/schily
#INS_KBASE= /
#INS_RBASE= /
INS_BASE= /tmp/schily
INS_KBASE= /tmp/schily/root
INS_RBASE= /tmp/schily/root
#
DEFUMASK= 002
#
DEFINSMODEF= 444
DEFINSMODEX= 755
DEFINSUSR= root
DEFINSGRP= bin

Some files were not shown because too many files have changed in this diff Show More