blob: 1711adbf4aa3ebd3fe38950f7927f0d230a184a5 (
plain) (
blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
*** pine/makefile.bsf.orig Fri Sep 20 13:44:43 1996
--- pine/makefile.bsf Fri Sep 20 13:44:43 1996
***************
*** 0 ****
--- 1,156 ----
+ #
+ # T H E P I N E M A I L S Y S T E M
+ #
+ # Laurence Lundblade and Mike Seibel
+ # Networks and Distributed Computing
+ # Computing and Communications
+ # University of Washington
+ # Administration Building, AG-44
+ # Seattle, Washington, 98195, USA
+ # Internet: lgl@CAC.Washington.EDU
+ # mikes@CAC.Washington.EDU
+ #
+ # Please address all bugs and comments to "pine-bugs@cac.washington.edu"
+ #
+ #
+ # Pine and Pico are registered trademarks of the University of Washington.
+ # No commercial use of these trademarks may be made without prior written
+ # permission of the University of Washington.
+ #
+ # Pine, Pico, and Pilot software and its included text are Copyright
+ # 1989-1996 by the University of Washington.
+ #
+ # The full text of our legal notices is contained in the file called
+ # CPYRIGHT, included with this distribution.
+ #
+ #
+ # Pine is in part based on The Elm Mail System:
+ # ***********************************************************************
+ # * The Elm Mail System - Revision: 2.13 *
+ # * *
+ # * Copyright (c) 1986, 1987 Dave Taylor *
+ # * Copyright (c) 1988, 1989 USENET Community Trust *
+ # ***********************************************************************
+ #
+ #
+
+
+ #
+ # Make file for the Pine mail system for FreeBSD
+ #
+ #
+ # Most commonly fiddled flags for compiler.
+ # Uncomment the setttings desired here
+ #
+ RM= rm -f
+ LN= ln -s
+ MAKE= make
+ OPTIMIZE= -O
+ PROFILE= # -pg
+ DEBUG= # -g -DDEBUG
+
+ IMAPDIR= ../c-client
+ PICODIR= ../pico
+
+ STDLIBES= -ltermlib
+ #LOCLIBES= $(PICODIR)/libpico.a $(IMAPDIR)/c-client.a
+ LOCLIBES= -lpico -lc-client
+ LOCLIBDIR= -L$(PICODIR) -L$(IMAPDIR)
+ EXTRALIBES= -L/usr/local/lib -lcanna
+ LIBES= $(LOCLIBDIR) $(LOCLIBES) $(EXTRALIBES) $(STDLIBES)
+
+ STDCFLAGS= -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE -I/usr/local/include
+ EXTRACFLAGS= -DKANJI -DCANNA -DHELPFILE
+ CFLAGS+= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS)
+
+ obj= addrbook.o adrbklib.o args.o context.o filter.o \
+ folder.o help.o imap.o init.o mailcap.o mailcmd.o \
+ mailindx.o mailpart.o mailview.o newmail.o other.o pine.o \
+ reply.o screen.o send.o signals.o status.o strings.o ttyin.o \
+ ttyout.o os.o
+
+ cfiles= addrbook.c adrbklib.c args.c context.c filter.c \
+ folder.c help.c helptext.c imap.c init.c mailcap.c mailcmd.c \
+ mailindx.c mailpart.c mailview.c newmail.c other.c pine.c \
+ reply.c screen.c send.c signals.c status.c strings.c ttyin.c \
+ ttyout.c os.c
+
+ HELPSRCS= pine.hlp pine_ja.hlp
+ HELPINDXS= pine.ndx pine_ja.ndx
+
+ pine: $(obj) $(LOCLIBES)
+ echo "char datestamp[]="\"`date`\"";" > date.c
+ echo "char hoststamp[]="\"`hostname`\"";" >> date.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -o pine $(obj) date.c $(LIBES)
+
+ $(HELPINDXS) helptext.h: helpindx $(HELPSRCS)
+ ./helpindx pine.hlp pine.ndx helptext.h
+ ./helpindx pine_ja.hlp pine_ja.ndx /dev/null
+
+ helpindx: helpindx.c
+ $(CC) $(CFLAGS) -o $@ helpindx.c
+
+ # this is not part of pine
+ pine-use: pine-use.c
+ $(CC) -o pine-use pine-use.c
+
+ clean:
+ $(RM) *.o os.h os.c helptext.c helptext.h
+ cd osdep; make clean; cd ..
+
+
+ HEADERS= headers.h pine.h os.h helptext.h context.h \
+ $(IMAPDIR)/mail.h $(IMAPDIR)/osdep.h
+
+ addrbook.o: addrbook.c $(HEADERS) adrbklib.h $(PICODIR)/pico.h
+ adrbklib.o: adrbklib.c $(HEADERS) adrbklib.h
+ args.o: args.c $(HEADERS)
+ context.o: context.c $(HEADERS) $(IMAPDIR)/misc.h
+ filter.o: filter.c $(HEADERS) $(PICODIR)/pico.h
+ folder.o: folder.c $(HEADERS)
+ help.o: help.c $(HEADERS)
+ helptext.o: helptext.c
+ imap.o: imap.c $(HEADERS)
+ init.o: init.c $(HEADERS)
+ mailcap.o: mailcap.c $(HEADERS)
+ mailcmd.o: mailcmd.c $(HEADERS) $(PICODIR)/pico.h
+ mailindx.o: mailindx.c $(HEADERS)
+ mailpart.o: mailpart.c $(HEADERS)
+ mailview.o: mailview.c $(HEADERS)
+ newmail.o: newmail.c $(HEADERS)
+ os.o: os.c $(HEADERS)
+ other.o: other.c $(HEADERS) $(PICODIR)/pico.h
+ pine.o: pine.c $(HEADERS)
+ reply.o: reply.c $(HEADERS)
+ screen.o: screen.c $(HEADERS)
+ send.o: send.c $(HEADERS) $(IMAPDIR)/smtp.h $(PICODIR)/pico.h
+ signals.o: signals.c $(HEADERS)
+ status.o: status.c $(HEADERS)
+ strings.o: strings.c $(HEADERS)
+ ttyin.o: ttyin.c $(HEADERS)
+ ttyout.o: ttyout.c $(HEADERS)
+
+ os.h: osdep/os-bsf.h
+ $(RM) os.h
+ $(LN) osdep/os-bsf.h os.h
+
+ #helptext.c: pine.hlp
+ # ./cmplhelp.sh < pine.hlp > helptext.c
+
+ #helptext.h: pine.hlp
+ # ./cmplhlp2.sh < pine.hlp > helptext.h
+
+ os.c: osdep/os-bsf.c
+ $(RM) os.c
+ $(LN) osdep/os-bsf.c os.c
+
+ osdep/os-bsf.c: osdep/bld_path osdep/canacces osdep/canonicl \
+ osdep/chnge_pw osdep/coredump osdep/creatdir \
+ osdep/diskquot.non osdep/domnames osdep/err_desc.dos \
+ osdep/expnfldr osdep/fgetpos osdep/filesize osdep/fltrname \
+ osdep/fnexpand osdep/header osdep/hostname \
+ osdep/jobcntrl osdep/lstcmpnt osdep/mimedisp osdep/pipe \
+ osdep/print osdep/pw_stuff osdep/readfile osdep/debuging \
+ osdep/rename osdep/tempfile osdep/tempnam osdep/writ_dir \
+ osdep/sendmail osdep/execview osdep/os-bsf.ic
+ cd osdep; $(MAKE) includer os-bsf.c; cd ..
|