3 LIBS
= gtk
+-2.0 webkit-1.0 libsoup-2.4
5 CFLAGS
+= -Wall
-ggdb
-D_GNU_SOURCE
-I.
$(shell pkg-config
--cflags $(LIBS
))
6 LDADD
+= $(shell pkg-config
--libs
$(LIBS
))
10 LIBDIR?
= $(PREFIX
)/lib
11 MANDIR?
= $(PREFIX
)/share
/man
17 javascript.h
: ..
/js-merge-helper.pl ..
/hinting.js
18 perl ..
/js-merge-helper.pl ..
/hinting.js \
19 ..
/input-focus.js
> javascript.h
21 xxxterm.o
: javascript.h
23 xxxterm
: ..
/xxxterm.o linux.o
24 $(CC
) $(LDFLAGS
) -o
$@
$+ $(LDADD
)
27 install -m
755 -d
$(DESTDIR
)$(BINDIR
)
28 install -m
755 -d
$(DESTDIR
)$(LIBDIR
)
29 install -m
755 -d
$(DESTDIR
)$(MANDIR
)/man1
30 install -m
755 xxxterm
$(DESTDIR
)$(BINDIR
)
31 install -m
644 ..
/xxxterm
.1 $(DESTDIR
)$(MANDIR
)/man1
/xxxterm
.1
37 .PHONY
: all install clean