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 Add Id keyword.
This commit is contained in:
parent
0cdd2a270f
commit
7100135f12
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38681
@ -1,20 +1,15 @@
|
||||
LIB= alias
|
||||
CFLAGS+=-Wall -I${.CURDIR}
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_old.c alias_util.c
|
||||
# $Id$
|
||||
|
||||
OPSYS!= uname -s
|
||||
.if (${OPSYS} == "OpenBSD")
|
||||
MAN= libalias.3
|
||||
CFLAGS+= -DNO_FW_PUNCH
|
||||
.else
|
||||
LIB= alias
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 5
|
||||
CFLAGS+= -Wall -I${.CURDIR}
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_old.c alias_util.c
|
||||
MAN3= libalias.3
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/alias.h \
|
||||
${DESTDIR}/usr/include
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,20 +1,15 @@
|
||||
LIB= alias
|
||||
CFLAGS+=-Wall -I${.CURDIR}
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_old.c alias_util.c
|
||||
# $Id$
|
||||
|
||||
OPSYS!= uname -s
|
||||
.if (${OPSYS} == "OpenBSD")
|
||||
MAN= libalias.3
|
||||
CFLAGS+= -DNO_FW_PUNCH
|
||||
.else
|
||||
LIB= alias
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 5
|
||||
CFLAGS+= -Wall -I${.CURDIR}
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_old.c alias_util.c
|
||||
MAN3= libalias.3
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/alias.h \
|
||||
${DESTDIR}/usr/include
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user