diff options
author | cc4b05f61e2d8f77114750386c9f9a60 <cc4b05f61e2d8f7@7114750386c9f9a60> | 2023-05-11 14:38:47 +0000 |
---|---|---|
committer | cc4b05f61e2d8f77114750386c9f9a60 <cc4b05f61e2d8f7@7114750386c9f9a60> | 2023-05-11 14:38:47 +0000 |
commit | f5450bfd35a6410528d124f534c2b1a958cafe51 (patch) | |
tree | a808b12d6ad5343fabdec7b8918df6b4d844e03f /src/Makefile.kernel | |
parent | 5ad2bb7a6ac7e97c031908d2439808a00fff6214 (diff) | |
download | dmsdosnow-f5450bfd35a6410528d124f534c2b1a958cafe51.tar.gz |
dmsdos-0.9.2.2 addeddmsdos-0.9.2.2
Diffstat (limited to 'src/Makefile.kernel')
-rw-r--r-- | src/Makefile.kernel | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/Makefile.kernel b/src/Makefile.kernel new file mode 100644 index 0000000..0134f1a --- /dev/null +++ b/src/Makefile.kernel @@ -0,0 +1,54 @@ +# +# Makefile for dmsdos support. +# +# Note! Dependencies are done automagically by 'make dep', which also +# removes any old dependencies. DON'T put your own dependencies here +# unless it's something special (ie not a .c file). +# +# Note 2! The CFLAGS definitions are now in the main makefile... + +ifeq ($(CONFIG_M386),y) +CPUFLAGS= -DUSE_ASM +endif +ifeq ($(CONFIG_M486),y) +CPUFLAGS= -DUSE_ASM +endif +ifeq ($(CONFIG_M586),y) +CPUFLAGS= -DUSE_ASM +endif +ifeq ($(CONFIG_M686),y) +CPUFLAGS= -DUSE_ASM +endif + +######################################################################## +# *** User Config Section *** +# Here you can look for settings to change if the code refuses to compile +# out of the box. There are so many different systems. So many versions +# of compilers. So many different bugs. :( +# +# If cpu specific optimization fails, uncomment the next line to switch it +# off - there are some gas versions around that don't like the cpu specific +# asm instructions in dmsdos... +# CPUFLAGS= +# +# Some gnu assembler versions have a bug in the syntax for the xlat +# instruction. This enables a workaround. It should only be needed for very +# old binutils versions. I don't know for which ones :( +# CPUFLAGS+= -DGAS_XLAT_BUG +# +# Okay, that's the end of the User Config Section. +########################################################################## + +CFLAGS+= $(CPUFLAGS) + +O_TARGET := dmsdos.o +O_OBJS := dblspace_compr.o dblspace_tables.o \ + dblspace_alloc.o dblspace_dec.o dblspace_virtual.o \ + dblspace_buffer.o dblspace_methsq.o \ + dblspace_chk.o dblspace_interface.o \ + dstacker_alloc.o dstacker_compr.o dstacker_dec.o \ + dblspace_fileops.o dblspace_ioctl.o +OX_OBJS := +M_OBJS := $(O_TARGET) + +include $(TOPDIR)/Rules.make |