summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcfs/Makefile.inc')
-rw-r--r--usr.bin/tcfs/Makefile.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/tcfs/Makefile.inc b/usr.bin/tcfs/Makefile.inc
new file mode 100644
index 00000000000..bc62c39a36d
--- /dev/null
+++ b/usr.bin/tcfs/Makefile.inc
@@ -0,0 +1,11 @@
+CFLAGS+= -I${.CURDIR}/..
+
+.include <bsd.obj.mk>
+
+.if exists(${.CURDIR}/../lib/${__objdir})
+LDADD+= -L${.CURDIR}/../lib/${__objdir} -ltcfs
+DPADD+= ${.CURDIR}/../lib/${__objdir}/libtcfs.a
+.else
+LDADD+= -L${.CURDIR}/../lib -ltcfs
+DPADD+= ${.CURDIR}/../lib/libtcfs.a
+.endif