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 # ========================================================================
18 bin_PROGRAMS = alpine rpdump rpload
20 alpine_SOURCES = addrbook.c adrbkcmd.c after.c alpine.c arg.c busy.c colorconf.c \
21 confscroll.c context.c dispfilt.c flagmaint.c folder.c help.c imap.c \
22 init.c kblock.c keymenu.c ldapconf.c listsel.c mailcmd.c mailindx.c \
23 mailpart.c mailview.c newuser.c pattern.c pipe.c print.c radio.c remote.c reply.c \
24 roleconf.c send.c setup.c signal.c status.c takeaddr.c titlebar.c smime.c \
25 newmail.c xoauth2conf.c
27 alpine_LDADD = $(LDADD) $(INTLLIBS)
29 rpdump_LDADD = $(LDADD) $(INTLLIBS)
31 rpload_LDADD = $(LDADD) $(INTLLIBS)
33 nodist_alpine_SOURCES = date.c
35 rpdump_SOURCES = rpdump.c
37 rpload_SOURCES = rpload.c
39 BUILT_SOURCES = date.c
41 LDADD = ../pico/libpico.a ../pico/osdep/libpicoosd.a \
42 ../pith/libpith.a ../pith/osdep/libpithosd.a \
43 ../pith/charconv/libpithcc.a \
44 osdep/libpineosd.a ../c-client/c-client.a
46 AM_CPPFLAGS = -I@top_builddir@/include -I@top_srcdir@/include -DLOCALEDIR=\"$(localedir)\"
48 AM_LDFLAGS = `cat @top_srcdir@/c-client/LDFLAGS`
53 echo "char datestamp[]="\"$(ALPINE_DATESTAMP)\"";" > date.c
54 echo "char hoststamp[]="\"$(ALPINE_HOSTSTAMP)\"";" >> date.c
55 echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c