mirror of https://github.com/FDOS/kernel.git
Remove binaries and old makefile names
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@315 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
9e007d884e
commit
27e19b1af2
|
@ -1,72 +0,0 @@
|
|||
#
|
||||
# makefile for DOS-C boot
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# $Log$
|
||||
# Revision 1.4 2001/09/23 20:39:44 bartoldeman
|
||||
# FAT32 support, misc fixes, INT2F/AH=12 support, drive B: handling
|
||||
#
|
||||
# Revision 1.3 2000/05/25 20:56:19 jimtabor
|
||||
# Fixed project history
|
||||
#
|
||||
# Revision 1.2 2000/05/11 03:56:42 jimtabor
|
||||
# Clean up and Release
|
||||
#
|
||||
# Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
|
||||
# The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
|
||||
# MS-DOS. Distributed under the GNU GPL.
|
||||
#
|
||||
# Revision 1.3 1999/04/23 03:44:17 jprice
|
||||
# Ported to NASM by ror4. Improvements
|
||||
#
|
||||
# Revision 1.2 1999/04/01 07:23:20 jprice
|
||||
# New boot loader
|
||||
#
|
||||
# Revision 1.1.1.1 1999/03/29 15:39:39 jprice
|
||||
# New version without IPL.SYS
|
||||
#
|
||||
# Revision 1.3 1999/02/09 04:49:17 jprice
|
||||
# Make makefile use common config.mak file
|
||||
#
|
||||
# Revision 1.2 1999/01/21 05:03:58 jprice
|
||||
# Formating.
|
||||
#
|
||||
# Revision 1.1.1.1 1999/01/20 05:51:00 jprice
|
||||
# Imported sources
|
||||
#
|
||||
#
|
||||
# Rev 1.3 10 Jan 1997 4:51:54 patv
|
||||
#Changed to use FreeDOS exe2bin and support new boot code
|
||||
#
|
||||
# Rev 1.2 17 Dec 1996 12:52:32 patv
|
||||
#Converted to FreeDOS exe2bin.
|
||||
#
|
||||
# Rev 1.1 29 Aug 1996 13:06:50 patv
|
||||
#Bug fixes for v0.91b
|
||||
#
|
||||
# Rev 1.0 02 Jul 1995 9:11:26 patv
|
||||
#Initial revision.
|
||||
#
|
||||
|
||||
!include "..\config.mak"
|
||||
|
||||
production: b_fat12.bin b_fat16.bin b_fat32.bin
|
||||
|
||||
b_fat12.bin: boot.asm
|
||||
$(NASM) -dISFAT12 boot.asm -ob_fat12.bin
|
||||
|
||||
b_fat16.bin: boot.asm
|
||||
$(NASM) -dISFAT16 boot.asm -ob_fat16.bin
|
||||
|
||||
b_fat32.bin: boot32.asm
|
||||
$(NASM) boot32.asm -ob_fat32.bin
|
||||
|
||||
clobber: clean
|
||||
$(RM) b_fat12.bin b_fat16.bin b_fat32.bin status.me
|
||||
|
||||
clean:
|
||||
$(RM) *.lst *.map *.bak *.obj
|
||||
|
||||
|
|
@ -1,110 +0,0 @@
|
|||
#
|
||||
# makefile for device.lib
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# $Log$
|
||||
# Revision 1.3 2000/05/25 20:56:19 jimtabor
|
||||
# Fixed project history
|
||||
#
|
||||
# Revision 1.2 2000/05/11 03:56:20 jimtabor
|
||||
# Clean up and Release
|
||||
#
|
||||
# Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
|
||||
# The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
|
||||
# MS-DOS. Distributed under the GNU GPL.
|
||||
#
|
||||
# Revision 1.6 1999/08/25 03:16:36 jprice
|
||||
# ror4 patches to allow TC 2.01 compile.
|
||||
#
|
||||
# Revision 1.5 1999/08/10 17:21:08 jprice
|
||||
# ror4 2011-01 patch
|
||||
#
|
||||
# Revision 1.4 1999/04/23 03:44:52 jprice
|
||||
# Improved by jprice
|
||||
#
|
||||
# Revision 1.3 1999/04/13 15:47:07 jprice
|
||||
# no message
|
||||
#
|
||||
# Revision 1.2 1999/03/29 17:08:31 jprice
|
||||
# ror4 changes
|
||||
#
|
||||
# Revision 1.1.1.1 1999/03/29 15:40:23 jprice
|
||||
# New version without IPL.SYS
|
||||
#
|
||||
# Revision 1.3 1999/02/09 04:49:25 jprice
|
||||
# Make makefile use common config.mak file
|
||||
#
|
||||
# Revision 1.2 1999/01/22 04:16:39 jprice
|
||||
# Formating
|
||||
#
|
||||
# Revision 1.1.1.1 1999/01/20 05:51:00 jprice
|
||||
# Imported sources
|
||||
#
|
||||
#
|
||||
# Rev 1.2 29 Aug 1996 13:07:12 patv
|
||||
#Bug fixes for v0.91b
|
||||
#
|
||||
# Rev 1.1 19 Feb 1996 3:19:26 patv
|
||||
#Added NLS, int2f and config.sys processing
|
||||
#
|
||||
# Rev 1.0 02 Jul 1995 7:54:52 patv
|
||||
#Initial revision.
|
||||
#
|
||||
|
||||
!include "..\config.mak"
|
||||
|
||||
|
||||
# MICROSOFT C
|
||||
# -----------
|
||||
#MODEL = s
|
||||
#CFLAGS = /c /Gs /A$(MODEL)
|
||||
#AFLAGS = /Mx /Dmem$(MODEL)=1
|
||||
#TERM = ;
|
||||
|
||||
# BORLAND C
|
||||
# -----------
|
||||
MODEL = s
|
||||
CFLAGS = -c -m$(MODEL)
|
||||
AFLAGS = /Mx /Dmem$(MODEL)=1
|
||||
LIBFLAGS = /c
|
||||
TERM =
|
||||
|
||||
OBJS = devend.obj floppy.obj getvec.obj timer.obj rdpcclk.obj rdatclk.obj \
|
||||
wrpcclk.obj wratclk.obj
|
||||
|
||||
LIBOBJS= +devend +floppy +getvec +timer +rdpcclk +rdatclk +wrpcclk +wratclk
|
||||
|
||||
|
||||
|
||||
# Build the LIBRARY
|
||||
# -----------------
|
||||
all: production
|
||||
|
||||
production: ..\lib\device.lib
|
||||
|
||||
..\lib\device.lib: device.lib
|
||||
copy device.lib ..\lib
|
||||
|
||||
clobber: clean
|
||||
$(RM) device.lib status.me ..\lib\device.lib
|
||||
|
||||
clean:
|
||||
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst
|
||||
|
||||
device.lib : $(OBJS)
|
||||
del device.lib
|
||||
$(LIBUTIL) $(LIBFLAGS) device $(LIBOBJS) $(TERM)
|
||||
|
||||
|
||||
|
||||
# RULES (DEPENDENCIES)
|
||||
# ----------------
|
||||
.c.obj :
|
||||
$(CC) $(CFLAGS) $<
|
||||
|
||||
.asm.obj :
|
||||
$(NASM) -f obj $<
|
||||
|
||||
|
|
@ -1,536 +0,0 @@
|
|||
#
|
||||
# Makefile for Borland C++ 3.1 for kernel.sys
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# $Log$
|
||||
# Revision 1.13 2001/07/24 16:56:29 bartoldeman
|
||||
# fixes for FCBs, DJGPP ls, DBLBYTE, dyninit allocation (2024e).
|
||||
#
|
||||
# Revision 1.12 2001/07/22 01:58:58 bartoldeman
|
||||
# Support for Brian's FORMAT, DJGPP libc compilation, cleanups, MSCDEX
|
||||
#
|
||||
# Revision 1.11 2001/07/09 22:19:33 bartoldeman
|
||||
# LBA/FCB/FAT/SYS/Ctrl-C/ioctl fixes + memory savings
|
||||
#
|
||||
# Revision 1.10 2001/04/21 22:32:53 bartoldeman
|
||||
# Init DS=Init CS, fixed stack overflow problems and misc bugs.
|
||||
#
|
||||
# Revision 1.9 2001/04/16 14:28:32 bartoldeman
|
||||
# Kernel build 2024. Fixed critical error handler/config.sys/makefiles/UMBs
|
||||
#
|
||||
# Revision 1.8 2001/04/15 03:21:50 bartoldeman
|
||||
# See history.txt for the list of fixes.
|
||||
#
|
||||
# Revision 1.7 2001/03/25 17:11:54 bartoldeman
|
||||
# Fixed sys.com compilation. Updated to 2023. Also: see history.txt.
|
||||
#
|
||||
# Revision 1.6 2001/03/21 02:56:26 bartoldeman
|
||||
# See history.txt for changes. Bug fixes and HMA support are the main ones.
|
||||
#
|
||||
# Revision 1.4 2000/08/06 05:50:17 jimtabor
|
||||
# Add new files and update cvs with patches and changes
|
||||
#
|
||||
# Revision 1.3 2000/05/25 20:56:21 jimtabor
|
||||
# Fixed project history
|
||||
#
|
||||
# Revision 1.2 2000/05/08 04:30:00 jimtabor
|
||||
# Update CVS to 2020
|
||||
#
|
||||
# Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
|
||||
# The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
|
||||
# MS-DOS. Distributed under the GNU GPL.
|
||||
#
|
||||
# Revision 1.14 2000/03/31 05:40:09 jtabor
|
||||
# Added Eric W. Biederman Patches
|
||||
#
|
||||
# Revision 1.13 2000/03/17 22:59:04 kernel
|
||||
# Steffen Kaiser's NLS changes
|
||||
#
|
||||
# Revision 1.12 2000/03/09 06:07:11 kernel
|
||||
# 2017f updates by James Tabor
|
||||
#
|
||||
# Revision 1.11 1999/09/23 04:40:47 jprice
|
||||
# *** empty log message ***
|
||||
#
|
||||
# Revision 1.8 1999/09/13 20:41:41 jprice
|
||||
# Some clean up.
|
||||
#
|
||||
# Revision 1.7 1999/08/25 03:18:09 jprice
|
||||
# ror4 patches to allow TC 2.01 compile.
|
||||
#
|
||||
# Revision 1.6 1999/08/10 17:57:13 jprice
|
||||
# ror4 2011-02 patch
|
||||
#
|
||||
# Revision 1.5 1999/04/23 04:25:15 jprice
|
||||
# no message
|
||||
#
|
||||
# Revision 1.4 1999/04/23 03:45:11 jprice
|
||||
# Improved by jprice
|
||||
#
|
||||
# Revision 1.3 1999/04/16 12:21:22 jprice
|
||||
# Steffen c-break handler changes
|
||||
#
|
||||
# Revision 1.2 1999/04/13 15:48:21 jprice
|
||||
# no message
|
||||
#
|
||||
# Revision 1.1.1.1 1999/03/29 15:41:15 jprice
|
||||
# New version without IPL.SYS
|
||||
#
|
||||
# Revision 1.7 1999/03/01 06:04:37 jprice
|
||||
# Fixed so it'll work with config.mak
|
||||
#
|
||||
# Revision 1.6 1999/03/01 05:46:43 jprice
|
||||
# Turned off DEBUG define.
|
||||
#
|
||||
# Revision 1.5 1999/02/09 04:49:43 jprice
|
||||
# Make makefile use common config.mak file
|
||||
#
|
||||
# Revision 1.4 1999/02/08 05:55:57 jprice
|
||||
# Added Pat's 1937 kernel patches
|
||||
#
|
||||
# Revision 1.3 1999/02/04 03:09:59 jprice
|
||||
# Added option to share constants (-d).
|
||||
#
|
||||
# Revision 1.2 1999/01/22 04:13:26 jprice
|
||||
# Formating
|
||||
#
|
||||
# Revision 1.1.1.1 1999/01/20 05:51:01 jprice
|
||||
# Imported sources
|
||||
#
|
||||
#
|
||||
# Rev 1.8.1 10 Jan 1999 SRM
|
||||
#Took out "/P-" from TLINK
|
||||
#Changed "bcc" to "tcc"
|
||||
#
|
||||
# Rev 1.9 06 Dec 1998 8:45:40 patv
|
||||
#Added new files for I/O subsystem.
|
||||
#
|
||||
# Rev 1.8 22 Jan 1998 14:50:06 patv
|
||||
#Outdated stacks.asm.
|
||||
#
|
||||
# Rev 1.6 03 Jan 1998 8:36:50 patv
|
||||
#Converted data area to SDA format
|
||||
#
|
||||
# Rev 1.5 30 Jan 1997 7:55:54 patv
|
||||
#Added TSC flag for trace support.
|
||||
#
|
||||
# Rev 1.4 16 Jan 1997 12:46:42 patv
|
||||
#pre-Release 0.92 feature additions
|
||||
#
|
||||
# Rev 1.3 29 Aug 1996 13:07:34 patv
|
||||
#Bug fixes for v0.91b
|
||||
#
|
||||
# Rev 1.2 29 May 1996 21:03:32 patv
|
||||
#bug fixes for v0.91a
|
||||
#
|
||||
# Rev 1.1 19 Feb 1996 3:35:38 patv
|
||||
#Added NLS, int2f and config.sys processing
|
||||
#
|
||||
# Rev 1.0 02 Jul 1995 8:30:22 patv
|
||||
#Initial revision.
|
||||
#
|
||||
# $EndLog$
|
||||
#
|
||||
|
||||
!include "..\config.mak"
|
||||
|
||||
RELEASE = 1.00
|
||||
|
||||
# Compiler and Options for Borland C++
|
||||
# ------------------------------------
|
||||
#
|
||||
# -zAname ¦ ¦ Code class
|
||||
# -zBname ¦ ¦ BSS class
|
||||
# -zCname ¦ ¦ Code segment
|
||||
# -zDname ¦ ¦ BSS segment
|
||||
# -zEname ¦ ¦ Far segment
|
||||
# -zFname ¦ ¦ Far class
|
||||
# -zGname ¦ ¦ BSS group
|
||||
# -zHname ¦ ¦ Far group
|
||||
# -zPname ¦ ¦ Code group
|
||||
# -zRname ¦ ¦ Data segment
|
||||
# -zSname ¦ ¦ Data group
|
||||
# -zTname ¦ ¦ Data class
|
||||
# -zX ¦«¦ Use default name for "X"
|
||||
|
||||
#
|
||||
# Compiler and Options for Borland C++
|
||||
# ------------------------------------
|
||||
LIBPATH = .
|
||||
INCLUDEPATH = ..\HDR
|
||||
#AFLAGS = /Mx /DSTANDALONE=1 /I..\HDR
|
||||
NASMFLAGS = -i../hdr/
|
||||
LIBS =..\LIB\DEVICE.LIB ..\LIB\LIBM.LIB
|
||||
INITCFLAGS =$(ALLCFLAGS) -zAINIT -zCINIT_TEXT -zDIB -zRID -zTID -zPIGROUP -zBIB \
|
||||
-zGIGROUP -zSIGROUP
|
||||
CFLAGS =$(ALLCFLAGS) -zAHMA -zCHMA_TEXT
|
||||
HDR=../hdr/
|
||||
|
||||
# *Implicit Rules*
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
# Borland make 3.6 does not like this rule.
|
||||
#.c.asm:
|
||||
# $(CC) $(CFLAGS) -S $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
.asm.obj:
|
||||
$(NASM) $(NASMFLAGS) -f obj $<
|
||||
|
||||
# *List Macros*
|
||||
|
||||
|
||||
EXE_dependencies = \
|
||||
apisupt.obj \
|
||||
asmsupt.obj \
|
||||
blockio.obj \
|
||||
break.obj \
|
||||
chario.obj \
|
||||
config.obj \
|
||||
console.obj \
|
||||
dosidle.obj \
|
||||
dosfns.obj \
|
||||
dosnames.obj \
|
||||
dsk.obj \
|
||||
initdisk.obj \
|
||||
entry.obj \
|
||||
error.obj \
|
||||
execrh.obj \
|
||||
fatdir.obj \
|
||||
fatfs.obj \
|
||||
fattab.obj \
|
||||
fcbfns.obj \
|
||||
initoem.obj \
|
||||
int2f.obj \
|
||||
inthndlr.obj \
|
||||
io.obj \
|
||||
intr.obj \
|
||||
ioctl.obj \
|
||||
irqstack.obj \
|
||||
kernel.obj \
|
||||
main.obj \
|
||||
memmgr.obj \
|
||||
misc.obj \
|
||||
newstuff.obj \
|
||||
network.obj \
|
||||
nls.obj \
|
||||
nls_hc.obj \
|
||||
nlssupt.obj \
|
||||
prf.obj \
|
||||
initprf.obj \
|
||||
printer.obj \
|
||||
procsupt.obj \
|
||||
serial.obj \
|
||||
strings.obj \
|
||||
sysclk.obj \
|
||||
syspack.obj \
|
||||
systime.obj \
|
||||
task.obj \
|
||||
inithma.obj \
|
||||
DynData.obj \
|
||||
DynInit.obj
|
||||
|
||||
# *Explicit Rules*
|
||||
|
||||
production: ..\bin\kernel.sys
|
||||
|
||||
..\bin\kernel.sys: kernel.sys
|
||||
copy kernel.sys ..\bin
|
||||
|
||||
kernel.sys: kernel.exe
|
||||
..\utils\exeflat kernel.exe kernel.sys 0x60
|
||||
|
||||
clobber: clean
|
||||
$(RM) kernel.exe kernel.sys status.me
|
||||
|
||||
clean:
|
||||
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst
|
||||
|
||||
# XXX: This is a very ugly way of linking the kernel, forced upon us by the
|
||||
# inability of Turbo `make' 2.0 to perform command line redirection. -- ror4
|
||||
kernel.exe: $(EXE_dependencies) $(LIBS)
|
||||
$(RM) kernel.lib
|
||||
$(LIBUTIL) kernel +entry +io +blockio +chario +dosfns +console
|
||||
$(LIBUTIL) kernel +printer +serial +dsk +initdisk+error +fatdir +fatfs
|
||||
$(LIBUTIL) kernel +fattab +fcbfns +initoem +initHMA+inthndlr +ioctl +nls_hc
|
||||
$(LIBUTIL) kernel +main +config +memmgr +misc +newstuff +nls +intr
|
||||
$(LIBUTIL) kernel +dosnames +prf +initprf +strings +network +sysclk +syspack
|
||||
$(LIBUTIL) kernel +systime +task +int2f +irqstack +apisupt
|
||||
$(LIBUTIL) kernel +asmsupt +execrh +nlssupt +procsupt +break
|
||||
$(LIBUTIL) kernel +dosidle+dyndata+dyninit
|
||||
$(RM) kernel.bak
|
||||
$(LINK) /m/c/L$(LIBPATH) kernel,kernel,kernel,kernel+$(LIBS);
|
||||
$(RM) kernel.lib
|
||||
|
||||
# *Individual File Dependencies*
|
||||
kernel.obj: kernel.asm segs.inc
|
||||
|
||||
console.obj: console.asm io.inc
|
||||
|
||||
printer.obj: printer.asm io.inc
|
||||
|
||||
serial.obj: serial.asm io.inc
|
||||
|
||||
entry.obj: entry.asm segs.inc $(HDR)stacks.inc
|
||||
|
||||
apisupt.obj: apisupt.asm segs.inc
|
||||
|
||||
asmsupt.obj: asmsupt.asm segs.inc
|
||||
|
||||
execrh.obj: execrh.asm segs.inc
|
||||
|
||||
int2f.obj: int2f.asm segs.inc
|
||||
|
||||
intr.obj: intr.asm segs.inc intr.h
|
||||
|
||||
io.obj: io.asm segs.inc
|
||||
|
||||
irqstack.obj: irqstack.asm
|
||||
|
||||
nls_hc.obj: nls_hc.asm segs.inc
|
||||
|
||||
nlssupt.obj: nlssupt.asm segs.inc
|
||||
|
||||
procsupt.obj: procsupt.asm segs.inc $(HDR)stacks.inc
|
||||
|
||||
dosidle.obj: dosidle.asm segs.inc
|
||||
|
||||
# XXX: Special handling for initialization modules -- this is required because
|
||||
# TC 2.01 cannot handle `#pragma option' like TC 3 can. -- ror4
|
||||
config.obj: config.c init-mod.h $(HDR)portab.h globals.h \
|
||||
$(HDR)device.h $(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h \
|
||||
$(HDR)fat.h $(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h \
|
||||
$(HDR)sft.h $(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h \
|
||||
$(HDR)dirmatch.h $(HDR)file.h $(HDR)clock.h $(HDR)kbd.h \
|
||||
$(HDR)error.h $(HDR)version.h proto.h turboc.cfg dyndata.h
|
||||
$(CC) $(INITCFLAGS) -c config.c
|
||||
|
||||
initoem.obj: initoem.c init-mod.h $(HDR)portab.h globals.h \
|
||||
$(HDR)device.h $(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h \
|
||||
$(HDR)fat.h $(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h \
|
||||
$(HDR)sft.h $(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h \
|
||||
$(HDR)dirmatch.h $(HDR)file.h $(HDR)clock.h $(HDR)kbd.h \
|
||||
$(HDR)error.h $(HDR)version.h proto.h turboc.cfg dyndata.h
|
||||
$(CC) $(INITCFLAGS) -c initoem.c
|
||||
|
||||
main.obj: main.c init-mod.h $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg dyndata.h
|
||||
$(CC) $(INITCFLAGS) -c main.c
|
||||
|
||||
initHMA.obj: initHMA.c init-mod.h $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg dyndata.h
|
||||
$(CC) $(INITCFLAGS) -c initHMA.c
|
||||
|
||||
DynInit.obj: DynInit.c init-mod.h $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg dyndata.h
|
||||
$(CC) $(INITCFLAGS) -c DynInit.c
|
||||
|
||||
initdisk.obj: initdisk.c $(HDR)portab.h globals.h $(HDR)device.h $(HDR)mcb.h \
|
||||
$(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h $(HDR)fcb.h \
|
||||
$(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h $(HDR)cds.h \
|
||||
$(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h $(HDR)file.h \
|
||||
$(HDR)clock.h $(HDR)kbd.h $(HDR)error.h $(HDR)version.h proto.h \
|
||||
turboc.cfg dyndata.h
|
||||
$(CC) $(INITCFLAGS) -c initDISK.c
|
||||
|
||||
|
||||
# -zBname ¦ ¦ BSS class
|
||||
# -zDname ¦ ¦ BSS segment
|
||||
# -zEname ¦ ¦ Far segment
|
||||
# -zFname ¦ ¦ Far class
|
||||
# -zGname ¦ ¦ BSS group
|
||||
# -zHname ¦ ¦ Far group
|
||||
# -zRname ¦ ¦ Data segment
|
||||
# -zSname ¦ ¦ Data group
|
||||
# -zTname ¦ ¦ Data class
|
||||
|
||||
dynDATA.obj: dynDATA.c dynDATA.H
|
||||
$(CC) -c -zRDYN_DATA -zTDYN_DATA -zDDYN_DATA -zBDYN_DATA dynDATA.c
|
||||
|
||||
|
||||
#the printf for INIT_TEXT:
|
||||
initprf.obj: prf.c $(HDR)portab.h turboc.cfg
|
||||
$(CC) -DFORINIT $(INITCFLAGS) -oinitprf.obj -c prf.c
|
||||
|
||||
# XXX: I generated these using `gcc -MM' and `sed', so they may not be
|
||||
# completely correct... -- ror4
|
||||
blockio.obj: blockio.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
break.obj: break.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
chario.obj: chario.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
dosfns.obj: dosfns.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
dosnames.obj: dosnames.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
dsk.obj: dsk.c $(HDR)portab.h globals.h $(HDR)device.h $(HDR)mcb.h \
|
||||
$(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h $(HDR)fcb.h \
|
||||
$(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h $(HDR)cds.h \
|
||||
$(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h $(HDR)file.h \
|
||||
$(HDR)clock.h $(HDR)kbd.h $(HDR)error.h $(HDR)version.h proto.h \
|
||||
turboc.cfg
|
||||
|
||||
|
||||
error.obj: error.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
fatdir.obj: fatdir.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
fatfs.obj: fatfs.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
fattab.obj: fattab.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
fcbfns.obj: fcbfns.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
inthndlr.obj: inthndlr.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
ioctl.obj: ioctl.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
memmgr.obj: memmgr.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
misc.obj: misc.c $(HDR)portab.h globals.h $(HDR)device.h $(HDR)mcb.h \
|
||||
$(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h $(HDR)fcb.h \
|
||||
$(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h $(HDR)cds.h \
|
||||
$(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h $(HDR)file.h \
|
||||
$(HDR)clock.h $(HDR)kbd.h $(HDR)error.h $(HDR)version.h proto.h \
|
||||
turboc.cfg
|
||||
|
||||
newstuff.obj: newstuff.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
network.obj: network.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
nls.obj: nls.c $(HDR)portab.h globals.h $(HDR)device.h $(HDR)mcb.h \
|
||||
$(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h $(HDR)fcb.h \
|
||||
$(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h $(HDR)cds.h \
|
||||
$(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h $(HDR)file.h \
|
||||
$(HDR)clock.h $(HDR)kbd.h $(HDR)error.h $(HDR)version.h proto.h \
|
||||
turboc.cfg
|
||||
|
||||
# \
|
||||
# 001-437.nls
|
||||
|
||||
prf.obj: prf.c $(HDR)portab.h turboc.cfg
|
||||
|
||||
strings.obj: strings.c $(HDR)portab.h turboc.cfg
|
||||
|
||||
sysclk.obj: sysclk.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
syspack.obj: syspack.c $(HDR)portab.h globals.h $(HDR)device.h \
|
||||
$(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
systime.obj: systime.c $(HDR)portab.h $(HDR)time.h $(HDR)date.h \
|
||||
globals.h $(HDR)device.h $(HDR)mcb.h $(HDR)pcb.h $(HDR)fat.h \
|
||||
$(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \
|
||||
$(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \
|
||||
$(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \
|
||||
$(HDR)version.h proto.h turboc.cfg
|
||||
|
||||
task.obj: task.c $(HDR)portab.h globals.h $(HDR)device.h $(HDR)mcb.h \
|
||||
$(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h $(HDR)fcb.h \
|
||||
$(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h $(HDR)cds.h \
|
||||
$(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h $(HDR)file.h \
|
||||
$(HDR)clock.h $(HDR)kbd.h $(HDR)error.h $(HDR)version.h proto.h \
|
||||
turboc.cfg
|
||||
|
||||
|
53
lib/libm.mak
53
lib/libm.mak
|
@ -1,53 +0,0 @@
|
|||
#
|
||||
# makefile for libm.lib
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# $Log$
|
||||
# Revision 1.5 2001/06/03 14:16:18 bartoldeman
|
||||
# BUFFERS tuning and misc bug fixes/cleanups (2024c).
|
||||
#
|
||||
# Revision 1.4 2001/03/19 04:50:56 bartoldeman
|
||||
# See history.txt for overview: put kernel 2022beo1 into CVS
|
||||
#
|
||||
# Revision 1.4 2001/03/08 21:15:00 bartoldeman
|
||||
# Fix from Martin Stromberg to make this fully configurable from config.mak
|
||||
#
|
||||
# Revision 1.3 2000/05/25 20:56:22 jimtabor
|
||||
# Fixed project history
|
||||
#
|
||||
# Revision 1.2 2000/05/11 03:57:10 jimtabor
|
||||
# Clean up and Release
|
||||
#
|
||||
# Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
|
||||
# The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
|
||||
# MS-DOS. Distributed under the GNU GPL.
|
||||
#
|
||||
# Revision 1.6 1999/09/14 17:32:20 jprice
|
||||
# no message
|
||||
#
|
||||
# Revision 1.5 1999/09/13 20:13:15 jprice
|
||||
# Added !if so we can use TC2 or TC3 to compile.
|
||||
#
|
||||
# Revision 1.4 1999/08/25 03:19:22 jprice
|
||||
# ror4 patches to allow TC 2.01 compile.
|
||||
#
|
||||
# Revision 1.3 1999/04/23 03:45:18 jprice
|
||||
# Improved by jprice
|
||||
#
|
||||
|
||||
!include "..\config.mak"
|
||||
|
||||
|
||||
libm.lib: $(CLIB) ..\config.mak
|
||||
$(LIBUTIL) $(CLIB) $(MATH_EXTRACT)
|
||||
$(LIBUTIL) libm $(MATH_INSERT)
|
||||
$(RM) *.OBJ
|
||||
|
||||
|
||||
clobber: clean
|
||||
$(RM) libm.lib status.me
|
||||
|
||||
clean:
|
||||
$(RM) *.obj *.bak
|
|
@ -1,61 +0,0 @@
|
|||
#
|
||||
# makefile for bin2c.com
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.3 2000/05/25 20:56:23 jimtabor
|
||||
# Fixed project history
|
||||
#
|
||||
# Revision 1.2 2000/05/15 05:28:09 jimtabor
|
||||
# Cleanup CRs
|
||||
#
|
||||
# Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
|
||||
# The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
|
||||
# MS-DOS. Distributed under the GNU GPL.
|
||||
#
|
||||
# Revision 1.6 1999/09/20 18:34:40 jprice
|
||||
# *** empty log message ***
|
||||
#
|
||||
# Revision 1.5 1999/08/25 03:19:51 jprice
|
||||
# ror4 patches to allow TC 2.01 compile.
|
||||
#
|
||||
# Revision 1.4 1999/05/03 05:01:38 jprice
|
||||
# no message
|
||||
#
|
||||
# Revision 1.3 1999/04/23 03:45:33 jprice
|
||||
# Improved by jprice
|
||||
#
|
||||
|
||||
!include "..\config.mak"
|
||||
|
||||
CFLAGS = -mt -1- -v -vi- -k- -f- -ff- -O -Z -d -I$(INCLUDEPATH) -L$(LIBPATH)
|
||||
|
||||
# *Implicit Rules*
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
# *List Macros*
|
||||
|
||||
EXE_dependencies = \
|
||||
bin2c.obj
|
||||
|
||||
# *Explicit Rules*
|
||||
production: bin2c.com
|
||||
|
||||
bin2c.com: $(EXE_dependencies)
|
||||
$(LINK) /m/t/c $(LIBPATH)\c0t.obj+bin2c.obj,bin2c,,\
|
||||
$(LIBS)+$(CLIB);
|
||||
|
||||
|
||||
clobber: clean
|
||||
$(RM) bin2c.com
|
||||
|
||||
clean:
|
||||
..\utils\rm -f *.obj *.bak *.crf *.xrf *.map *.lst *.las status.me
|
||||
|
||||
# *Individual File Dependencies*
|
||||
bin2c.obj: bin2c.c
|
108
sys/sys.mak
108
sys/sys.mak
|
@ -1,108 +0,0 @@
|
|||
#
|
||||
# makefile for sys.com
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.9 2001/09/23 20:39:44 bartoldeman
|
||||
# FAT32 support, misc fixes, INT2F/AH=12 support, drive B: handling
|
||||
#
|
||||
# Revision 1.8 2001/04/29 17:34:41 bartoldeman
|
||||
# A new SYS.COM/config.sys single stepping/console output/misc fixes.
|
||||
#
|
||||
# Revision 1.7 2001/04/15 03:21:50 bartoldeman
|
||||
# See history.txt for the list of fixes.
|
||||
#
|
||||
# Revision 1.6 2001/03/25 04:33:56 bartoldeman
|
||||
# Fix compilation of sys.com. Now a proper .com file once again.
|
||||
#
|
||||
# Revision 1.5 2001/03/22 04:18:09 bartoldeman
|
||||
# Compilation command shortened.
|
||||
#
|
||||
# Revision 1.4 2001/03/21 02:56:26 bartoldeman
|
||||
# See history.txt for changes. Bug fixes and HMA support are the main ones.
|
||||
#
|
||||
# Revision 1.3 2000/05/25 20:56:23 jimtabor
|
||||
# Fixed project history
|
||||
#
|
||||
# Revision 1.2 2000/05/15 05:28:09 jimtabor
|
||||
# Cleanup CRs
|
||||
#
|
||||
# Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
|
||||
# The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
|
||||
# MS-DOS. Distributed under the GNU GPL.
|
||||
#
|
||||
# Revision 1.10 1999/09/23 04:41:43 jprice
|
||||
# *** empty log message ***
|
||||
#
|
||||
# Revision 1.9 1999/09/14 17:30:44 jprice
|
||||
# Added debug log creation to sys.com.
|
||||
#
|
||||
# Revision 1.8 1999/08/25 03:19:51 jprice
|
||||
# ror4 patches to allow TC 2.01 compile.
|
||||
#
|
||||
# Revision 1.7 1999/05/03 05:01:54 jprice
|
||||
# no message
|
||||
#
|
||||
# Revision 1.6 1999/04/23 03:45:33 jprice
|
||||
# Improved by jprice
|
||||
#
|
||||
|
||||
|
||||
!include "..\config.mak"
|
||||
|
||||
CFLAGS = -mt -1- -v -vi- -k- -f- -ff- -O -Z -d -I$(INCLUDEPATH);..\hdr \
|
||||
-DI86;PROTO;FORSYS;WITHFAT32
|
||||
|
||||
# *Implicit Rules*
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
# *List Macros*
|
||||
|
||||
|
||||
EXE_dependencies = \
|
||||
sys.obj \
|
||||
prf.obj
|
||||
|
||||
# *Explicit Rules*
|
||||
production: ..\bin\sys.com
|
||||
|
||||
..\bin\sys.com: sys.com
|
||||
copy sys.com ..\bin
|
||||
|
||||
b_fat12.h: ..\boot\b_fat12.bin bin2c.com
|
||||
bin2c ..\boot\b_fat12.bin b_fat12.h b_fat12
|
||||
|
||||
b_fat16.h: ..\boot\b_fat16.bin bin2c.com
|
||||
bin2c ..\boot\b_fat16.bin b_fat16.h b_fat16
|
||||
|
||||
b_fat32.h: ..\boot\b_fat32.bin bin2c.com
|
||||
bin2c ..\boot\b_fat32.bin b_fat32.h b_fat32
|
||||
|
||||
#floppy.obj: ..\drivers\floppy.asm
|
||||
# $(NASM) -fobj -DSYS=1 ..\drivers\floppy.asm -o floppy.obj
|
||||
|
||||
prf.obj: ..\kernel\prf.c
|
||||
$(CC) $(CFLAGS) -c ..\kernel\prf.c
|
||||
|
||||
sys.com: $(EXE_dependencies)
|
||||
$(LINK) /m/t/c $(LIBPATH)\c0t.obj+$(EXE_dependencies),sys,,\
|
||||
$(CLIB);
|
||||
|
||||
clobber: clean
|
||||
$(RM) sys.com b_fat12.h b_fat16.h b_fat32.h
|
||||
|
||||
clean:
|
||||
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las status.me
|
||||
|
||||
# *Individual File Dependencies*
|
||||
sys.obj: sys.c ..\hdr\portab.h ..\hdr\device.h b_fat12.h b_fat16.h b_fat32.h
|
||||
|
||||
# RULES (DEPENDENCIES)
|
||||
# ----------------
|
||||
.asm.obj :
|
||||
$(NASM) -f obj -DSYS=1 $<
|
Loading…
Reference in New Issue