From 6ba98a9f9f48e13738d9736cba9c45b5e94f42f2 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 14 Apr 2008 21:52:55 -0400 Subject: Initial import --- Makefiles/.svn/README.txt | 2 + Makefiles/.svn/empty-file | 0 Makefiles/.svn/entries | 34 +++++++++++++ Makefiles/.svn/format | 1 + Makefiles/.svn/prop-base/build.svn-base | 1 + Makefiles/.svn/prop-base/config.svn-base | 1 + Makefiles/.svn/props/build.svn-work | 1 + Makefiles/.svn/props/config.svn-work | 1 + Makefiles/.svn/text-base/build.svn-base | 84 ++++++++++++++++++++++++++++++++ Makefiles/.svn/text-base/config.svn-base | 44 +++++++++++++++++ 10 files changed, 169 insertions(+) create mode 100644 Makefiles/.svn/README.txt create mode 100644 Makefiles/.svn/empty-file create mode 100644 Makefiles/.svn/entries create mode 100644 Makefiles/.svn/format create mode 100644 Makefiles/.svn/prop-base/build.svn-base create mode 100644 Makefiles/.svn/prop-base/config.svn-base create mode 100644 Makefiles/.svn/props/build.svn-work create mode 100644 Makefiles/.svn/props/config.svn-work create mode 100644 Makefiles/.svn/text-base/build.svn-base create mode 100644 Makefiles/.svn/text-base/config.svn-base (limited to 'Makefiles/.svn') 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 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 @@ + + + + + + + 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 -- cgit v1.2.3