7 SRCS
= xxxterm.c marco.c
10 LDADD
= -lutil
-lgcrypt
16 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
17 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
18 CFLAGS
+= $(GTK_CFLAGS
) -Wall
19 LDFLAGS
+= $(GTK_LDFLAGS
)
20 BUILDVERSION
!= sh
"${.CURDIR}/buildver.sh"
21 .if
!${BUILDVERSION} == ""
22 CPPFLAGS
+= -DXXXTERM_BUILDSTR
=\"$(BUILDVERSION
)\"
25 MANDIR
= ${PREFIX}/man
/man
27 CLEANFILES
+= ${.CURDIR
}/javascript.h xxxterm.cat1 xxxterm.core
29 ${.CURDIR
}/javascript.h
: hinting.js input-focus.js
30 perl
${.CURDIR
}/js-merge-helper.pl
${.CURDIR
}/hinting.js \
31 ${.CURDIR
}/input-focus.js
> ${.CURDIR
}/javascript.h
34 mkdir
-p
${PREFIX}/share
/xxxterm
35 cp
${.CURDIR
}/xxxtermicon16.png
${PREFIX}/share
/xxxterm
36 cp
${.CURDIR
}/xxxtermicon32.png
${PREFIX}/share
/xxxterm
37 cp
${.CURDIR
}/xxxtermicon48.png
${PREFIX}/share
/xxxterm
38 cp
${.CURDIR
}/xxxtermicon64.png
${PREFIX}/share
/xxxterm
39 cp
${.CURDIR
}/xxxtermicon128.png
${PREFIX}/share
/xxxterm
40 cp
${.CURDIR
}/style.css
${PREFIX}/share
/xxxterm
42 ${PROG} ${OBJS} beforedepend
: ${.CURDIR
}/javascript.h
45 .if
${.TARGETS
:M
*analyze
*}
50 .elif
${.TARGETS
:M
*clang
*}
59 .
include <bsd.prog.mk
>