# by Julian Stacey # Include file for ournix commands makefiles - for msdos host ARGV_OBJ = \boot\lib\ssetargv.obj BIN_MODE = \boot\lib\binmode.obj CC = \boot\bin\cl GCC = \boot\bin\cl CFLAGS = -c # -c because minix make has been buggered to allow for intel c compiler ic86 CHGRP = @echo Msdos does not support the concept of chgrp. CHMOD = @echo Not doing \usr\bin\chmod 555 $* DV_ROOT = \tmp\$(UNDEFINED) # UNDEFINED above is a cludge to avoid minix make seeing a backslash as line cont char. EXE = .exe EXEMOD = exemod FLAGS = -Dournix -DVSL -Os -W1 #FLAGS doesnt need -DMSDOS as MSC compiler does this # -Os = optimise for size # -W1 means produce 1/3 of all possible warnings. # -W3 means produce 3/3 of all possible warnings. INC_LOCAL = ../include INST_CMD = copy INST_DIR = #INST_DIR = .\ also acceptable # tell $(CC) where to look before looking where LIB env variable says # note there should be a space at the end of the next LN_DIR definition line LARGE_MODEL = -AL LN_DIR = -link \boot\lib\ LIBC_SMALL = \boot\lib\slibc.lib LIBC_LARGE = \boot\lib\llibc.lib LIB_BASENAME = ..\lib\basename LIB_HOSTNAME = ..\lib\hostname LIB_GETPWNAM = ..\lib\getpwnam LIB_DIRECT = ..\lib\direct LIB_REPLACE = ..\lib\replace MAKE = \usr\bin\make -c\ -f ../include/make/system_5 -f ../make/include/msdos NULL = nul: OBJ = obj OUT_TARGET = -o $(INST_DIR)$(STAR_FILE) PACK_STRIP = exepack $@ $(DV_ROOT)$(STAR_FILE).exe PACK_BACK = copy $(DV_ROOT)$(STAR_FILE).exe $@ > nul: PACK_RM = del $(DV_ROOT)$(STAR_FILE).exe REPLACE = @echo Not yet doing \usr\bin\replace -s $@ EXPIRE = @echo Not yet doing \usr\bin\expire -s0 $@ RM = \usr\bin\rm VSL_LIB = ..\lib\vsl VSL_LIB_BIG = ..\lib\vsl_big VSL_COMPS = $(INC_LOCAL)/vsl.h $(VSL_LIB).$(OBJ) # cl.exe and old unixes wont implement this : OUT_OBJ = -o $(DV_OBJ) MATH_LIB = # MATH_LIB not necessary, cl.exe automatically finds slibfp.lib #this comes in probably from minix make, but I dont want it so I save env space AS= PROMPT=MAKE.BAT: TERM= EXINIT= XPATH= XLIB=