mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Add support for qnx
This commit is contained in:
parent
7751e60d69
commit
48c31ed244
@ -151,6 +151,21 @@ VARDB = /var/db
|
||||
#CATMANPAGES=
|
||||
##--sco--
|
||||
|
||||
## QNX
|
||||
##++qnx++
|
||||
#CF = cf/qnx.h
|
||||
#ADMMANDIR = /usr/man/man8
|
||||
#ADMMANEXT = .8
|
||||
#FFMANDIR = /usr/man/man5
|
||||
#FFMANEXT = .5
|
||||
#VARRUN = /etc
|
||||
#COPTS=-w3 -Dlint
|
||||
#LFLAGS=$(DEBUG) "-Wl,op symfile"
|
||||
#MANINSTALL = /bin/true
|
||||
#INSTALL = cp
|
||||
#BINDIR = /etc
|
||||
##--qnx--
|
||||
|
||||
CSRC = options.c errwarn.c convert.c \
|
||||
tree.c memory.c alloc.c print.c hash.c tables.c inet.c \
|
||||
dispatch.c bpf.c packet.c raw.c nit.c socket.c
|
||||
@ -202,14 +217,14 @@ dhcpd.conf.cat5: dhcpd.conf.5
|
||||
nroff -man dhcpd.conf.5 >dhcpd.conf.cat5
|
||||
|
||||
dhcpd: $(OBJS) $(COBJ)
|
||||
$(CC) -o dhcpd $(OBJS) $(COBJ) $(LIBS)
|
||||
$(CC) $(LFLAGS) -o dhcpd $(OBJS) $(COBJ) $(LIBS)
|
||||
|
||||
dhclient: dhclient.o $(COBJ)
|
||||
$(CC) -o dhclient dhclient.o $(COBJ) $(LIBS)
|
||||
$(CC) $(LFLAGS) -o dhclient dhclient.o $(COBJ) $(LIBS)
|
||||
|
||||
dhcpxlt: dhcpxlt.o errwarn.o convert.o tables.o inet.o xconflex.o \
|
||||
hash.o alloc.o
|
||||
$(CC) -o dhcpxlt \
|
||||
$(CC) $(LFLAGS) -o dhcpxlt \
|
||||
dhcpxlt.o errwarn.o convert.o tables.o inet.o xconflex.o \
|
||||
hash.o alloc.o \
|
||||
$(LIBS)
|
||||
|
3
configure
vendored
3
configure
vendored
@ -28,6 +28,8 @@ if [ "$sysname" = "" ]; then
|
||||
sysname=freebsd;;
|
||||
hpux)
|
||||
sysname=hpux;;
|
||||
QNX)
|
||||
sysname=qnx;;
|
||||
esac
|
||||
fi
|
||||
|
||||
@ -47,6 +49,7 @@ if [ "$sysname" = "" ]; then
|
||||
echo " netbsd NetBSD 1.1 or higher"
|
||||
echo " freebsd FreeBSD"
|
||||
echo " hpux HP-UX"
|
||||
echo " qnx QNX 4.2 or higher"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user