blob: d45b8f6135f5385a77a709171f8b5453d876a1f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# FreeBSD makefile for kon
# Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
PROG= kon
BINOWN= root
BINMODE= 4555
SRCS= vt.c sock.c fnld.c vc.c mouse.c term.c main.c utmp.c errors.c child.c
LIBS+= -L${.CURDIR}/display -L${.CURDIR}/../lib -ldisplay -lgon
NOMAN= YES
CFLAGS+= -I${.CURDIR}/../include
CLEANFILES= Makefile
.if exists(${.OBJDIR}/../lib)
LIBOBJ= -L${.OBJDIR}/../lib
.else
LIBOBJ= -L${.CURDIR}/../lib
.endif
.if exists(${.OBJDIR}/display)
LIBOBJ+= -L${.OBJDIR}/display
.else
LIBOBJ+= -L${.CURDIR}/display
.endif
LDADD= ${LIBOBJ} -ldisplay -lgon
.if exists(${.CURDIR}/../.config)
.include "${.CURDIR}/../.config"
.endif
.include <bsd.prog.mk>
|