--- mstools/mssetup/bldcui/makefile 2018/08/09 18:22:54 1.1.1.1 +++ mstools/mssetup/bldcui/makefile 2018/08/09 18:25:13 1.1.1.2 @@ -1,29 +1,39 @@ +!include + all: mscuistf.dll !if "$(DEBUG)" == "yes" -CC = cl -c -nologo -AMw -Gw -Zpei -W3 -Od -DDEBUG +cflags = $(cflags) $(cdebug) $(cvarsdll) -nologo -DDEBUG +lflags = $(ldebug) !else -CC = cl -c -nologo -AMw -Gsw2 -Ocegiltw -Zpe -W3 +cflags = $(cflags) $(cvarsdll) -nologo +lflags = !endif -dialogs.res: dialogs.rc dialogs.dlg bldver.h - rc -r dialogs.rc +dialogs.rbj: dialogs.rc dialogs.dlg bldver.h + $(rc) $(rcvars) -r -fo dialogs.res dialogs.rc + cvtres -$(CPU) dialogs.res -o dialogs.rbj dlgprocs.obj: cui.h dlgprocs.c - $(CC) dlgprocs.c + $(cc) $(cflags) dlgprocs.c -mscuistf.dll: mscuistf.def mscomstf.lib msuilstf.lib msshlstf.lib \ - dlgprocs.obj dialogs.res -!if "$(DEBUG)" == "yes" - link @cuistfd.lnk -!else - link @cuistf.lnk -!endif - copy mscuistf.dll mscuistf.nrc - rc -30 dialogs.res mscuistf.dll +mscuistf.exp: mscuistf.def + $(implib) -machine:$(CPU) \ + -def:mscuistf.def \ + -out:mscuistf.lib \ + dlgprocs.obj + +mscuistf.dll: ..\lib\mscomstf.lib ..\lib\msuilstf.lib ..\lib\msshlstf.lib \ + dlgprocs.obj dialogs.rbj mscuistf.exp + $(link) $(lflags) \ + -dll \ + -entry:_CRT_INIT$(DLLENTRY) \ + -out:mscuistf.dll \ + dlgprocs.obj dialogs.rbj mscuistf.exp mscomstf.lib \ + msuilstf.lib msshlstf.lib $(crtdll) $(guilibsdll) clean: