3 LIBS
= gtk
+-2.0 webkit-1.0 libsoup-2.4
6 GTK_CFLAGS
!= pkg-config
--cflags $(LIBS
)
7 GTK_LDFLAGS
!= pkg-config
--libs
$(LIBS
)
8 CFLAGS
+= $(GTK_CFLAGS
) -Wall
-pthread
9 LDFLAGS
+= $(GTK_LDFLAGS
) -pthread
12 BINDIR?
= $(PREFIX
)/bin
13 LIBDIR?
= $(PREFIX
)/lib
14 MANDIR?
= $(PREFIX
)/man
18 all: ..
/javascript.h xxxterm
20 ..
/javascript.h
: ..
/js-merge-helper.pl ..
/hinting.js
21 perl ..
/js-merge-helper.pl ..
/hinting.js ..
/input-focus.js
> \
24 xxxterm.o
: ..
/xxxterm.o
28 ..
/xxxterm.o
: ..
/javascript.h
30 xxxterm
: xxxterm.o freebsd.o marco.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