mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 11:52:25 +00:00
Create unixfork.h to declare functions defined in unixfork.c
Update files that depend on unixfork functions to include unixfork.h Declare as static all functions in unixfork.c that are not needed externally. Add dependencies to makefile-tail. modified: makefile-tail new file: ../inc/unixfork.h modified: ../src/ldeboot.c modified: ../src/main.c modified: ../src/unixfork.c
This commit is contained in:
@@ -188,7 +188,7 @@ EXTFILES = $(OBJECTDIR)usrsubr.o
|
||||
default : $(OSARCHDIR)lde $(OSARCHDIR)$(LDENAME) $(OSARCHDIR)ldeether \
|
||||
$(OSARCHDIR)tstsout $(OSARCHDIR)setsout $(OSARCHDIR)keymaker
|
||||
|
||||
$(OSARCHDIR)lde: $(SRCDIR)ldeboot.c $(SRCDIR)unixfork.c
|
||||
$(OSARCHDIR)lde: $(SRCDIR)ldeboot.c $(SRCDIR)unixfork.c $(INCDIR)unixfork.h
|
||||
$(CC) $(CFLAGS) -I$(INCDIR) $(SRCDIR)ldeboot.c $(SRCDIR)unixfork.c \
|
||||
$(LDELDFLAGS) -o $(OSARCHDIR)lde
|
||||
|
||||
@@ -235,7 +235,7 @@ $(OBJECTDIR)main.o : $(SRCDIR)main.c $(REQUIRED-INCS) $(INCDIR)lispemul.h \
|
||||
$(INCDIR)emlglob.h $(INCDIR)address.h $(INCDIR)lsptypes.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lispmap.h $(INCDIR)ifpage.h $(INCDIR)iopage.h \
|
||||
$(INCDIR)return.h $(INCDIR)debug.h $(INCDIR)profile.h
|
||||
$(INCDIR)return.h $(INCDIR)debug.h $(INCDIR)profile.h $(INCDIR)unixfork.h
|
||||
$(CC) $(RFLAGS) $(SRCDIR)main.c $(INLINE) -o $(OBJECTDIR)main$(OEXT)
|
||||
|
||||
$(OBJECTDIR)dbgtool.o : $(SRCDIR)dbgtool.c $(REQUIRED-INCS) $(INCDIR)lispemul.h \
|
||||
@@ -1034,7 +1034,7 @@ release : $(INSDIR)$(LDENAME).o userfiles $(INSDIR)$(LDENAME) \
|
||||
|
||||
userfiles : $(INSDIR)usrsubr.c $(INSDIR)makefile $(INSDIR)ldeether.c
|
||||
|
||||
$(INSDIR)lde: $(SRCDIR)ldeboot.c $(SRCDIR)unixfork.c
|
||||
$(INSDIR)lde: $(SRCDIR)ldeboot.c $(SRCDIR)unixfork.c $(INCDIR)unixfork.h
|
||||
$(CC) $(CFLAGS) -I$(INCDIR) $(SRCDIR)ldeboot.c $(SRCDIR)unixfork.c \
|
||||
$(LDELDFLAGS) -o $(INSDIR)lde
|
||||
|
||||
|
||||
Reference in New Issue
Block a user