Hook omshell(1) up to the build.

This commit is contained in:
mdodd 2003-03-25 03:16:53 +00:00
parent ed5b5143ef
commit 3b33c8b43f
4 changed files with 40 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Makefile for ISC DHCP client. # Makefile for ISC DHCP client.
# $FreeBSD$ # $FreeBSD$
SUBDIR= common dst minires omapip client SUBDIR= common dst minires omapip dhcpctl client omshell
# Our directory structure confuses crunchgen, so we must explicitly # Our directory structure confuses crunchgen, so we must explicitly
@ -43,6 +43,9 @@ OBJS+= omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \
omapip/mrtrace.o omapip/protocol.o omapip/result.o \ omapip/mrtrace.o omapip/protocol.o omapip/result.o \
omapip/support.o omapip/toisc.o omapip/trace.o omapip/support.o omapip/toisc.o omapip/trace.o
# dhcpctl
OBJS+= dhcpctl/dhcpctl.o dhcpctl/callback.o dhcpctl/remote.o
# src/release/Makefile (release.4) tries to invokes this makefile with # src/release/Makefile (release.4) tries to invokes this makefile with
# the target set to the list of all objects defined above. This # the target set to the list of all objects defined above. This
# top-level Makefile doesn't actually know how to build those objects # top-level Makefile doesn't actually know how to build those objects

View File

@ -39,4 +39,10 @@ LIBDST= ${.OBJDIR}/../dst/libdst.a
LIBDST= ${.CURDIR}/../dst/libdst.a LIBDST= ${.CURDIR}/../dst/libdst.a
.endif .endif
.if exists(${.OBJDIR}/../dhcpctl)
LIBDHCPCTL= ${.OBJDIR}/../dhcpctl/libdhcpctl.a
.else
LIBDHCPCTL= ${.CURDIR}/../dhcpctl/libdhcpctl.a
.endif
.include "../Makefile.inc" .include "../Makefile.inc"

View File

@ -0,0 +1,15 @@
# $FreeBSD$
DIST_DIR= ${.CURDIR}/../../../contrib/isc-dhcp
.PATH: ${DIST_DIR}/dhcpctl
LIB= dhcpctl
INTERNALLIB= true
SRCS= dhcpctl.c callback.c remote.c
MAN= dhcpctl.3
NOMAN= true
.include <bsd.lib.mk>

View File

@ -0,0 +1,15 @@
# $FreeBSD$
DIST_DIR= ${.CURDIR}/../../../contrib/isc-dhcp
.PATH: ${DIST_DIR}/dhcpctl
PROG= omshell
SRCS= omshell.c
DPADD= ${LIBDHCP} ${LIBRES} ${LIBOMAPI} ${LIBDST} ${LIBDHCPCTL}
LDADD= ${LIBDHCP} ${LIBRES} ${LIBOMAPI} ${LIBDST} ${LIBDHCPCTL}
MAN= omshell.1
.include <bsd.prog.mk>