blob: 873fe047b1c23b9ff645a4ddd7925342285d33f8 (
plain) (
blame)
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
32
33
34
35
36
|
# $xxxterm$
PREFIX?=/usr/local
BINDIR=${PREFIX}/bin
PROG=xxxterm
MAN=xxxterm.1
SRCS= xxxterm.c
COPT+= -O2
DEBUG= -ggdb3
LDADD= -lutil
LIBS+= gtk+-2.0
LIBS+= webkit-1.0
LIBS+= libsoup-2.4
GTK_CFLAGS!= pkg-config --cflags $(LIBS)
GTK_LDFLAGS!= pkg-config --libs $(LIBS)
CFLAGS+= $(GTK_CFLAGS) -Wall -pthread
LDFLAGS+= $(GTK_LDFLAGS) -pthread
MANDIR= ${PREFIX}/man/cat
CLEANFILES += javascript.h
javascript.h: hinting.js input-focus.js
perl ${.CURDIR}/js-merge-helper.pl ${.CURDIR}/hinting.js \
${.CURDIR}/input-focus.js > ${.CURDIR}/javascript.h
#tables.h: ${.CURDIR}/../tables ${.CURDIR}/../parsedb.pl
# perl ${.CURDIR}/../parsedb.pl < ${.CURDIR}/../tables
${PROG} ${OBJS} beforedepend: javascript.h
.include <bsd.prog.mk>
|