home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
tcp
/
Networking
/
TCP
/
Server
/
wu-ftpd
/
src
/
smakefile
< prev
next >
Wrap
Makefile
|
1995-02-25
|
2KB
|
65 lines
#
# wu-ftpd makefile for SAS C 6.51
#
OBJ1 = ftpd.o ftpcmd.o glob.o vers.o access.o extensions.o
OBJ2 = realpath.o acl.o private.o authenticate.o conversions.o hostacc.o
OBJ3 = getusershell.o authuser.o fnmatch.o ftw.o strsep.o
OBJ4 = regexp.o regerror.o amiga.o unixdirs.o fixes.o amitcp.o
OBJS = ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4}
all: ftpd ftpcount ftpshut
ftpcount: ftpcount.o vers.o
${CC} LINK TO $@ ftpcount.o vers.o
ftpshut: ftpshut.o vers.o
${CC} LINK TO $@ ftpshut.o vers.o
ftpd: ${OBJS}
${CC} LINK TO $@ ${OBJS}
ftpcmd.c: ftpcmd.y
bison -y ftpcmd.y -o ftpcmd.c
# The following dependency is needed because we
# have to compile this module with PARM=BOTH in
# order to replace the original SAS/C library
# routines.
amitcp.o: amitcp.c config.h
${CC} PARM=BOTH amitcp.c
# Cleanup junk
clean:
-delete ${OBJS} ftpcmd.c ftpd ftpd.lnk
-delete ftpshut ftpshut.lnk ftpshut.o
-delete ftpcount ftpcount.lnk ftpcount.o
# Bump revision number
bumprev:
execute newvers.sh
smake all
# Dependencies
authenticate.o: authenticate.c authenticate.h config.h
conversions.o: conversions.c conversions.h extensions.h pathnames.h config.h
hostacc.o: hostacc.c hostacc.h config.h
extensions.o: extensions.c extensions.h pathnames.h config.h
ftpd.o: ftpd.c extensions.h pathnames.h config.h
ftpcmd.o: ftpcmd.c extensions.h pathnames.h config.h
access.o: access.c extensions.h pathnames.h config.h
acl.o: acl.c extensions.h pathnames.h config.h
private.o: private.c extensions.h pathnames.h config.h
ftpcount.o: ftpcount.c extensions.h pathnames.h config.h
ftpshut.o: ftpshut.c pathnames.h config.h
realpath.o: realpath.c config.h
glob.o: glob.c config.h
getusershell.o: getusershell.c config.h
authuser.o: authuser.c config.h authuser.h
fnmatch.o: fnmatch.c config.h
ftw.o: ftw.c config.h ftw.h
strsep.o: strsep.c
regexp.o: regexp.c regexp.h regmagic.h
amiga.o: amiga.c extensions.h config.h
fixes.o: fixes.c config.h