Add FLAGDIR utility and clean DOS utility build files
Add a NetWare-style FLAGDIR implementation for directory attributes and register it in the multi-call DOS utility dispatcher. The new command supports the 386-style directory flags Normal, System, Hidden, DeleteInhibit, Purge and RenameInhibit, and formats output close to the Novell FLAGDIR tool for simple mapped paths. Update the DOS utilities install/build metadata so flagdir.exe is emitted alongside the other public tools. Adjust the Open Watcom CMake build to compile C sources into the build directory instead of leaving object files in the source tree. Move the historical Borland/TASM build files into doc/ to keep the active source directory focused on the modern Watcom/CMake build.
This commit is contained in:
40
doc/makefile.bcc
Normal file
40
doc/makefile.bcc
Normal file
@@ -0,0 +1,40 @@
|
||||
# makefile DOS BCC for simple NET Client for mars_nwe.
|
||||
# /****************************************************************
|
||||
# * (C)opyright (C) 1993,1996 Martin Stover, Marburg, Germany *
|
||||
# ****************************************************************/
|
||||
|
||||
O = .obj
|
||||
E = .exe
|
||||
A = .lib
|
||||
S = .asm
|
||||
C = .c
|
||||
|
||||
INCLUDE=$(BC4)\INCLUDE
|
||||
LIB=$(BC4)\LIB
|
||||
CC=bcc -ml -Dmsdos -I$(INCLUDE)
|
||||
LD=bcc -ml -L$(LIB)
|
||||
ASFLAGS= -la -mx
|
||||
AS = tasm
|
||||
AR = tlib
|
||||
RM = del
|
||||
|
||||
ASMODS= kern$(O)
|
||||
CCMODS= tools$(O) netcall$(O) ncpcall$(O) \
|
||||
login$(O) map$(O) slist$(O) nwcrypt$(O) \
|
||||
nwdebug$(O) nwtests$(O) capture$(O)
|
||||
|
||||
all: net$(E)
|
||||
|
||||
net$(E): net$(O) $(ASMODS) $(CCMODS)
|
||||
$(LD) net$(O) @&&|
|
||||
$(ASMODS)
|
||||
$(CCMODS)
|
||||
|
|
||||
|
||||
$(C)$(O):
|
||||
$(CC) -c $*$(C)
|
||||
|
||||
$(S)$(O):
|
||||
$(AS) $(ASFLAGS) $*$(S)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user