Category : Databases and related files
Archive   : MF-DB102.ZIP
Filename : MAKEFILE
DLLNAME = MFCONV
DLLSRCS = $(DLLNAME).c
DLLOBJS = libentry.obj
##### C7 Macro #####
C7 = 1
##### Library Macro #####
DLLLIBS = libw ldllcew
DLLMOD = /ALw
##### Resource Macro #####
DLLRCFILES=
##### DEBUG Defined #####
DEBUG = 1
##### Build Option Macros #####
!if $(DEBUG)
DDEF = -DDEBUG
CLOPT = -Zid -Od
MOPT = -Zi
LOPT = /CO /LI /MAP
!else
DDEF =
CLOPT = -Ox
LOPT =
!endif
##### General Macros #####
DEF =
##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c $(APPMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
CC2 = cl -nologo -c $(DLLMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF) -K
HC = hc
##### Inference Rules #####
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*.asm;
.rc.res:
$(RC) -r $*.rc
##### Main (default) Target #####
goal: $(DLLNAME).lib
##### Dependents For Goal and Command Line #####
$(DLLNAME).obj: $(DLLNAME).c
$(CC2) $*.c
$(DLLNAME).dll: $(DLLSRCS:.c=.obj) $(DLLNAME).def
$(LINK) @<<
$(DLLSRCS:.c=.obj) $(DLLOBJS),
$(DLLNAME).dll,
$(DLLNAME).map,
$(DLLLIBS),
$(DLLNAME).def
<<
$(RC) -T $(DLLNAME).dll
!if $(DEBUG)
!if !$(C7)
cvpack -p $(DLLNAME).dll
!endif
mapsym $(DLLNAME).map
!endif
$(DLLNAME).lib: $(DLLNAME).dll
implib $(DLLNAME).lib $(DLLNAME).def
##### Dependents #####
$(DLLSRCS:.c=.obj): $(DLLINCLS)
##### Clean Directory #####
clean:
-del *.obj
-del *.res
-del *.exe
-del *.dll
-del *.lib
-del *.sym
-del *.map
##### Module Macro #####
DLLNAME = MFUDK
DLLSRCS = $(DLLNAME).c
DLLOBJS = libentry.obj
##### C7 Macro #####
C7 = 1
##### Library Macro #####
DLLLIBS = libw ldllcew
DLLMOD = /ALw
##### Resource Macro #####
DLLRCFILES=
##### DEBUG Defined #####
DEBUG = 1
##### Build Option Macros #####
!if $(DEBUG)
DDEF = -DDEBUG
CLOPT = -Zid -Od
MOPT = -Zi
LOPT = /CO /LI /MAP
!else
DDEF =
CLOPT = -Ox
LOPT =
!endif
##### General Macros #####
DEF =
##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c $(APPMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
CC2 = cl -nologo -c $(DLLMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF) -K
HC = hc
##### Inference Rules #####
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*.asm;
.rc.res:
$(RC) -r $*.rc
##### Main (default) Target #####
goal: $(DLLNAME).lib
##### Dependents For Goal and Command Line #####
$(DLLNAME).obj: $(DLLNAME).c
$(CC2) $*.c
$(DLLNAME).dll: $(DLLSRCS:.c=.obj) $(DLLNAME).def
$(LINK) @<<
$(DLLSRCS:.c=.obj) $(DLLOBJS),
$(DLLNAME).dll,
$(DLLNAME).map,
$(DLLLIBS),
$(DLLNAME).def
<<
$(RC) -T $(DLLNAME).dll
!if $(DEBUG)
!if !$(C7)
cvpack -p $(DLLNAME).dll
!endif
mapsym $(DLLNAME).map
!endif
$(DLLNAME).lib: $(DLLNAME).dll
implib $(DLLNAME).lib $(DLLNAME).def
##### Dependents #####
$(DLLSRCS:.c=.obj): $(DLLINCLS)
##### Clean Directory #####
clean:
-del *.obj
-del *.res
-del *.exe
-del *.dll
-del *.lib
-del *.sym
-del *.map
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/