diff options
Diffstat (limited to 'Makefiles')
40 files changed, 455 insertions, 0 deletions
diff --git a/Makefiles/.svn/README.txt b/Makefiles/.svn/README.txt new file mode 100644 index 0000000..271a8ce --- /dev/null +++ b/Makefiles/.svn/README.txt @@ -0,0 +1,2 @@ +This is a Subversion working copy administrative directory. +Visit http://subversion.tigris.org/ for more information. diff --git a/Makefiles/.svn/empty-file b/Makefiles/.svn/empty-file new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Makefiles/.svn/empty-file diff --git a/Makefiles/.svn/entries b/Makefiles/.svn/entries new file mode 100644 index 0000000..46786c3 --- /dev/null +++ b/Makefiles/.svn/entries @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<wc-entries + xmlns="svn:"> +<entry + committed-rev="1" + name="" + committed-date="2005-12-08T17:32:07.572093Z" + url="svn+ssh://coleridge/svn/nastd/trunk/Makefiles" + last-author="bjc" + kind="dir" + uuid="2641c99b-6c07-0410-920d-927397d2d5d0" + revision="8"/> +<entry + committed-rev="1" + name="build" + text-time="2005-12-24T00:00:40.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="01035c5b5538c67671bde47d4f0fa2e8" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:38.000000Z"/> +<entry + name="os" + kind="dir"/> +<entry + committed-rev="1" + name="config" + text-time="2005-12-24T00:00:40.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="89fb3d48473f6edb3478d3534c5b0299" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:40.000000Z"/> +</wc-entries> diff --git a/Makefiles/.svn/format b/Makefiles/.svn/format new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/Makefiles/.svn/format @@ -0,0 +1 @@ +4 diff --git a/Makefiles/.svn/prop-base/build.svn-base b/Makefiles/.svn/prop-base/build.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/.svn/prop-base/build.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/.svn/prop-base/config.svn-base b/Makefiles/.svn/prop-base/config.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/.svn/prop-base/config.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/.svn/props/build.svn-work b/Makefiles/.svn/props/build.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/.svn/props/build.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/.svn/props/config.svn-work b/Makefiles/.svn/props/config.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/.svn/props/config.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/.svn/text-base/build.svn-base b/Makefiles/.svn/text-base/build.svn-base new file mode 100644 index 0000000..61c6c64 --- /dev/null +++ b/Makefiles/.svn/text-base/build.svn-base @@ -0,0 +1,84 @@ +# $Id: build,v 1.22 2001/10/29 11:22:05 shmit Exp $ +# +# Don't do configuration in this file! Edit Makefile.config instead. +# + +CFLAGS= ${DEBUGFLAGS} ${PROFFLAGS} ${OSFLAGS} ${OPTFLAGS} \ + ${THREADFLAGS} ${PATH_DEFS} -I${TOPDIR}/include \ + ${OBJCINC} ${MYSQL_INCS} ${DB_DEFS} -D_REENTRANT \ + -D_THREAD_SAFE + +LIBS= ${OSLIBS} -lobjc + +# Path settings. +PATH_DEFS= -DDATADIR=\"${DATADIR}\" + +# MySQL settings. +MYSQL_LIBS= ${RPATH} ${MYSQL_LIBDIR} -L${MYSQL_LIBDIR} -lmysqlclient -lm +MYSQL_INCS= -I${MYSQL_INCDIR} +DB_DEFS= -DDBUSER=${DBUSER} -DDBPASS=${DBPASS} \ + -DDBHOST=${DBHOST} -DDBNAME=${DBNAME} \ + -DDBTBL=${DBTBL} -DDBSELECT=${DBSELECT} + +BINS= tests/getnast tests/updnast tests/statnast tests/killnast +SBINS= server/nastd +INCS= include/nastd.h +ASSLIBS= client/libnast.a client/libnast_r.a + +.SUFFIXES: .c .m .o + +.PHONY: common libconfig server client tests perl + +all: server client tests perl + +install: all + mkdir -p ${BINDIR} ${SBINDIR} ${INCDIR} ${LIBDIR} ${DATADIR} + ${INSTALL} -c -m 755 ${BINS} ${BINDIR} + ${INSTALL} -c -m 755 ${SBINS} ${SBINDIR} + ${INSTALL} -c -m 644 ${INCS} ${INCDIR} + ${INSTALL} -c -m 644 ${ASSLIBS} ${LIBDIR} + @(cd perl && ./build ${MAKE} ${PERL} install) + +server: common libconfig + @(echo "===> server" && cd server && ${MAKE}) + +client: common + @(echo "===> client" && cd client && ${MAKE}) + +tests: common + @(echo "===> tests" && cd tests && ${MAKE}) + +common: + @(echo "===> common" && cd common && ${MAKE}) + +libconfig: + @(echo "===> libconfig" && cd libconfig && ${MAKE}) + +perl: + @(echo "===> perl" && cd perl && ./build ${MAKE} ${PERL}) + +clean: + @(cd ${TOPDIR} && ${MAKE} realclean) + +realclean: + rm -f common/*.o common/*.a client/*.o server/*.o + rm -f tests/*.o tests/getnast + rm -f perl/Makefile perl/NASTD.c perl/NASTD.bs perl/*.o + rm -rf perl/blib + +.c.o: + ${CC} ${CFLAGS} -c $< + +.m.o: + ${CC} ${CFLAGS} -c $< + +.c.So: + ${CC} ${CFLAGS} -fpic -DPIC -o $@ -c $< + +MKDIR?= Makefiles +TOPDIR= ${MKDIR}/.. +MKLIB= ${TOPDIR}/tools/makelib +MKMODLIST= ${TOPDIR}/tools/mkmodlist + +include ${MKDIR}/config +include ${MKDIR}/os/target diff --git a/Makefiles/.svn/text-base/config.svn-base b/Makefiles/.svn/text-base/config.svn-base new file mode 100644 index 0000000..813b4ca --- /dev/null +++ b/Makefiles/.svn/text-base/config.svn-base @@ -0,0 +1,44 @@ +# $Id: config,v 1.24 2001/11/09 15:54:37 shmit Exp $ +# +# Add -DSHADOW to OPTFLAGS if you want to use have shadow passwords. + +# Where to place things. +#PREFIX= /opt +PREFIX= /home/shmit +BINDIR= ${PREFIX}/bin +SBINDIR= ${PREFIX}/sbin +DATADIR= ${PREFIX}/libdata/nast +INCDIR= ${PREFIX}/include +LIBDIR= ${PREFIX}/lib +SRCDIR= . + +# Set this to NO if you don't want the perl library built. +PERL= NO + +# Purify options +#PURIFY= purify + +# MySQL library and include file location. +MYSQL_INCDIR= /local/include +MYSQL_LIBDIR= /local/lib + +# Generic Database configuration. +DBUSER= \"root\" +DBPASS= NULL +#DBPASS= \"h4x0rZ,uhb0und!\" +DBHOST= NULL +#DBHOST= \"mysql.dev.rcn.net\" +DBNAME= \"password\" +DBTBL= \"master\" +DBSELECT= "\"SELECT %s FROM %s WHERE %s='%s'"\" + +# Location of Objective C include files. +OBJCINC= -I/local/include/objc + +# Debugging flags. +DEBUGFLAGS= -g -DTEST -DVERBOSE -Wall -Werror +#DEBUGFLAGS= -DTEST -DVERBOSE +#PROFFLAGS= -pg + +# Optimization flags to the C compiler. +#OPTFLAGS= -O diff --git a/Makefiles/build b/Makefiles/build new file mode 100644 index 0000000..61c6c64 --- /dev/null +++ b/Makefiles/build @@ -0,0 +1,84 @@ +# $Id: build,v 1.22 2001/10/29 11:22:05 shmit Exp $ +# +# Don't do configuration in this file! Edit Makefile.config instead. +# + +CFLAGS= ${DEBUGFLAGS} ${PROFFLAGS} ${OSFLAGS} ${OPTFLAGS} \ + ${THREADFLAGS} ${PATH_DEFS} -I${TOPDIR}/include \ + ${OBJCINC} ${MYSQL_INCS} ${DB_DEFS} -D_REENTRANT \ + -D_THREAD_SAFE + +LIBS= ${OSLIBS} -lobjc + +# Path settings. +PATH_DEFS= -DDATADIR=\"${DATADIR}\" + +# MySQL settings. +MYSQL_LIBS= ${RPATH} ${MYSQL_LIBDIR} -L${MYSQL_LIBDIR} -lmysqlclient -lm +MYSQL_INCS= -I${MYSQL_INCDIR} +DB_DEFS= -DDBUSER=${DBUSER} -DDBPASS=${DBPASS} \ + -DDBHOST=${DBHOST} -DDBNAME=${DBNAME} \ + -DDBTBL=${DBTBL} -DDBSELECT=${DBSELECT} + +BINS= tests/getnast tests/updnast tests/statnast tests/killnast +SBINS= server/nastd +INCS= include/nastd.h +ASSLIBS= client/libnast.a client/libnast_r.a + +.SUFFIXES: .c .m .o + +.PHONY: common libconfig server client tests perl + +all: server client tests perl + +install: all + mkdir -p ${BINDIR} ${SBINDIR} ${INCDIR} ${LIBDIR} ${DATADIR} + ${INSTALL} -c -m 755 ${BINS} ${BINDIR} + ${INSTALL} -c -m 755 ${SBINS} ${SBINDIR} + ${INSTALL} -c -m 644 ${INCS} ${INCDIR} + ${INSTALL} -c -m 644 ${ASSLIBS} ${LIBDIR} + @(cd perl && ./build ${MAKE} ${PERL} install) + +server: common libconfig + @(echo "===> server" && cd server && ${MAKE}) + +client: common + @(echo "===> client" && cd client && ${MAKE}) + +tests: common + @(echo "===> tests" && cd tests && ${MAKE}) + +common: + @(echo "===> common" && cd common && ${MAKE}) + +libconfig: + @(echo "===> libconfig" && cd libconfig && ${MAKE}) + +perl: + @(echo "===> perl" && cd perl && ./build ${MAKE} ${PERL}) + +clean: + @(cd ${TOPDIR} && ${MAKE} realclean) + +realclean: + rm -f common/*.o common/*.a client/*.o server/*.o + rm -f tests/*.o tests/getnast + rm -f perl/Makefile perl/NASTD.c perl/NASTD.bs perl/*.o + rm -rf perl/blib + +.c.o: + ${CC} ${CFLAGS} -c $< + +.m.o: + ${CC} ${CFLAGS} -c $< + +.c.So: + ${CC} ${CFLAGS} -fpic -DPIC -o $@ -c $< + +MKDIR?= Makefiles +TOPDIR= ${MKDIR}/.. +MKLIB= ${TOPDIR}/tools/makelib +MKMODLIST= ${TOPDIR}/tools/mkmodlist + +include ${MKDIR}/config +include ${MKDIR}/os/target diff --git a/Makefiles/config b/Makefiles/config new file mode 100644 index 0000000..813b4ca --- /dev/null +++ b/Makefiles/config @@ -0,0 +1,44 @@ +# $Id: config,v 1.24 2001/11/09 15:54:37 shmit Exp $ +# +# Add -DSHADOW to OPTFLAGS if you want to use have shadow passwords. + +# Where to place things. +#PREFIX= /opt +PREFIX= /home/shmit +BINDIR= ${PREFIX}/bin +SBINDIR= ${PREFIX}/sbin +DATADIR= ${PREFIX}/libdata/nast +INCDIR= ${PREFIX}/include +LIBDIR= ${PREFIX}/lib +SRCDIR= . + +# Set this to NO if you don't want the perl library built. +PERL= NO + +# Purify options +#PURIFY= purify + +# MySQL library and include file location. +MYSQL_INCDIR= /local/include +MYSQL_LIBDIR= /local/lib + +# Generic Database configuration. +DBUSER= \"root\" +DBPASS= NULL +#DBPASS= \"h4x0rZ,uhb0und!\" +DBHOST= NULL +#DBHOST= \"mysql.dev.rcn.net\" +DBNAME= \"password\" +DBTBL= \"master\" +DBSELECT= "\"SELECT %s FROM %s WHERE %s='%s'"\" + +# Location of Objective C include files. +OBJCINC= -I/local/include/objc + +# Debugging flags. +DEBUGFLAGS= -g -DTEST -DVERBOSE -Wall -Werror +#DEBUGFLAGS= -DTEST -DVERBOSE +#PROFFLAGS= -pg + +# Optimization flags to the C compiler. +#OPTFLAGS= -O diff --git a/Makefiles/os/.cvsignore b/Makefiles/os/.cvsignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/Makefiles/os/.cvsignore @@ -0,0 +1 @@ +target diff --git a/Makefiles/os/.svn/README.txt b/Makefiles/os/.svn/README.txt new file mode 100644 index 0000000..271a8ce --- /dev/null +++ b/Makefiles/os/.svn/README.txt @@ -0,0 +1,2 @@ +This is a Subversion working copy administrative directory. +Visit http://subversion.tigris.org/ for more information. diff --git a/Makefiles/os/.svn/empty-file b/Makefiles/os/.svn/empty-file new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Makefiles/os/.svn/empty-file diff --git a/Makefiles/os/.svn/entries b/Makefiles/os/.svn/entries new file mode 100644 index 0000000..c1657db --- /dev/null +++ b/Makefiles/os/.svn/entries @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<wc-entries + xmlns="svn:"> +<entry + committed-rev="1" + name="" + committed-date="2005-12-08T17:32:07.572093Z" + url="svn+ssh://coleridge/svn/nastd/trunk/Makefiles/os" + last-author="bjc" + kind="dir" + uuid="2641c99b-6c07-0410-920d-927397d2d5d0" + revision="8"/> +<entry + committed-rev="1" + name="linux" + text-time="2005-12-24T00:00:39.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="33118b2ed9fdd39180d2faf716511b64" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:39.000000Z"/> +<entry + committed-rev="1" + name="sunos" + text-time="2005-12-24T00:00:39.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="d286f2b75d1fdf0873dde83f057f9cac" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:39.000000Z"/> +<entry + committed-rev="1" + name="freebsd" + text-time="2005-12-24T00:00:40.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="152b5b3eb3560dc62bc2f51a843bfe88" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:39.000000Z"/> +<entry + committed-rev="1" + name="freebsd2" + text-time="2005-12-24T00:00:40.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="4cd08c472fa6a082e6432881601d1f97" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:39.000000Z"/> +<entry + committed-rev="1" + name="solaris" + text-time="2005-12-24T00:00:40.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="5ee16c2cac3da4723e2fefcf1dfac6b3" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:39.000000Z"/> +<entry + committed-rev="1" + name=".cvsignore" + text-time="2005-12-24T00:00:40.000000Z" + committed-date="2005-12-08T17:32:07.572093Z" + checksum="80fb1dd0b20823f1d83e10d25840e2e4" + last-author="bjc" + kind="file" + prop-time="2005-12-24T00:00:39.000000Z"/> +</wc-entries> diff --git a/Makefiles/os/.svn/format b/Makefiles/os/.svn/format new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/Makefiles/os/.svn/format @@ -0,0 +1 @@ +4 diff --git a/Makefiles/os/.svn/prop-base/.cvsignore.svn-base b/Makefiles/os/.svn/prop-base/.cvsignore.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/prop-base/.cvsignore.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/prop-base/freebsd.svn-base b/Makefiles/os/.svn/prop-base/freebsd.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/prop-base/freebsd.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/prop-base/freebsd2.svn-base b/Makefiles/os/.svn/prop-base/freebsd2.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/prop-base/freebsd2.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/prop-base/linux.svn-base b/Makefiles/os/.svn/prop-base/linux.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/prop-base/linux.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/prop-base/solaris.svn-base b/Makefiles/os/.svn/prop-base/solaris.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/prop-base/solaris.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/prop-base/sunos.svn-base b/Makefiles/os/.svn/prop-base/sunos.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/prop-base/sunos.svn-base @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/props/.cvsignore.svn-work b/Makefiles/os/.svn/props/.cvsignore.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/props/.cvsignore.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/props/freebsd.svn-work b/Makefiles/os/.svn/props/freebsd.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/props/freebsd.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/props/freebsd2.svn-work b/Makefiles/os/.svn/props/freebsd2.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/props/freebsd2.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/props/linux.svn-work b/Makefiles/os/.svn/props/linux.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/props/linux.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/props/solaris.svn-work b/Makefiles/os/.svn/props/solaris.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/props/solaris.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/props/sunos.svn-work b/Makefiles/os/.svn/props/sunos.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/Makefiles/os/.svn/props/sunos.svn-work @@ -0,0 +1 @@ +END diff --git a/Makefiles/os/.svn/text-base/.cvsignore.svn-base b/Makefiles/os/.svn/text-base/.cvsignore.svn-base new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/Makefiles/os/.svn/text-base/.cvsignore.svn-base @@ -0,0 +1 @@ +target diff --git a/Makefiles/os/.svn/text-base/freebsd.svn-base b/Makefiles/os/.svn/text-base/freebsd.svn-base new file mode 100644 index 0000000..7eb2e17 --- /dev/null +++ b/Makefiles/os/.svn/text-base/freebsd.svn-base @@ -0,0 +1,7 @@ +# $Id: freebsd,v 1.1.1.1 2000/02/16 23:32:48 shmit Exp $ + +CC= gcc -pthread +INSTALL= install + +OSFLAGS= -DOS_FREEBSD -DFREEBSD_3 +OSLIBS= -lcrypt -lutil diff --git a/Makefiles/os/.svn/text-base/freebsd2.svn-base b/Makefiles/os/.svn/text-base/freebsd2.svn-base new file mode 100644 index 0000000..387db8e --- /dev/null +++ b/Makefiles/os/.svn/text-base/freebsd2.svn-base @@ -0,0 +1,7 @@ +# $Id: freebsd2,v 1.1.1.1 2000/02/16 23:32:48 shmit Exp $ + +CC= gcc +INSTALL= install + +OSFLAGS= -DOS_FREEBSD -DFREEBSD_2 +OSLIBS= -lcrypt -lutil diff --git a/Makefiles/os/.svn/text-base/linux.svn-base b/Makefiles/os/.svn/text-base/linux.svn-base new file mode 100644 index 0000000..2f453ef --- /dev/null +++ b/Makefiles/os/.svn/text-base/linux.svn-base @@ -0,0 +1,8 @@ +# $Id: linux,v 1.3 2000/03/21 19:25:17 shmit Exp $ + +CC= gcc +INSTALL= install +RPATH= -L + +OSFLAGS= -DOS_LINUX +OSLIBS= -lpthread diff --git a/Makefiles/os/.svn/text-base/solaris.svn-base b/Makefiles/os/.svn/text-base/solaris.svn-base new file mode 100644 index 0000000..ca7834d --- /dev/null +++ b/Makefiles/os/.svn/text-base/solaris.svn-base @@ -0,0 +1,8 @@ +# $Id: solaris,v 1.2 2000/03/21 19:22:51 shmit Exp $ + +CC= gcc +INSTALL= /usr/ucb/install +RPATH= -R + +OSFLAGS= -DOS_SOLARIS -D_POSIX_PTHREAD_SEMANTICS +OSLIBS= -lpthread -lnsl -lsocket -lposix4 -ldl diff --git a/Makefiles/os/.svn/text-base/sunos.svn-base b/Makefiles/os/.svn/text-base/sunos.svn-base new file mode 100644 index 0000000..93324f7 --- /dev/null +++ b/Makefiles/os/.svn/text-base/sunos.svn-base @@ -0,0 +1,7 @@ +# $Id: sunos,v 1.1.1.1 2000/02/16 23:32:47 shmit Exp $ + +CC= gcc +INSTALL= /usr/ucb/install + +OSFLAGS= -DOS_SUNOS +OSLIBS= -lnsl -lsocket diff --git a/Makefiles/os/freebsd b/Makefiles/os/freebsd new file mode 100644 index 0000000..7eb2e17 --- /dev/null +++ b/Makefiles/os/freebsd @@ -0,0 +1,7 @@ +# $Id: freebsd,v 1.1.1.1 2000/02/16 23:32:48 shmit Exp $ + +CC= gcc -pthread +INSTALL= install + +OSFLAGS= -DOS_FREEBSD -DFREEBSD_3 +OSLIBS= -lcrypt -lutil diff --git a/Makefiles/os/freebsd2 b/Makefiles/os/freebsd2 new file mode 100644 index 0000000..387db8e --- /dev/null +++ b/Makefiles/os/freebsd2 @@ -0,0 +1,7 @@ +# $Id: freebsd2,v 1.1.1.1 2000/02/16 23:32:48 shmit Exp $ + +CC= gcc +INSTALL= install + +OSFLAGS= -DOS_FREEBSD -DFREEBSD_2 +OSLIBS= -lcrypt -lutil diff --git a/Makefiles/os/linux b/Makefiles/os/linux new file mode 100644 index 0000000..2f453ef --- /dev/null +++ b/Makefiles/os/linux @@ -0,0 +1,8 @@ +# $Id: linux,v 1.3 2000/03/21 19:25:17 shmit Exp $ + +CC= gcc +INSTALL= install +RPATH= -L + +OSFLAGS= -DOS_LINUX +OSLIBS= -lpthread diff --git a/Makefiles/os/solaris b/Makefiles/os/solaris new file mode 100644 index 0000000..ca7834d --- /dev/null +++ b/Makefiles/os/solaris @@ -0,0 +1,8 @@ +# $Id: solaris,v 1.2 2000/03/21 19:22:51 shmit Exp $ + +CC= gcc +INSTALL= /usr/ucb/install +RPATH= -R + +OSFLAGS= -DOS_SOLARIS -D_POSIX_PTHREAD_SEMANTICS +OSLIBS= -lpthread -lnsl -lsocket -lposix4 -ldl diff --git a/Makefiles/os/sunos b/Makefiles/os/sunos new file mode 100644 index 0000000..93324f7 --- /dev/null +++ b/Makefiles/os/sunos @@ -0,0 +1,7 @@ +# $Id: sunos,v 1.1.1.1 2000/02/16 23:32:47 shmit Exp $ + +CC= gcc +INSTALL= /usr/ucb/install + +OSFLAGS= -DOS_SUNOS +OSLIBS= -lnsl -lsocket |