Remove OpenBSD build support - let the Makefile vary per

OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
This commit is contained in:
Brian Somers 1998-08-31 12:14:32 +00:00
parent 7100135f12
commit c9a426e9e1
2 changed files with 2 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.45 1998/08/07 18:42:47 brian Exp $
# $Id: Makefile,v 1.46 1998/08/30 23:53:25 brian Exp $
PROG= ppp
SRCS= arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \
@ -12,15 +12,9 @@ DPADD+= ${LIBUTIL} ${LIBZ}
BINMODE=4554
BINOWN= root
BINGRP= network
OPSYS!= uname -s
.if (${OPSYS} == "OpenBSD")
MAN= ppp.8
.else
MAN8= ppp.8
LDADD+= -lmd -lcrypt
DPADD+= ${LIBMD} ${LIBCRYPT}
.endif
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
@ -31,16 +25,10 @@ CFLAGS+=-DNOALIAS
.else
.if !defined(RELEASE_CRUNCH)
SRCS+= alias_cmd.c
.if (${OPSYS} == "OpenBSD")
CFLAGS+=-I../libalias
LDADD+= ../libalias/libalias.a
DPADD+= ../libalias/libalias.a
.else
LDADD+= -lalias
DPADD+= ${LIBALIAS}
.endif
.endif
.endif
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH)
DISTRIBUTION=des

View File

@ -1,16 +1,10 @@
# $Id: Makefile,v 1.2 1997/11/07 20:20:12 brian Exp $
# $Id: Makefile,v 1.3 1998/08/30 23:53:00 brian Exp $
PROG= pppctl
SRCS= pppctl.c
CFLAGS+=-Wall
LDADD+= -ledit -ltermcap
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
OPSYS!= uname -s
.if (${OPSYS} == "OpenBSD")
MAN= pppctl.8
.else
MAN8= pppctl.8
.endif
.include <bsd.prog.mk>