2002-03-18 09:55:03 +00:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.23 2002/03/06 00:23:27 markus Exp $
|
2001-05-04 03:57:05 +00:00
|
|
|
|
2000-02-24 14:29:47 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/..
|
|
|
|
|
2002-03-18 09:55:03 +00:00
|
|
|
CDIAGFLAGS= -Wall
|
|
|
|
#CDIAGFLAGS+= -Werror
|
|
|
|
CDIAGFLAGS+= -Wpointer-arith
|
|
|
|
CDIAGFLAGS+= -Wno-uninitialized
|
|
|
|
#CDIAGFLAGS+= -Wstrict-prototypes
|
|
|
|
CDIAGFLAGS+= -Wmissing-prototypes
|
|
|
|
CDIAGFLAGS+= -Wunused
|
|
|
|
|
|
|
|
#DEBUG=-g
|
|
|
|
|
|
|
|
#CFLAGS+= -DSMARTCARD
|
|
|
|
#LDADD+= -lsectok
|
2000-12-05 02:20:19 +00:00
|
|
|
|
2000-02-24 14:29:47 +00:00
|
|
|
.include <bsd.obj.mk>
|
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../lib/${__objdir})
|
|
|
|
LDADD+= -L${.CURDIR}/../lib/${__objdir} -lssh
|
|
|
|
DPADD+= ${.CURDIR}/../lib/${__objdir}/libssh.a
|
|
|
|
.else
|
|
|
|
LDADD+= -L${.CURDIR}/../lib -lssh
|
|
|
|
DPADD+= ${.CURDIR}/../lib/libssh.a
|
|
|
|
.endif
|