1## Process this file with automake to produce Makefile.in
2## Use aclocal -I m4; automake
3
4# ========================================================================
5# Copyright 2013-2021 Eduardo Chappa
6# Copyright 2006-2008 University of Washington
7#
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12#     http://www.apache.org/licenses/LICENSE-2.0
13#
14# ========================================================================
15
16SUBDIRS = osdep charconv
17
18noinst_LIBRARIES = libpith.a
19
20BUILT_SOURCES = helptext.h helptext.c
21
22noinst_PROGRAMS = help_h_gen help_c_gen
23
24libpith_a_SOURCES = ablookup.c abdlc.c addrbook.c addrstring.c adrbklib.c bldaddr.c body.c charset.c \
25	color.c conf.c context.c copyaddr.c detoken.c detach.c editorial.c escapes.c \
26	filter.c flag.c folder.c handle.c help.c helpindx.c hist.c icache.c ical.c imap.c init.c \
27	keyword.c ldap.c list.c mailcap.c mailcmd.c mailindx.c maillist.c mailview.c \
28	margin.c mimedesc.c mimetype.c msgno.c newmail.c news.c pattern.c pipe.c \
29	readfile.c remote.c reply.c rfc2231.c save.c search.c sequence.c send.c sort.c \
30	state.c status.c store.c stream.c string.c strlst.c takeaddr.c tempfile.c text.c \
31	thread.c adjtime.c url.c util.c helptext.c smkeys.c smime.c
32
33help_c_gen$(EXEEXT): $(help_c_gen_OBJECTS) $(help_c_gen_DEPENDENCIES)
34	@rm -f help_c_gen$(EXEEXT)
35	$(LINK) $(help_c_gen_OBJECTS) $(help_c_gen_LDADD)
36help_h_gen$(EXEEXT): $(help_h_gen_OBJECTS) $(help_h_gen_DEPENDENCIES)
37	@rm -f help_h_gen$(EXEEXT)
38	$(LINK) $(help_h_gen_OBJECTS) $(help_h_gen_LDADD)
39
40helptext.c: help_c_gen pine.hlp
41	./help_c_gen < pine.hlp > $@
42
43helptext.h: help_h_gen pine.hlp
44	./help_h_gen < pine.hlp > $@
45
46AM_CPPFLAGS = -I@top_builddir@/include -I@top_srcdir@/include
47
48CLEANFILES = helptext.c helptext.h help_h_gen help_c_gen
49