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 >
Makefile  |  1992-03-23  |  1KB  |  47 lines

  1. #
  2. # bootpd   - BOOTP server daemon
  3. #
  4. # $Header: /d/backup/src4/sun4.bin/bootpd/2.2alpha/RCS/Makefile,v 1.2 92/03/23 16:05:04 alan Exp $
  5. #
  6.  
  7. # The next few lines may be uncommented and changed to alter the default
  8. # filenames bootpd uses for its configuration and dump files.
  9. #CONFFILE=-DCONFIG_FILE=\"/usr/etc/bootptab\"
  10. #DUMPFILE=-DDUMP_FILE=\"/usr/etc/bootpd.dump\"
  11. #FILESPECS=${CONFFILE} ${DUMPFILE}
  12.  
  13. # Users of SunOS 4.0 and later must add -DSUNOS40 to BOOTPDOPT below.
  14. # Remove the -DVEND_CMU if you don't wish to support the "CMU vendor format"
  15. # in addition to the RFC1048 format.
  16.  
  17. BOOTPDOPT=-DSUNOS40 -DSYSLOG -DDEBUG ${FILESPECS}
  18.  
  19. INSTALL=/usr/bin/install
  20. DESTDIR=
  21. ETCDIR=/usr/local/etc
  22. MANDIR=/usr/local/man
  23. OBJS=bootpd.o readfile.o hash.o
  24. CFLAGS=${BOOTPDOPT}
  25.  
  26. all: bootpd
  27.  
  28. bootpd:    ${OBJS} Version.c
  29.     sh newvers.sh Version.c
  30.     ${CC} ${CFLAGS} -o bootpd version.c ${OBJS}
  31.  
  32. bootpd.o: bootpd.c bootpd.h bootp.h
  33. readfile.o: readfile.c bootpd.h bootp.h
  34. hash.o: hash.c hash.h
  35.  
  36. system: install
  37.  
  38. install: all inst-man
  39.     ${INSTALL} -c -s bootpd ${DESTDIR}${ETCDIR}/bootpd
  40.  
  41. inst-man: bootpd.8 bootptab.5
  42.     ${INSTALL} -c -m 644 bootpd.8 ${DESTDIR}${MANDIR}/man8/bootpd.8
  43.     ${INSTALL} -c -m 644 bootptab.5 ${DESTDIR}${MANDIR}/man5/bootptab.5
  44.  
  45. clean:
  46.     @rm -f core bootpd *.BAK *.CKP *~ .emacs* *.o version.c
  47.