home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-03 | 1.9 KB | 84 lines |
- # $Id: Makefile,v 1.3 1993/12/02 22:56:28 Rhialto Exp $
- #
- # Makefile for network file system handler, for use with the
- # DICE C compiler.
- #
- # This code is (C) Copyright 1993 by Olaf Seibert. All rights reserved.
- # May not be used or copied without a licence.
-
- # DBOBJ = User:msh/syslog/syslogi.o
- #DB = -d1 # -DDEBUG -IUser:msh/syslog
- #WACK = -d1 -s
- REGARGS = -mRR -mi
- PURE = -r -mS
- HDR = -Hnetfs.sym=netfs.h
-
- HOBJ = hancrtso.o pack.o support.o netfs.o netio.o netio1.o \
- $(DBOBJ)
- HSRC = hancrtso.a pack.c support.c netfs.c netio.c netio1.c \
- dos.h netfs.h
- SOBJ = server.o netio.o netio2.o $(DBOBJ)
- SSRC = server.c netio2.c
- XSRC = Makefile parnfs.texi
-
- .SUFFIXES: .a
-
- # Options:
- .c.o:
- dcc -c -proto $(REGARGS) $(PURE) $(DB) $(HDR) $*.c -o $@
-
- .a.o:
- a68k -q $*.a -o$@
-
- all: precompile NetworkFileSystem NetworkFileServer parnfs.guide
-
- clean:
- delete *.o netfs.sym proto.h
-
- NetworkFileSystem: proto.h $(HOBJ)
- dcc -o $@ -l0 $(REGARGS) $(PURE) $(WACK) $(HOBJ) -lc -lamiga20
-
- NetworkFileServer: proto.h $(SOBJ)
- dcc -o $@ $(REGARGS) $(PURE) $(WACK) $(SOBJ)
-
- hancrtso.o: hancrtso.a
- dcc -c -o hancrtso.o hancrtso.a
-
- proto.h: $(HSRC) $(SSRC)
- -delete proto.h netfs.sym
- makeproto -o proto.h $(HSRC) $(SSRC)
-
- parnfs.guide: parnfs.texi
- -makeinfo --amiga parnfs.texi
-
- # Dependencies for precompiled header files
- netfs.sym: netfs.h
- -delete netfs.sym
-
- precompile: netfs.sym
-
-
- ci:
- RCS:ci -u $(RCSOPT) $(HSRC) $(XSRC)
-
- co:
- RCS:co -l $(RCSOPT) $(HSRC) $(XSRC)
-
- depend:
- mkd -f $(HSRC) $(XSRC)
-
- # DO NOT DELETE THIS LINE - important for making dependencies!
- #|.c|$*.o|
- #|.a|$*.o|
- #|.h|
- # From this line on, everything has been created by MakeDepend.
- # Anything you add yourself will be deleted automagically.
-
- parnfs.texi:
- netio1.o: devices/parnet.h proto.h dos.h netfs.h netio1.c
- netio.o: devices/parnet.h proto.h dos.h netfs.h netio.c
- netfs.o: proto.h dos.h netfs.h netfs.c
- support.o: proto.h dos.h netfs.h support.c
- pack.o: proto.h dos.h netfs.h pack.c
- hancrtso.o: hancrtso.a
-