Makefile.am
1.26 KB
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
# This file is part of GNU Mailutils
# Copyright (C) 2000,2001,2002 Free Software Foundation
# See file COPYING in the distribution root directory for copying conditions.
MHPROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
EXTRA_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
MHLIBRARIES = libmh.a
EXTRA_LIBRARIES = libmh.a
bin_PROGRAMS = @MHPROGRAMS@
noinst_LIBRARIES = @MHLIBRARIES@
libmh_a_SOURCES= \
mh_argp.c\
mh_ctx.c\
mh_getopt.c\
mh_global.c\
mh_error.c\
mh_format.c\
mh_init.c\
mh_fmtgram.y\
mh_msgset.c
noinst_HEADERS = mh.h mh_getopt.h
scan_SOURCES = scan.c
inc_SOURCES = inc.c
rmm_SOURCES = rmm.c
rmf_SOURCES = rmf.c
refile_SOURCES = refile.c
mhpath_SOURCES = mhpath.c
folder_SOURCES = folder.c
fmtcheck_SOURCES = fmtcheck.c
repl_SOURCES = repl.c
INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib
mh_LIBS = ./libmh.a ../mailbox/libmailbox.la ../lib/libmailutils.la
scan_LDADD = $(mh_LIBS) @CURSES_LIBS@
inc_LDADD = $(mh_LIBS)
rmm_LDADD = $(mh_LIBS)
refile_LDADD = $(mh_LIBS)
mhpath_LDADD = $(mh_LIBS)
folder_LDADD = $(mh_LIBS)
rmf_LDADD = $(mh_LIBS)
fmtcheck_LDADD = $(mh_LIBS)
repl_LDADD = $(mh_LIBS)
AM_YFLAGS=-vt
install-exec-hook:
-rm -f $(DESTDIR)$(bindir)/folders
$(LN_S) $(DESTDIR)$(bindir)/folder $(DESTDIR)$(bindir)/folders