File: Makefile

package info (click to toggle)
qpopper 2.3-4
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 560 kB
  • ctags: 415
  • sloc: ansic: 4,967; makefile: 153; sh: 43
file content (146 lines) | stat: -rw-r--r-- 2,328 bytes parent folder | download
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
#@(#)@(#)Makefile	2.5  2.5 4/3/91

DOCS		=	README pop3.rfc1081 pop3e.rfc1082 popper.8

INCLUDES	=	popper.h version.h

SRCS		=	${CSRCS} ${INCLUDES}

SCCS		=	/usr/ucb/sccs

REL		=

MAKEFILE	=	Makefile

TARGET		=	popper

TAR		=	${TARGET}.tar

INSTALLDIR	=	/tmp

MANPAGE		=	popper.8

CATPAGE		=	popper.0

MANDIR		=	/usr/local/man/cat8



all:
	@echo ""
	@echo "Enter make <your system> here"
	@echo "below are the currently supported system."
	@echo "Enter the one appropriate to your site."
	@echo ""
	@echo "    make sunos (4.x berkeley ish)"
	@echo "    make solaris2 (SVR4 w/Solaris 2.x specific mods)"
	@echo "    make 44bsd"
	@echo "    make bsdi"
	@echo "    make next"
	@echo "    make isc"
	@echo "    make aix"
	@echo "    make ultrix"
	@echo "    make sysv"
	@echo "    make hpux"
	@echo "    make hpux10 (OS version 10.x)"
	@echo "    make aux"
	@echo "    make unixware (NCR)"
	@echo "    make sco"
	@echo "    make scor5 (SCO Open Server 5)"
	@echo "    make ptx"
	@echo "    make irix"
	@echo "    make pyramid"
	@echo "    make linux"
	@echo "    make next"
	@echo "    make osf1"
	@echo ""

sunos:
	make -f make.sunos

solaris2:
	make -f make.solaris2

isc:
	make -f make.isc

aix:
	make -f make.aix

ultrix:
	make -f make.ultrix

sysv:
	make -f make.sysv

hpux:
	make -f make.hpux

hpux10:
	make -f make.hpux10

aux:
	make -f make.aux

irix:
	make -f make.irix

pyramid:
	make -f make.pyramid

sco:
	make -f make.sco

scor5:
	make -f make.scor5

ptx:
	make -f make.ptx

unixware:
	make -f make.unixware

linux:
	make -f make.linux

osf1:
	make -f make.osf1

44bsd:
	make -f make.44bsd

bsdi:
	make -f make.bsdi

next:
	make -f make.next

tar: ${SRCS} ${DOCS} ${MAKEFILE}
	rm -f ${TAR} *.Z*
	tar -cvf ${TAR} ${SRCS} ${DOCS} ${MAKEFILE}
	compress ${TAR}
	uuencode ${TAR}.Z ${TAR}.Z > ${TAR}.Z.uuencoded
	split -300 ${TAR}.Z.uuencoded
	mv xaa ${TAR}.Z.uuencoded.xaa
	mv xab ${TAR}.Z.uuencoded.xab
	mv xac ${TAR}.Z.uuencoded.xac
	mv xad ${TAR}.Z.uuencoded.xad
	mv xae ${TAR}.Z.uuencoded.xae

clean:
	rm -f core *.o *.Z*

installman:
	rm -f ${CATPAGE}
	nroff -man ${MANPAGE} > ${CATPAGE}
	install -c -m 644 -o root -g staff ${CATPAGE} ${MANDIR}

sources: ${SRCS}

${SRCS}:
	${SCCS} get ${REL} $@ -p | expand -4 > $@

${DOCS}:
	${SCCS} get README -p | expand -4 > README
	${SCCS} get popper.8 -p | expand -4 > popper.8