summaryrefslogtreecommitdiff
path: root/pith/Makefile.am
blob: a1f66093950f2547efff18345aff9d947341c5d9 (plain)
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
## Process this file with automake to produce Makefile.in
## Use aclocal -I m4; automake

# ========================================================================
# Copyright 2013-2020 Eduardo Chappa
# Copyright 2006-2008 University of Washington
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# ========================================================================

SUBDIRS = osdep charconv

noinst_LIBRARIES = libpith.a

BUILT_SOURCES = helptext.h helptext.c

noinst_PROGRAMS = help_h_gen help_c_gen

libpith_a_SOURCES = ablookup.c abdlc.c addrbook.c addrstring.c adrbklib.c bldaddr.c body.c charset.c \
	color.c conf.c context.c copyaddr.c detoken.c detach.c editorial.c escapes.c \
	filter.c flag.c folder.c handle.c help.c helpindx.c hist.c icache.c ical.c imap.c init.c \
	keyword.c ldap.c list.c mailcap.c mailcmd.c mailindx.c maillist.c mailview.c \
	margin.c mimedesc.c mimetype.c msgno.c newmail.c news.c pattern.c pipe.c \
	readfile.c remote.c reply.c rfc2231.c save.c search.c sequence.c send.c sort.c \
	state.c status.c store.c stream.c string.c strlst.c takeaddr.c tempfile.c text.c \
	thread.c adjtime.c url.c util.c helptext.c smkeys.c smime.c

help_c_gen$(BUILD_EXEEXT): help_c_gen.c
	@rm -f help_c_gen$(BUILD_EXEEXT)
	$(CC_FOR_BUILD) help_c_gen.c -o help_c_gen$(BUILD_EXEEXT)
help_h_gen$(BUILD_EXEEXT):
	@rm -f help_h_gen$(BUILD_EXEEXT)
	$(CC_FOR_BUILD) help_h_gen.c -o help_h_gen$(BUILD_EXEEXT)

helptext.c: help_c_gen pine.hlp
	./help_c_gen < pine.hlp > $@

helptext.h: help_h_gen pine.hlp
	./help_h_gen < pine.hlp > $@

AM_CPPFLAGS = -I@top_builddir@/include -I@top_srcdir@/include

CLEANFILES = helptext.c helptext.h help_h_gen help_c_gen