9 SRCS
= cookie.c inspector.c marco.c about.c whitelist.c settings.c inputfocus.c
10 SRCS
+= history.c completion.c tldlist.c externaleditor.c unix.c xombrero.c
14 CFLAGS
+= -O2
-Wall
-Wno-format-extra-args
-Wunused
15 CFLAGS
+= -Wextra
-Wno-unused-parameter
-Wno-missing-field-initializers
-Wno-sign-compare
${DEBUG}
16 CFLAGS
+= -DGTK_DISABLE_SINGLE_INCLUDES
-DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED
-DGSEAL_ENABLE
17 CFLAGS
+= -DGDK_DISABLE_DEPRECATION_WARNINGS
-DGLIB_DISABLE_DEPRECATION_WARNINGS
21 .if
${GTK_VERSION} == "gtk2"
30 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
31 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
32 CFLAGS
+= $(GTK_CFLAGS
)
33 LDFLAGS
+= $(GTK_LDFLAGS
)
34 BUILDVERSION
!= sh
"${.CURDIR}/../buildver.sh"
35 .if
!${BUILDVERSION} == ""
36 CPPFLAGS
+= -DXOMBRERO_BUILDSTR
=\"$(BUILDVERSION
)\"
39 MANDIR
= ${PREFIX}/man
/
41 CLEANFILES
+= ${.CURDIR
}/javascript.h javascript.h tooltip.h xombrero.cat1 xombrero.core xombrero.html1
43 JSFILES
+= ..
/hinting.js
44 JSFILES
+= ..
/input-focus.js
45 JSFILES
+= ..
/autoscroll.js
47 .for _js in
${JSFILES}
48 JSCURDIR
+= ${.CURDIR
}/${_js}
51 .NOPATH
: javascript.h tooltip.h
52 javascript.h
: ${JSFILES} ..
/js-merge-helper.pl
53 perl
${.CURDIR
}/..
/js-merge-helper.pl \
54 ${JSCURDIR} > javascript.h
56 tooltip.h
: ${MAN} ..
/ascii2txt.pl ..
/txt2tooltip.pl
57 mandoc
-Tascii
${.CURDIR
}/..
/${MAN} | \
58 perl
${.CURDIR
}/..
/ascii2txt.pl | \
59 perl
${.CURDIR
}/..
/txt2tooltip.pl
> tooltip.h
62 install -m
755 -d
${PREFIX}/bin
63 install -m
755 -d
${PREFIX}/man
/man1
/
64 install -m
755 -d
${PREFIX}/man
/html1
/
65 install -m
755 -d
${PREFIX}/share
/xombrero
66 install -m
644 $(.CURDIR
)/..
/xombrero.css
${PREFIX}/share
/xombrero
67 install -m
644 ${.CURDIR
}/..
/xombreroicon.png
${PREFIX}/share
/xombrero
68 install -m
644 ${.CURDIR
}/..
/xombreroicon16.png
${PREFIX}/share
/xombrero
69 install -m
644 ${.CURDIR
}/..
/xombreroicon32.png
${PREFIX}/share
/xombrero
70 install -m
644 ${.CURDIR
}/..
/xombreroicon48.png
${PREFIX}/share
/xombrero
71 install -m
644 ${.CURDIR
}/..
/xombreroicon64.png
${PREFIX}/share
/xombrero
72 install -m
644 ${.CURDIR
}/..
/xombreroicon128.png
${PREFIX}/share
/xombrero
73 install -m
644 ${.CURDIR
}/..
/tld-rules
${PREFIX}/share
/xombrero
74 install -m
644 ${.CURDIR
}/..
/style.css
${PREFIX}/share
/xombrero
75 install -m
644 ${.CURDIR
}/..
/hsts-preload
${PREFIX}/share
/xombrero
77 ${PROG} ${OBJS} beforedepend
: javascript.h tooltip.h
79 .
include <bsd.prog.mk
>