2 .if
${GTK_VERSION} == "gtk2"
3 LIBS
= gtk
+-2.0 webkit-1.0
5 LIBS
= gtk
+-3.0 webkitgtk-3.0
7 LIBS
+= libsoup-2.4 gnutls
10 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
11 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
12 CFLAGS
+= $(GTK_CFLAGS
) -O2
-Wall
-I.
-I..
13 LDFLAGS
+= $(GTK_LDFLAGS
)
16 BINDIR?
= $(PREFIX
)/bin
17 LIBDIR?
= $(PREFIX
)/lib
18 MANDIR?
= $(PREFIX
)/man
19 RESDIR?
= $(PREFIX
)/share
/xombrero
23 all: ..
/javascript.h ..
/tooltip.h xombrero
25 ..
/javascript.h
: ..
/js-merge-helper.pl ..
/hinting.js ..
/autoscroll.js
26 perl ..
/js-merge-helper.pl ..
/hinting.js ..
/input-focus.js \
27 ..
/autoscroll.js
> ..
/javascript.h
29 ..
/tooltip.h
: ..
/ascii2txt.pl ..
/txt2tooltip.pl ..
/xombrero
.1
30 nroff
-c
-Tascii
-mandoc ..
/xombrero
.1 | \
31 perl ..
/ascii2txt.pl | \
32 perl ..
/txt2tooltip.pl
> ..
/tooltip.h
34 xombrero.o
: ..
/xombrero.o
40 whitelist.o
: ..
/whitelist.o
42 settings.o
: ..
/settings.o
46 inspector.o
: ..
/inspector.o
50 inputfocus.o
: ..
/inputfocus.o
52 history.o
: ..
/history.o
54 completion.o
: ..
/completion.o
56 externaleditor.o
: ..
/externaleditor.o
58 tldlist.o
: ..
/tldlist.o
60 ..
/xombrero.o
: ..
/javascript.h ..
/tooltip.h
62 xombrero
: xombrero.o freebsd.o marco.o about.o inspector.o whitelist.o settings.o \
63 cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \
65 $(CC
) $(LDFLAGS
) -o
$@
*.o
$+ $(LDADD
)
68 install -m
755 -d
$(DESTDIR
)$(BINDIR
)
69 install -m
755 -d
$(DESTDIR
)$(LIBDIR
)
70 install -m
755 -d
$(DESTDIR
)$(MANDIR
)/man1
71 install -m
755 xombrero
$(DESTDIR
)$(BINDIR
)
72 install -m
644 ..
/xombrero
.1 $(DESTDIR
)$(MANDIR
)/man1
/xombrero
.1
73 install -m
644 ..
/xombrero.css
$(DESTDIR
)$(RESDIR
)
74 install -m
644 ..
/xombrero.desktop
$(DESTDIR
)$(PREFIX
)/share
/applications
75 install -m
644 ..
/xombreroicon16.png
$(DESTDIR
)$(RESDIR
)
76 install -m
644 ..
/xombreroicon32.png
$(DESTDIR
)$(RESDIR
)
77 install -m
644 ..
/xombreroicon48.png
$(DESTDIR
)$(RESDIR
)
78 install -m
644 ..
/xombreroicon64.png
$(DESTDIR
)$(RESDIR
)
79 install -m
644 ..
/xombreroicon128.png
$(DESTDIR
)$(RESDIR
)
80 install -m
644 ..
/tld-rules
$(DESTDIR
)$(RESDIR
)
81 install -m
644 ..
/style.css
$(DESTDIR
)$(RESDIR
)
82 install -m
644 ..
/hsts-preload
$(DESTDIR
)$(RESDIR
)
83 install -m
644 ..
/torenabled.ico
$(DESTDIR
)$(RESDIR
)
84 install -m
644 ..
/tordisabled.ico
$(DESTDIR
)$(RESDIR
)
91 .PHONY
: all install clean