Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/x_dhclient Support for building a small(er) DH...
details: https://anonhg.NetBSD.org/src/rev/a1b128ec6ab8
branches: trunk
changeset: 486083:a1b128ec6ab8
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri May 12 20:53:21 2000 +0000
description:
Support for building a small(er) DHCP client, one day suitable for
installation media. From Erik Berls <cyber%netbsd.org@localhost>, with some
slight frobbing by me.
diffstat:
distrib/utils/x_dhclient/Makefile | 45 ++++++++++++++++++++++++++++++++++++
distrib/utils/x_dhclient/Src-common | 5 ++++
distrib/utils/x_dhclient/Src-minires | 3 ++
distrib/utils/x_dhclient/Src-omapip | 4 +++
4 files changed, 57 insertions(+), 0 deletions(-)
diffs (73 lines):
diff -r 25398d08bb9a -r a1b128ec6ab8 distrib/utils/x_dhclient/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/utils/x_dhclient/Makefile Fri May 12 20:53:21 2000 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2000/05/12 20:53:21 thorpej Exp $
+
+PROG= dhclient
+MKMAN= no
+
+LDSTATIC?= -static
+
+RSRCDIR= ${.CURDIR}/../../../usr.sbin/dhcp
+.PATH: ${RSRCDIR}/client ${RSRCDIR}/common ${RSRCDIR}/minires ${RSRCDIR}/omapip
+.NOPATH: ${PROG}
+
+SRCS= dhclient.c clparse.c omapi.c
+
+.include "Src-minires"
+MINIOBJS+= ${MINISRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
+SRCS+= ${MINISRCS}
+
+.include "Src-omapip"
+OMOBJS+= ${OMSRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
+SRCS+= ${OMSRCS}
+
+.include "Src-common"
+COMOBJS+= ${COMSRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
+SRCS+= ${COMSRCS}
+
+CPPFLAGS+=-I${RSRCDIR} -I${RSRCDIR}/includes
+COPTS+= -Os
+
+all: ${PROG}
+
+${MINIOBJS}:
+ ${CC} ${CFLAGS} ${CPPFLAGS} -DMINIRES_LIB -c ${.IMPSRC}
+
+OMalloc.c: ${RSRCDIR}/omapip/alloc.c
+ cp ${RSRCDIR}/omapip/alloc.c OMalloc.c
+
+OMdispatch.c: ${RSRCDIR}/omapip/dispatch.c
+ cp ${RSRCDIR}/omapip/dispatch.c OMdispatch.c
+
+OMsupport.c: ${RSRCDIR}/omapip/support.c
+ cp ${RSRCDIR}/omapip/support.c OMsupport.c
+
+CLEANFILES+= OMalloc.c OMdispatch.c OMsupport.c
+
+.include <bsd.prog.mk>
diff -r 25398d08bb9a -r a1b128ec6ab8 distrib/utils/x_dhclient/Src-common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/utils/x_dhclient/Src-common Fri May 12 20:53:21 2000 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Src-common,v 1.1 2000/05/12 20:53:21 thorpej Exp $
+
+COMSRCS= parse.c dispatch.c conflex.c bpf.c socket.c packet.c \
+ ethernet.c memory.c print.c options.c inet.c convert.c \
+ tree.c tables.c hash.c alloc.c dns.c execute.c discover.c
diff -r 25398d08bb9a -r a1b128ec6ab8 distrib/utils/x_dhclient/Src-minires
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/utils/x_dhclient/Src-minires Fri May 12 20:53:21 2000 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: Src-minires,v 1.1 2000/05/12 20:53:22 thorpej Exp $
+
+MINISRCS= dst_api.c hmac_link.c prandom.c support.c base64.c
diff -r 25398d08bb9a -r a1b128ec6ab8 distrib/utils/x_dhclient/Src-omapip
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/utils/x_dhclient/Src-omapip Fri May 12 20:53:21 2000 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: Src-omapip,v 1.1 2000/05/12 20:53:22 thorpej Exp $
+
+OMSRCS= protocol.c buffer.c OMalloc.c result.c connection.c errwarn.c \
+ listener.c OMdispatch.c generic.c OMsupport.c handle.c message.c
Home |
Main Index |
Thread Index |
Old Index