#
# MultiUser Release 1.7
#
# © Copyright 1993-1994 Geert Uytterhoeven
#
# Makefile for multiuser.library
#
# The supplied SCOPTIONS file uses a Master GST file containing all the
# standard include files. Change this to your needs.
#


CC =                 sc
LINK =               slink
CFLAGS =
AFLAGS =
LFLAGS =             VERBOSE SMALLCODE SMALLDATA
LIB =                LIB:sc.lib LIB:amiga.lib LIB:reqtools.lib LIB:debug.lib

.c.o:
                     $(CC) $(CFLAGS) $*.c

All:                 API multiuser.library

Bump:
                     BumpRev 39 multiuser.library

OBJS =               LibHeader.o Config.o GroupInfo.o Log.o Memory.o Misc.o Monitor.o Passwd.o \
                     Protection.o Segment.o Server.o StdLibFunc.o Task.o UserInfo.o

multiuser.library:   $(OBJS)
                     $(LINK) FROM $(OBJS) TO multiuser.library LIBRARY $(LIB) $(LFLAGS)

Config.o:            Config.c multiuser.h Config.h LibHeader.h Memory.h Misc.h
GroupInfo.o:         GroupInfo.c multiuser.h GroupInfo.h Memory.h Server.h
LibHeader.o:         LibHeader.c multiuser.h multiuser.library_rev.h Config.h GroupInfo.h LibHeader.h \
                     Log.h Misc.h Monitor.h Passwd.h Protection.h StdLibFunc.h Task.h UserInfo.h
Log.o:               Log.c multiuser.h Config.h LibHeader.h Log.h Misc.h Monitor.h Server.h Task.h \
                     UserInfo.h
Memory.o:            Memory.c Memory.h
Misc.o:              Misc.c multiuser.h Config.h LibHeader.h Memory.h Misc.h Monitor.h Protection.h \
                     Segment.h Server.h Task.h UserInfo.h
Monitor.o:           Monitor.c multiuser.h Config.h LibHeader.h Memory.h Monitor.h Task.h UserInfo.h
Passwd.o:            Passwd.c multiuser.h Misc.h Passwd.h Server.h
Protection.o:        Protection.c multiuser.h Config.h LibHeader.h Misc.h Protection.h Task.h
Segment.o:           Segment.c multiuser.h Config.h LibHeader.h Memory.h Misc.h Segment.h Task.h
Server.o:            Server.c multiuser.h Config.h GroupInfo.h LibHeader.h Memory.h Misc.h Monitor.h \
                     Server.h Task.h UserInfo.h
StdLibFunc.o:        StdLibFunc.c multiuser.h Config.h LibHeader.h Misc.h StdLibFunc.h
Task.o:              Task.c multiuser.h Config.h LibHeader.h Memory.h Misc.h Task.h
UserInfo.o:          UserInfo.c multiuser.h Memory.h Server.h UserInfo.h

API:                 INCLUDE:clib/multiuser_protos.h INCLUDE:libraries/multiuser.h \
                     INCLUDE:libraries/multiuser_lib.i INCLUDE:pragmas/multiuser.h \
                     INCLUDE:proto/multiuser.h AUTO:multiuser.doc FD:multiuser_lib.fd

INCLUDE:clib/multiuser_protos.h: multiuser_protos.h
                     Copy multiuser_protos.h INCLUDE:clib
INCLUDE:libraries/multiuser.h: multiuser.h
                     Copy multiuser.h INCLUDE:libraries
INCLUDE:libraries/multiuser_lib.i: multiuser_lib.i
                     Copy multiuser_lib.i INCLUDE:libraries
INCLUDE:pragmas/multiuser.h: multiuser_pragmas.h
                     Copy multiuser_pragmas.h INCLUDE:pragmas/multiuser.h
INCLUDE:proto/multiuser.h: proto_multiuser.h
                     Copy proto_multiuser.h INCLUDE:proto/multiuser.h
AUTO:multiuser.doc:  multiuser.doc
                     Copy multiuser.doc AUTO:
FD:multiuser_lib.fd: multiuser_lib.fd
                     Copy multiuser_lib.fd FD:
multiuser_pragmas.h: multiuser_lib.fd
                     fd2pragma multiuser_lib.fd multiuser_pragmas.h
multiuser_lib.i:     multiuser_lib.fd
                     convertfd multiuser multiuser
