home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.uv.es
/
2014.11.ftp.uv.es.tar
/
ftp.uv.es
/
pub
/
unix
/
bootp.2.2+FdC.tar.Z
/
bootp.2.2+FdC.tar
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-03-23
|
1KB
|
47 lines
#
# bootpd - BOOTP server daemon
#
# $Header: /d/backup/src4/sun4.bin/bootpd/2.2alpha/RCS/Makefile,v 1.2 92/03/23 16:05:04 alan Exp $
#
# The next few lines may be uncommented and changed to alter the default
# filenames bootpd uses for its configuration and dump files.
#CONFFILE=-DCONFIG_FILE=\"/usr/etc/bootptab\"
#DUMPFILE=-DDUMP_FILE=\"/usr/etc/bootpd.dump\"
#FILESPECS=${CONFFILE} ${DUMPFILE}
# Users of SunOS 4.0 and later must add -DSUNOS40 to BOOTPDOPT below.
# Remove the -DVEND_CMU if you don't wish to support the "CMU vendor format"
# in addition to the RFC1048 format.
BOOTPDOPT=-DSUNOS40 -DSYSLOG -DDEBUG ${FILESPECS}
INSTALL=/usr/bin/install
DESTDIR=
ETCDIR=/usr/local/etc
MANDIR=/usr/local/man
OBJS=bootpd.o readfile.o hash.o
CFLAGS=${BOOTPDOPT}
all: bootpd
bootpd: ${OBJS} Version.c
sh newvers.sh Version.c
${CC} ${CFLAGS} -o bootpd version.c ${OBJS}
bootpd.o: bootpd.c bootpd.h bootp.h
readfile.o: readfile.c bootpd.h bootp.h
hash.o: hash.c hash.h
system: install
install: all inst-man
${INSTALL} -c -s bootpd ${DESTDIR}${ETCDIR}/bootpd
inst-man: bootpd.8 bootptab.5
${INSTALL} -c -m 644 bootpd.8 ${DESTDIR}${MANDIR}/man8/bootpd.8
${INSTALL} -c -m 644 bootptab.5 ${DESTDIR}${MANDIR}/man5/bootptab.5
clean:
@rm -f core bootpd *.BAK *.CKP *~ .emacs* *.o version.c