2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Move dst functionality into seperate library

This commit is contained in:
Ted Lemon
2001-02-22 07:27:14 +00:00
parent 246f7f725a
commit 793b7b9f4b
8 changed files with 14 additions and 17 deletions

View File

@@ -17,7 +17,7 @@
# http://www.isc.org for more information.
#
SUBDIRS= common $(MINIRES) omapip server client relay dhcpctl
SUBDIRS= common $(MINIRES) dst omapip server client relay dhcpctl
all:
@for dir in ${SUBDIRS}; do \

View File

@@ -28,7 +28,7 @@ MAN = dhclient.8 dhclient.conf.5 dhclient-script.8 dhclient.leases.5
DEBUG = -g
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
DHCPLIB = ../common/libdhcp.a $(BINDLIB) ../omapip/libomapi.a ../dst/libdst.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \
-DCLIENT_PATH=${CLIENT_PATH}

2
configure vendored
View File

@@ -172,7 +172,7 @@ if [ ! -d $workname ]; then
mkdir $workname
fi
for foo in . client server relay common omapip dhcpctl minires; do
for foo in . client server relay common omapip dhcpctl minires dst; do
if [ ! -d ${workname}/$foo ]; then
mkdir ${workname}/$foo
fi

View File

@@ -27,17 +27,16 @@ HDRS = dhcpctl.h
DEBUG = -g
INCLUDES = $(BINDINC) -I$(TOP)/includes
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
DHCPCTLLIBS = libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \
../omapip/libomapi.a ../dst/libdst.a
all: libdhcpctl.a omshell cltest $(CATMANPAGES)
omshell: omshell.o libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
$(CC) $(DEBUG) $(LFLAGS) -o omshell omshell.o libdhcpctl.a \
../common/libdhcp.a \
../omapip/libomapi.a $(BINDLIB) $(LIBS)
omshell: omshell.o $(DHCPCTLLIBS)
$(CC) $(DEBUG) $(LFLAGS) -o omshell omshell.o $(DHCPCTLLIBS)
cltest: cltest.o libdhcpctl.a ../omapip/libomapi.a $(BINDLIB)
$(CC) $(DEBUG) $(LFLAGS) -o cltest cltest.o libdhcpctl.a \
../omapip/libomapi.a $(BINDLIB) $(LIBS)
cltest: cltest.o $(DHCPCTLLIBS)
$(CC) $(DEBUG) $(LFLAGS) -o cltest cltest.o $(DHCPCTLLIBS)
libdhcpctl.a: $(OBJ)
rm -f libdhcpctl.a

View File

@@ -23,14 +23,11 @@ MAN = dhcpctl.3
SRC = res_mkupdate.c res_init.c res_update.c res_send.c res_comp.c \
res_sendsigned.c res_findzonecut.c res_query.c res_mkquery.c \
ns_date.c ns_parse.c ns_sign.c ns_name.c ns_samedomain.c ns_verify.c \
dst_api.c hmac_link.c md5_dgst.c prandom.c support.c base64.c \
toisc.c
OBJ = res_mkupdate.o res_init.o res_update.o res_send.o res_comp.o \
res_sendsigned.o res_findzonecut.o res_query.o res_mkquery.o \
ns_date.o ns_parse.o ns_sign.o ns_name.o ns_samedomain.o ns_verify.o \
dst_api.o hmac_link.o md5_dgst.o prandom.o support.o base64.o \
toisc.o
HDRS = dst_internal.h md5.h md5_locl.h
DEBUG = -g
INCLUDES = $(BINDINC) -I$(TOP)/includes

View File

@@ -33,8 +33,9 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: libomapi.a svtest $(CATMANPAGES)
svtest: test.o libomapi.a $(BINDLIB)
$(CC) $(DEBUG) $(LFLAGS) -o svtest test.o libomapi.a $(BINDLIB) $(LIBS)
svtest: test.o libomapi.a $(BINDLIB) ../dst/libdst.a
$(CC) $(DEBUG) $(LFLAGS) -o svtest test.o $(BINDLIB) \
libomapi.a ../dst/libdst.a $(LIBS)
libomapi.a: $(OBJ)
rm -f libomapi.a

View File

@@ -26,7 +26,7 @@ MAN = dhcrelay.8
DEBUG = -g
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
DHCPLIB = ../common/libdhcp.a $(BINDLIB) ../omapip/libomapi.a ../dst/libdst.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: $(PROG) $(CATMANPAGES)

View File

@@ -28,7 +28,7 @@ MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
DEBUG = -g
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
DHCPLIB = ../common/libdhcp.a $(BINDLIB) ../omapip/libomapi.a ../dst/libdst.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: $(PROG) $(CATMANPAGES)