1 ## Process this file with automake to produce Makefile.in
2 ## Use aclocal -I m4; automake
4 # ========================================================================
5 # Copyright 2013-2021 Eduardo Chappa
6 # Copyright 2006-2008 University of Washington
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
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # ========================================================================
16 SUBDIRS = osdep charconv
18 noinst_LIBRARIES = libpith.a
20 BUILT_SOURCES = helptext.h helptext.c
22 noinst_PROGRAMS = help_h_gen help_c_gen
24 libpith_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
33 help_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)
36 help_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)
40 helptext.c: help_c_gen pine.hlp
41 ./help_c_gen < pine.hlp > $@
43 helptext.h: help_h_gen pine.hlp
44 ./help_h_gen < pine.hlp > $@
46 AM_CPPFLAGS = -I@top_builddir@/include -I@top_srcdir@/include
48 CLEANFILES = helptext.c helptext.h help_h_gen help_c_gen