3 # Copyright (c) 1996-1999 Internet Software Consortium.
4 # Use is subject to license terms which appear in the file named
5 # ISC-LICENSE that should have accompanied this file when you
6 # received it. If a file named ISC-LICENSE did not accompany this
7 # file, or you are not sure the one you have is correct, you may
8 # obtain an applicable copy of the license at:
10 # http://www.isc.org/isc-license-1.0.html.
12 # This file is part of the ISC DHCP distribution. The documentation
13 # associated with this file is listed in the file DOCUMENTATION,
14 # included in the top-level directory of this release.
16 # Support and other services are available for ISC products - see
17 # http://www.isc.org for more information.
20 CATMANPAGES = dhcp-options.cat5
21 SRC = raw.c parse.c nit.c icmp.c dispatch.c conflex.c upf.c bpf.c socket.c \
22 lpf.c dlpi.c packet.c memory.c print.c options.c inet.c convert.c \
23 tree.c tables.c hash.c alloc.c errwarn.c inet_addr.c dns.c \
24 resolv.c sysconf.c interact.c execute.c discover.c auth.c
25 OBJ = raw.o parse.o nit.o icmp.o dispatch.o conflex.o upf.o bpf.o socket.o \
26 lpf.o dlpi.o packet.o memory.o print.o options.o inet.o convert.o \
27 tree.o tables.o hash.o alloc.o errwarn.o inet_addr.o dns.o \
28 resolv.o sysconf.o interact.o execute.o discover.o auth.o
32 INCLUDES = -I.. -I../includes
33 CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
35 all: libdhcp.a $(CATMANPAGES)
39 ar cruv libdhcp.a $(OBJ)
43 for dir in $(FFMANDIR); do \
45 for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
47 if [ ! -d $$foo ]; then \
53 $(MANINSTALL) $(MANFROM) dhcp-options.cat5 $(MANTO) \
54 $(DESTDIR)$(FFMANDIR)/dhcp-options$(FFMANEXT)
57 makedepend $(INCLUDES) $(PREDEFINES) $(SRCS)
63 -rm -f libdhcp.a *~ #* $(CATMANPAGES)
68 dhcp-options.cat5: dhcp-options.5
69 nroff -man dhcp-options.5 >dhcp-options.cat5
71 # Dependencies (semi-automatically-generated)