1 LIBS
= gtk
+-2.0 webkit-1.0 libsoup-2.4 gnutls gthread-2.0
4 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
5 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
6 CFLAGS
+= $(GTK_CFLAGS
) -O2
-Wall
-pthread
7 LDFLAGS
+= $(GTK_LDFLAGS
) -pthread
10 BINDIR?
= $(PREFIX
)/bin
11 LIBDIR?
= $(PREFIX
)/lib
12 MANDIR?
= $(PREFIX
)/man
16 all: ..
/javascript.h xxxterm
18 ..
/javascript.h
: ..
/js-merge-helper.pl ..
/hinting.js ..
/autoscroll.js
19 perl ..
/js-merge-helper.pl ..
/hinting.js ..
/input-focus.js \
20 ..
/autoscroll.js
> ..
/javascript.h
22 xxxterm.o
: ..
/xxxterm.o
28 whitelist.o
: ..
/whitelist.o
30 settings.o
: ..
/settings.o
34 inspector.o
: ..
/inspector.o
38 inputfocus.o
: ..
/inputfocus.o
40 history.o
: ..
/history.o
42 completion.o
: ..
/completion.o
44 externaleditor.o
: ..
/externaleditor.o
46 tldlist.o
: ..
/tldlist.o
48 ..
/xxxterm.o
: ..
/javascript.h
50 xxxterm
: xxxterm.o freebsd.o marco.o about.o inspector.o whitelist.o settings.o \
51 cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \
53 $(CC
) $(LDFLAGS
) -o
$@
*.o
$+ $(LDADD
)
56 install -m
755 -d
$(DESTDIR
)$(BINDIR
)
57 install -m
755 -d
$(DESTDIR
)$(LIBDIR
)
58 install -m
755 -d
$(DESTDIR
)$(MANDIR
)/man1
59 install -m
755 xxxterm
$(DESTDIR
)$(BINDIR
)
60 install -m
644 ..
/xxxterm
.1 $(DESTDIR
)$(MANDIR
)/man1
/xxxterm
.1
66 .PHONY
: all install clean