xref: /original-bsd/share/man/man3f/Makefile (revision e877e4b2)
1#
2# Copyright (c) 1987 Regents of the University of California.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are permitted
6# provided that this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
11#
12#	@(#)Makefile	5.1 (Berkeley) 12/12/87
13#
14MDIR=	/usr/man/cat3f
15SRCS=	abort.3 access.3 alarm.3 bessel.3 bit.3 chdir.3 chmod.3 etime.3 \
16	exit.3 fdate.3 flmin.3 flush.3 fork.3 fseek.3 getarg.3 getc.3 \
17	getcwd.3 getenv.3 getlog.3 getpid.3 getuid.0 getuid.3 hostnm.3 \
18	idate.3 index.3 intro.3 ioinit.3 kill.3 link.3 loc.3 long.3 \
19	malloc.3 perror.3 plot.3 putc.3 qsort.3 rand.3 random.3 rename.3 \
20	signal.3 sleep.3 stat.3 system.3 time.3 topen.3 traper.3 trapov.3 \
21	trpfpe.3 ttynam.3 unlink.3 wait.3
22OBJS=	abort.0 access.0 alarm.0 bessel.0 bit.0 chdir.0 chmod.0 etime.0 \
23	exit.0 fdate.0 flmin.0 flush.0 fork.0 fseek.0 getarg.0 getc.0 \
24	getcwd.0 getenv.0 getlog.0 getpid.0 getuid.0 getuid.0 hostnm.0 \
25	idate.0 index.0 intro.0 ioinit.0 kill.0 link.0 loc.0 long.0 \
26	malloc.0 perror.0 plot.0 putc.0 qsort.0 rand.0 random.0 rename.0 \
27	signal.0 sleep.0 stat.0 system.0 time.0 topen.0 traper.0 trapov.0 \
28	trpfpe.0 ttynam.0 unlink.0 wait.0
29LINKS=	and.0 lshift.0 not.0 or.0 rshift.0 xor.0 box.0 ctime.0 drand.0 \
30	fgetc.0 fputc.0 fstat.0 gmtime.0 irand.0 lstat.0 ltime.0 short.0 \
31	symlnk.0 dffrac.0 dflmax.0 dflmin.0 dtime.0 ffrac.0 flmax.0 \
32	fortran.0 ftell.0 inmax.0 itime.0 len.0 lnblnk.0 rindex.0 tclose.0 \
33	tread.0 trewin.0 tskipf.0 tstate.0 twrite.0 drandm.0 falloc.0 \
34	fpecnt.0 gerror.0 getgid.0 iargc.0 ierrno.0 irandm.0 isatty.0 \
35	besj0.0 besj1.0 besjn.0 besy0.0 besy1.0 besyn.0 dbesj0.0 dbesj1.0 \
36	dbesjn.0 dbesy0.0 dbesy1.0 dbesyn.0
37
38.SUFFIXES: .3 .0
39
40.3.0:
41	${DESTDIR}/usr/man/manroff $*.3 > $*.0
42
43all: ${OBJS}
44
45clean: FRC
46	rm -f ${OBJS}
47
48install: FRC
49	cd ${DESTDIR}${MDIR}; rm -f *.0
50	install -c -o bin -g bin -m 444 ${OBJS} ${DESTDIR}${MDIR}
51	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/and.0
52	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/lshift.0
53	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/not.0
54	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/or.0
55	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/rshift.0
56	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/xor.0
57	ln ${DESTDIR}${MDIR}/plot.0 ${DESTDIR}${MDIR}/box.0
58	ln ${DESTDIR}${MDIR}/time.0 ${DESTDIR}${MDIR}/ctime.0
59	ln ${DESTDIR}${MDIR}/rand.0 ${DESTDIR}${MDIR}/drand.0
60	ln ${DESTDIR}${MDIR}/getc.0 ${DESTDIR}${MDIR}/fgetc.0
61	ln ${DESTDIR}${MDIR}/putc.0 ${DESTDIR}${MDIR}/fputc.0
62	ln ${DESTDIR}${MDIR}/stat.0 ${DESTDIR}${MDIR}/fstat.0
63	ln ${DESTDIR}${MDIR}/time.0 ${DESTDIR}${MDIR}/gmtime.0
64	ln ${DESTDIR}${MDIR}/rand.0 ${DESTDIR}${MDIR}/irand.0
65	ln ${DESTDIR}${MDIR}/stat.0 ${DESTDIR}${MDIR}/lstat.0
66	ln ${DESTDIR}${MDIR}/time.0 ${DESTDIR}${MDIR}/ltime.0
67	ln ${DESTDIR}${MDIR}/long.0 ${DESTDIR}${MDIR}/short.0
68	ln ${DESTDIR}${MDIR}/link.0 ${DESTDIR}${MDIR}/symlnk.0
69	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/dffrac.0
70	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/dflmax.0
71	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/dflmin.0
72	ln ${DESTDIR}${MDIR}/etime.0 ${DESTDIR}${MDIR}/dtime.0
73	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/ffrac.0
74	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/flmax.0
75	ln ${DESTDIR}${MDIR}/intro.0 ${DESTDIR}${MDIR}/fortran.0
76	ln ${DESTDIR}${MDIR}/fseek.0 ${DESTDIR}${MDIR}/ftell.0
77	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/inmax.0
78	ln ${DESTDIR}${MDIR}/idate.0 ${DESTDIR}${MDIR}/itime.0
79	ln ${DESTDIR}${MDIR}/index.0 ${DESTDIR}${MDIR}/len.0
80	ln ${DESTDIR}${MDIR}/index.0 ${DESTDIR}${MDIR}/lnblnk.0
81	ln ${DESTDIR}${MDIR}/index.0 ${DESTDIR}${MDIR}/rindex.0
82	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tclose.0
83	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tread.0
84	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/trewin.0
85	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tskipf.0
86	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tstate.0
87	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/twrite.0
88	ln ${DESTDIR}${MDIR}/random.0 ${DESTDIR}${MDIR}/drandm.0
89	ln ${DESTDIR}${MDIR}/malloc.0 ${DESTDIR}${MDIR}/falloc.0
90	ln ${DESTDIR}${MDIR}/trpfpe.0 ${DESTDIR}${MDIR}/fpecnt.0
91	ln ${DESTDIR}${MDIR}/perror.0 ${DESTDIR}${MDIR}/gerror.0
92	ln ${DESTDIR}${MDIR}/getuid.0 ${DESTDIR}${MDIR}/getgid.0
93	ln ${DESTDIR}${MDIR}/getarg.0 ${DESTDIR}${MDIR}/iargc.0
94	ln ${DESTDIR}${MDIR}/perror.0 ${DESTDIR}${MDIR}/ierrno.0
95	ln ${DESTDIR}${MDIR}/random.0 ${DESTDIR}${MDIR}/irandm.0
96	ln ${DESTDIR}${MDIR}/ttynam.0 ${DESTDIR}${MDIR}/isatty.0
97	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besj0.0
98	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besj1.0
99	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besjn.0
100	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besy0.0
101	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besy1.0
102	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besyn.0
103	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesj0.0
104	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesj1.0
105	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesjn.0
106	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesy0.0
107	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesy1.0
108	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesyn.0
109
110FRC:
111