blob: 5b5829870ec21c26ca82e37e5ba43011fe675485 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
PROG= kcon
DEVICE= /dev/ttyv0
CFLAGS+= -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
.if exists(${.OBJDIR}/../keycap)
LIBDESTDIR= ${.OBJDIR}/../keycap
.else
LIBDESTDIR= ${.CURDIR}/../keycap
.endif
# the -Lfoo could be omitted if libkeycap.a were installed before
# making those programs here
DPADD = ${LIBDESTDIR}/libkeycap.a
LDADD = -L${LIBDESTDIR} -lkeycap
.include <bsd.prog.mk>
|