diff options
author | brian <brian@FreeBSD.org> | 1998-08-30 23:53:25 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-08-30 23:53:25 +0000 |
commit | 0d85445a6a78e92f5fc3fe82eefc970394d4e995 (patch) | |
tree | fca4881f551a763c5aa7118881515e369055d789 /lib/libalias/Makefile | |
parent | 2f5ba7be7188e8f379e85c6c616a2e88d5d26d7e (diff) | |
download | FreeBSD-src-0d85445a6a78e92f5fc3fe82eefc970394d4e995.zip FreeBSD-src-0d85445a6a78e92f5fc3fe82eefc970394d4e995.tar.gz |
Add OpenBSD build support
Diffstat (limited to 'lib/libalias/Makefile')
-rw-r--r-- | lib/libalias/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libalias/Makefile b/lib/libalias/Makefile index cf92606..10f33d2 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> |