xref: /original-bsd/share/man/man3f/Makefile (revision 7211505a)
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 the above copyright notice and this paragraph are
7# duplicated in all such forms and that any documentation,
8# advertising materials, and other materials related to such
9# distribution and use acknowledge that the software was developed
10# by the University of California, Berkeley.  The name of the
11# University may not be used to endorse or promote products derived
12# from this software without specific prior written permission.
13# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16#
17#	@(#)Makefile	5.2 (Berkeley) 07/09/88
18#
19MDIR=	/usr/man/cat3f
20SRCS=	abort.3 access.3 alarm.3 bessel.3 bit.3 chdir.3 chmod.3 etime.3 \
21	exit.3 fdate.3 flmin.3 flush.3 fork.3 fseek.3 getarg.3 getc.3 \
22	getcwd.3 getenv.3 getlog.3 getpid.3 getuid.0 getuid.3 hostnm.3 \
23	idate.3 index.3 intro.3 ioinit.3 kill.3 link.3 loc.3 long.3 \
24	malloc.3 perror.3 plot.3 putc.3 qsort.3 rand.3 random.3 rename.3 \
25	signal.3 sleep.3 stat.3 system.3 time.3 topen.3 traper.3 trapov.3 \
26	trpfpe.3 ttynam.3 unlink.3 wait.3
27OBJS=	abort.0 access.0 alarm.0 bessel.0 bit.0 chdir.0 chmod.0 etime.0 \
28	exit.0 fdate.0 flmin.0 flush.0 fork.0 fseek.0 getarg.0 getc.0 \
29	getcwd.0 getenv.0 getlog.0 getpid.0 getuid.0 getuid.0 hostnm.0 \
30	idate.0 index.0 intro.0 ioinit.0 kill.0 link.0 loc.0 long.0 \
31	malloc.0 perror.0 plot.0 putc.0 qsort.0 rand.0 random.0 rename.0 \
32	signal.0 sleep.0 stat.0 system.0 time.0 topen.0 traper.0 trapov.0 \
33	trpfpe.0 ttynam.0 unlink.0 wait.0
34LINKS=	and.0 lshift.0 not.0 or.0 rshift.0 xor.0 box.0 ctime.0 drand.0 \
35	fgetc.0 fputc.0 fstat.0 gmtime.0 irand.0 lstat.0 ltime.0 short.0 \
36	symlnk.0 dffrac.0 dflmax.0 dflmin.0 dtime.0 ffrac.0 flmax.0 \
37	fortran.0 ftell.0 inmax.0 itime.0 len.0 lnblnk.0 rindex.0 tclose.0 \
38	tread.0 trewin.0 tskipf.0 tstate.0 twrite.0 drandm.0 falloc.0 \
39	fpecnt.0 gerror.0 getgid.0 iargc.0 ierrno.0 irandm.0 isatty.0 \
40	besj0.0 besj1.0 besjn.0 besy0.0 besy1.0 besyn.0 dbesj0.0 dbesj1.0 \
41	dbesjn.0 dbesy0.0 dbesy1.0 dbesyn.0
42
43.SUFFIXES: .3 .0
44
45.3.0:
46	${DESTDIR}/usr/man/manroff $*.3 > $*.0
47
48all: ${OBJS}
49
50clean: FRC
51	rm -f ${OBJS}
52
53install: FRC
54	cd ${DESTDIR}${MDIR}; rm -f *.0
55	install -c -o bin -g bin -m 444 ${OBJS} ${DESTDIR}${MDIR}
56	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/and.0
57	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/lshift.0
58	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/not.0
59	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/or.0
60	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/rshift.0
61	ln ${DESTDIR}${MDIR}/bit.0 ${DESTDIR}${MDIR}/xor.0
62	ln ${DESTDIR}${MDIR}/plot.0 ${DESTDIR}${MDIR}/box.0
63	ln ${DESTDIR}${MDIR}/time.0 ${DESTDIR}${MDIR}/ctime.0
64	ln ${DESTDIR}${MDIR}/rand.0 ${DESTDIR}${MDIR}/drand.0
65	ln ${DESTDIR}${MDIR}/getc.0 ${DESTDIR}${MDIR}/fgetc.0
66	ln ${DESTDIR}${MDIR}/putc.0 ${DESTDIR}${MDIR}/fputc.0
67	ln ${DESTDIR}${MDIR}/stat.0 ${DESTDIR}${MDIR}/fstat.0
68	ln ${DESTDIR}${MDIR}/time.0 ${DESTDIR}${MDIR}/gmtime.0
69	ln ${DESTDIR}${MDIR}/rand.0 ${DESTDIR}${MDIR}/irand.0
70	ln ${DESTDIR}${MDIR}/stat.0 ${DESTDIR}${MDIR}/lstat.0
71	ln ${DESTDIR}${MDIR}/time.0 ${DESTDIR}${MDIR}/ltime.0
72	ln ${DESTDIR}${MDIR}/long.0 ${DESTDIR}${MDIR}/short.0
73	ln ${DESTDIR}${MDIR}/link.0 ${DESTDIR}${MDIR}/symlnk.0
74	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/dffrac.0
75	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/dflmax.0
76	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/dflmin.0
77	ln ${DESTDIR}${MDIR}/etime.0 ${DESTDIR}${MDIR}/dtime.0
78	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/ffrac.0
79	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/flmax.0
80	ln ${DESTDIR}${MDIR}/intro.0 ${DESTDIR}${MDIR}/fortran.0
81	ln ${DESTDIR}${MDIR}/fseek.0 ${DESTDIR}${MDIR}/ftell.0
82	ln ${DESTDIR}${MDIR}/flmin.0 ${DESTDIR}${MDIR}/inmax.0
83	ln ${DESTDIR}${MDIR}/idate.0 ${DESTDIR}${MDIR}/itime.0
84	ln ${DESTDIR}${MDIR}/index.0 ${DESTDIR}${MDIR}/len.0
85	ln ${DESTDIR}${MDIR}/index.0 ${DESTDIR}${MDIR}/lnblnk.0
86	ln ${DESTDIR}${MDIR}/index.0 ${DESTDIR}${MDIR}/rindex.0
87	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tclose.0
88	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tread.0
89	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/trewin.0
90	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tskipf.0
91	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/tstate.0
92	ln ${DESTDIR}${MDIR}/topen.0 ${DESTDIR}${MDIR}/twrite.0
93	ln ${DESTDIR}${MDIR}/random.0 ${DESTDIR}${MDIR}/drandm.0
94	ln ${DESTDIR}${MDIR}/malloc.0 ${DESTDIR}${MDIR}/falloc.0
95	ln ${DESTDIR}${MDIR}/trpfpe.0 ${DESTDIR}${MDIR}/fpecnt.0
96	ln ${DESTDIR}${MDIR}/perror.0 ${DESTDIR}${MDIR}/gerror.0
97	ln ${DESTDIR}${MDIR}/getuid.0 ${DESTDIR}${MDIR}/getgid.0
98	ln ${DESTDIR}${MDIR}/getarg.0 ${DESTDIR}${MDIR}/iargc.0
99	ln ${DESTDIR}${MDIR}/perror.0 ${DESTDIR}${MDIR}/ierrno.0
100	ln ${DESTDIR}${MDIR}/random.0 ${DESTDIR}${MDIR}/irandm.0
101	ln ${DESTDIR}${MDIR}/ttynam.0 ${DESTDIR}${MDIR}/isatty.0
102	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besj0.0
103	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besj1.0
104	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besjn.0
105	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besy0.0
106	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besy1.0
107	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/besyn.0
108	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesj0.0
109	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesj1.0
110	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesjn.0
111	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesy0.0
112	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesy1.0
113	ln ${DESTDIR}${MDIR}/bessel.0 ${DESTDIR}${MDIR}/dbesyn.0
114
115FRC:
116