Skip to content

Commit

Permalink
Add missing GNUMakefiles for various folders
Browse files Browse the repository at this point in the history
Add missing cfinish2.a
  • Loading branch information
Boisy Pitre committed Oct 9, 2024
1 parent e7f9a70 commit 7a1edaa
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Source/Libs/KLibc/fmath/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
include ../cmoc.make

OFILES = cfloats.o

cfloats.l: $(OFILES)
lwar -c $@ $^

clean:
-rm *.l *.o *.list *.map
11 changes: 11 additions & 0 deletions Source/Libs/KLibc/imath/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include ../cmoc.make

OFILES = abs.o minmax.o uminmax.o clmul.o cldiv.o cludiv.o claddsub.o clcompare.o \
clbits.o clnegcompl.o clconvert.o clmove.o clincdec.o clshifts.o \
clcommon.o ccmult.o ccmod.o ccdiv.o cshifts.o rpterr.o

math.l: $(OFILES)
lwar -c $@ $^

clean:
-rm *.l *.o *.list *.map
22 changes: 22 additions & 0 deletions Source/Libs/KLibc/sys.a/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
include ../cmoc.make

OFILES = abort.o signal.o chown.o chmod.o stat.o access.o create.o \
open.o read.o write.o lseek.o misc.o mod.o dir.o brk.o ibrk.o sbrk.o mem.o \
time.o process.o id.o intercept.o syscall.o syscommon.o \
profdummy.o tidyup.o cfinish.o cfinish2.o

syslib.l: $(OFILES)
lwar -c $@ $^

#cstart.o: cstart.a
# $(LWLINK) -o=rels/cstart.o cstart.a
# copy -rw=/DD/Lib rels/cstart.o

#root.o: root.a
# $(LWLINK) -o=rels/root.o root.a
# copy -rw=/DD/Lib rels/root.o

clean:
-rm *.l *.o *.list *.map

$(OFILES): GNUmakefile $(DCCMOC) $(RMA2LW)
7 changes: 7 additions & 0 deletions Source/Libs/KLibc/sys.a/cfinish2.a
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
psect cfinish2_a,0,0,1,0,0
* abnormal exit - no buffer flushing
* the argument to either exit entry is taken to be the
* F$EXIT status
_exit: ldd 2,s get the exit status
os9 F$Exit and bye-bye!
endsect
11 changes: 11 additions & 0 deletions Source/Libs/KLibc/tmath/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include ../cmoc.make

OFILES = trig.o hyp.o log.o trnser.o dsqrt.o dinc.o \
dtype.o dmul.o ddiv.o daddsub.o dser.o dcmpr.o

trans.l: $(OFILES)
lwar -c $@ $^

clean:
-rm temp* trans.l $(OFILES) *.list *.map

0 comments on commit 7a1edaa

Please sign in to comment.