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
19 perl ..
/js-merge-helper.pl ..
/hinting.js ..
/input-focus.js
> \
22 xxxterm.o
: ..
/xxxterm.o
26 inspector.o
: ..
/inspector.o
28 ..
/xxxterm.o
: ..
/javascript.h
30 xxxterm
: xxxterm.o freebsd.o marco.o inspector.o
31 $(CC
) $(LDFLAGS
) -o
$@
*.o
$+ $(LDADD
)
34 install -m
755 -d
$(DESTDIR
)$(BINDIR
)
35 install -m
755 -d
$(DESTDIR
)$(LIBDIR
)
36 install -m
755 -d
$(DESTDIR
)$(MANDIR
)/man1
37 install -m
755 xxxterm
$(DESTDIR
)$(BINDIR
)
38 install -m
644 ..
/xxxterm
.1 $(DESTDIR
)$(MANDIR
)/man1
/xxxterm
.1
44 .PHONY
: all install clean