7 WVSTREAMS_BIN
=$(prefix)/bin
10 PC_CFLAGS
=$(shell pkg-config
--cflags libwvstreams
)
12 $(error WvStreams does not appear to be installed
)
14 CPPFLAGS
+=$(PC_CFLAGS
)
16 PC_LIBS
=$(shell pkg-config
--libs libwvstreams
)
18 $(error WvStreams does not appear to be installed
)
25 include $(TOPDIR
)/wvrules.mk
33 ifneq ($(WVSTREAMS_LIB
),)
34 retchmail-LIBS
+=$(LIBUNICONF
) ${LIBWVSTREAMS} $(LIBWVUTILS
)
36 retchmail
: retchmail.o wvpopclient.o wvsendmail.o
-luniconf
38 install: install-bin install-man
41 [ -d
${prefix}/bin
] ||
install -d
${prefix}/bin
42 install -m
0755 retchmail
${prefix}/bin
45 [ -d
${prefix}/share
/man
] ||
install -d
${prefix}/share
/man
46 [ -d
${prefix}/share
/man
/man1
] ||
install -d
${prefix}/share
/man
/man1
47 [ -d
${prefix}/share
/man
/man5
] ||
install -d
${prefix}/share
/man
/man5
48 install -m
0644 retchmail
.1 ${prefix}/share
/man
/man1
49 install -m
0644 retchmail.conf
.5 ${prefix}/share
/man
/man5
54 .PHONY
: install install-bin install-man
clean