|
|
1.1 root 1: # @(#)Makefile 4.4 (Berkeley) 10/13/82
2:
3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
4:
5: CFLAGS= -O -I.
6:
7: OBJS= closedir.o opendir.o readdir.o seekdir.o telldir.o
8:
9: .c.o:
10: ${CC} ${CFLAGS} -c $*.c
11: -${LD} -x -r $*.o
12: mv a.out $*.o
13:
14: libndir: ${OBJS}
15: ar cru libndir ${OBJS}
16: ranlib libndir
17:
18: install: libndir
19: cp dir.h ${DESTDIR}/usr/include/dir.h
20: cp libndir ${DESTDIR}/usr/lib/libndir.a
21: ranlib ${DESTDIR}/usr/lib/libndir.a
22: cp directory.3s /usr/man/man3/directory.3s
23:
24: clean:
25: rm -f libndir ${OBJS}
26:
27: cleansrc:
28:
29: rm -f *.[ch] *.3s Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.