aboutsummaryrefslogtreecommitdiff
path: root/lib/libalias/Makefile
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-08-30 23:53:25 +0000
committerBrian Somers <brian@FreeBSD.org>1998-08-30 23:53:25 +0000
commite8ede338eb49ef8075894a2d7ddbaa894f2ac366 (patch)
tree6f456a22c8148748c87074f8eb70fbf4573a0fcd /lib/libalias/Makefile
parent09bc8205a95a3723600ca0c379deeaeaf8e83ae0 (diff)
downloadsrc-e8ede338eb49ef8075894a2d7ddbaa894f2ac366.tar.gz
src-e8ede338eb49ef8075894a2d7ddbaa894f2ac366.zip
Add OpenBSD build support
Notes
Notes: svn path=/head/; revision=38663
Diffstat (limited to 'lib/libalias/Makefile')
-rw-r--r--lib/libalias/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libalias/Makefile b/lib/libalias/Makefile
index cf92606c6620..10f33d2d2b21 100644
--- a/lib/libalias/Makefile
+++ b/lib/libalias/Makefile
@@ -1,14 +1,20 @@
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
+OPSYS!= uname -s
+.if (${OPSYS} == "OpenBSD")
+MAN= libalias.3
+CFLAGS+= -DNO_FW_PUNCH
+.else
+SHLIB_MAJOR= 2
+SHLIB_MINOR= 5
+MAN3= libalias.3
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/alias.h \
${DESTDIR}/usr/include
+.endif
.include <bsd.lib.mk>