7 SRCS
= cookie.c inspector.c marco.c about.c whitelist.c settings.c inputfocus.c
9 CFLAGS
+= -O2
-Wall
-Wno-format-extra-args
-Wunused
10 CFLAGS
+= -Wextra
-Wno-unused-parameter
-Wno-missing-field-initializers
-Wno-sign-compare
12 LDADD
= -lutil
-lgcrypt
18 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
19 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
20 CFLAGS
+= $(GTK_CFLAGS
)
21 LDFLAGS
+= $(GTK_LDFLAGS
)
22 BUILDVERSION
!= sh
"${.CURDIR}/buildver.sh"
23 .if
!${BUILDVERSION} == ""
24 CPPFLAGS
+= -DXXXTERM_BUILDSTR
=\"$(BUILDVERSION
)\"
27 MANDIR
= ${PREFIX}/man
/man
29 CLEANFILES
+= ${.CURDIR
}/javascript.h xxxterm.cat1 xxxterm.core
31 ${.CURDIR
}/javascript.h
: hinting.js input-focus.js
32 perl
${.CURDIR
}/js-merge-helper.pl
${.CURDIR
}/hinting.js \
33 ${.CURDIR
}/input-focus.js
> ${.CURDIR
}/javascript.h
36 install -m
755 -d
${PREFIX}/share
/xxxterm
37 install -m
644 ${.CURDIR
}/xxxtermicon.png
${PREFIX}/share
/xxxterm
38 install -m
644 ${.CURDIR
}/xxxtermicon16.png
${PREFIX}/share
/xxxterm
39 install -m
644 ${.CURDIR
}/xxxtermicon32.png
${PREFIX}/share
/xxxterm
40 install -m
644 ${.CURDIR
}/xxxtermicon48.png
${PREFIX}/share
/xxxterm
41 install -m
644 ${.CURDIR
}/xxxtermicon64.png
${PREFIX}/share
/xxxterm
42 install -m
644 ${.CURDIR
}/xxxtermicon128.png
${PREFIX}/share
/xxxterm
43 install -m
644 ${.CURDIR
}/style.css
${PREFIX}/share
/xxxterm
45 ${PROG} ${OBJS} beforedepend
: ${.CURDIR
}/javascript.h
48 .if
${.TARGETS
:M
*analyze
*}
49 CFLAGS
+= -Wdeclaration-after-statement
-Wshadow
54 .elif
${.TARGETS
:M
*clang
*}
55 CFLAGS
+= -Wdeclaration-after-statement
-Wshadow
64 .
include <bsd.prog.mk
>