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 gthread-2.0
10 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
11 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
12 CFLAGS
+= $(GTK_CFLAGS
) -O2
-Wall
-pthread
-I.
-I..
13 LDFLAGS
+= $(GTK_LDFLAGS
) -pthread
16 BINDIR?
= $(PREFIX
)/bin
17 LIBDIR?
= $(PREFIX
)/lib
18 MANDIR?
= $(PREFIX
)/man
22 all: ..
/javascript.h ..
/tooltip.h xombrero
24 ..
/javascript.h
: ..
/js-merge-helper.pl ..
/hinting.js ..
/autoscroll.js
25 perl ..
/js-merge-helper.pl ..
/hinting.js ..
/input-focus.js \
26 ..
/autoscroll.js
> ..
/javascript.h
28 ..
/tooltip.h
: ..
/ascii2txt.pl ..
/txt2tooltip.pl ..
/xombrero
.1
29 nroff
-c
-Tascii
-mandoc ..
/xombrero
.1 | \
30 perl ..
/ascii2txt.pl | \
31 perl ..
/txt2tooltip.pl
> ..
/tooltip.h
33 xombrero.o
: ..
/xombrero.o
39 whitelist.o
: ..
/whitelist.o
41 settings.o
: ..
/settings.o
45 inspector.o
: ..
/inspector.o
49 inputfocus.o
: ..
/inputfocus.o
51 history.o
: ..
/history.o
53 completion.o
: ..
/completion.o
55 externaleditor.o
: ..
/externaleditor.o
57 tldlist.o
: ..
/tldlist.o
59 ..
/xombrero.o
: ..
/javascript.h ..
/tooltip.h
61 xombrero
: xombrero.o freebsd.o marco.o about.o inspector.o whitelist.o settings.o \
62 cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \
64 $(CC
) $(LDFLAGS
) -o
$@
*.o
$+ $(LDADD
)
67 install -m
755 -d
$(DESTDIR
)$(BINDIR
)
68 install -m
755 -d
$(DESTDIR
)$(LIBDIR
)
69 install -m
755 -d
$(DESTDIR
)$(MANDIR
)/man1
70 install -m
755 xombrero
$(DESTDIR
)$(BINDIR
)
71 install -m
644 ..
/xombrero
.1 $(DESTDIR
)$(MANDIR
)/man1
/xombrero
.1
72 install -m
644 ..
/xombrero.css
$(DESTDIR
)$(RESDIR
)
73 install -m
644 ..
/xombreroicon16.png
$(DESTDIR
)$(RESDIR
)
74 install -m
644 ..
/xombreroicon32.png
$(DESTDIR
)$(RESDIR
)
75 install -m
644 ..
/xombreroicon48.png
$(DESTDIR
)$(RESDIR
)
76 install -m
644 ..
/xombreroicon64.png
$(DESTDIR
)$(RESDIR
)
77 install -m
644 ..
/xombreroicon128.png
$(DESTDIR
)$(RESDIR
)
78 install -m
644 ..
/tld-rules
$(DESTDIR
)$(RESDIR
)
79 install -m
644 ..
/style.css
$(DESTDIR
)$(RESDIR
)
80 install -m
644 ..
/hsts-preload
$(DESTDIR
)$(RESDIR
)
87 .PHONY
: all install clean