-
Notifications
You must be signed in to change notification settings - Fork 46
/
Makefile.in
54 lines (43 loc) · 1.33 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
MAKE = make
VERSION = @VERSION@
SRCDIR = src/
DESTDIR =
CC = @CC@
CFLAGS = @CFLAGS@ @DEFS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
DLIB = dlib/
cwd = @cwd@
PACKAGE_TARNAME=email-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libdir = @libdir@
includedir = @includedir@
mandir = @mandir@
docdir = @docdir@
sysconfdir = @sysconfdir@
datarootdir = @datarootdir@
bin_suffix = @EXEEXT@
.PHONY: all clean-all clean distclean install uninstall
all:
if [ "$(cwd)" != "$(includedir)" ]; then cd $(DLIB) && $(MAKE); fi
cd $(SRCDIR) && $(MAKE)
install:
./install.sh --bindir "$(DESTDIR)$(bindir)" --sysconfdir "$(DESTDIR)$(sysconfdir)" \
--mandir "$(DESTDIR)$(mandir)" --binext "$(bin_suffix)" --version "$(VERSION)" \
--docdir "$(DESTDIR)$(docdir)"
distclean:
cd $(SRCDIR) && $(MAKE) clean-all
rm -rf Makefile config.status VERSION email.help email.1
clean:
cd $(SRCDIR) && $(MAKE) clean
if [ "$(cwd)" != "$(includedir)" ]; then cd $(DLIB) && $(MAKE) clean; fi
clean-all:
cd $(SRCDIR) && $(MAKE) clean-all
rm -rf autom4* Makefile config.status VERSION email.help email.1 configure \
config.log configure.in
uninstall:
./uninstall.sh --bindir "$(DEST_DIR)$(bindir)" --sysconfdir "$(DEST_DIR)$(sysconfdir)" \
--mandir "$(DEST_DIR)$(mandir)" --docdir "$(DEST_DIR)$(docdir)" --version "$(VERSION)"