1# $OpenBSD: Makefile,v 1.1.1.1 2002/02/10 22:51:41 fgsch Exp $ 2 3.include <bsd.obj.mk> 4 5PROG= prog 6SRCS= main.c 7 8LIBWEAK!= if test -d ${.CURDIR}/../libweak/${__objdir} ; then \ 9 echo "${.CURDIR}/../libweak/${__objdir}" ; \ 10 else \ 11 echo "${.CURDIR}/../libweak" ; \ 12 fi 13 14LIBSTRONG!= if test -d ${.CURDIR}/../libstrong/${__objdir} ; then \ 15 echo "${.CURDIR}/../libstrong/${__objdir}" ; \ 16 else \ 17 echo "${.CURDIR}/../libstrong" ; \ 18 fi 19 20LDADD+= -Wl,-rpath,${LIBWEAK} -L${LIBWEAK} -lweak 21LDADD+= -Wl,-rpath,${LIBSTRONG} -L${LIBSTRONG} -lstrong 22 23.include <bsd.regress.mk> 24