|
|
1.1.1.2 ! root 1: # ------------------------------------------------------------------------- 1.1 root 2: # 1.1.1.2 ! root 3: # Microsoft Developer Support ! 4: # Copyright (c) 1992 Microsoft Corporation 1.1 root 5: # 1.1.1.2 ! root 6: # ------------------------------------------------------------------------- ! 7: # MODULE : MakeFile ! 8: # PURPOSE : Nmake macros for building the Windows 32-Bit Debug Event ! 9: # Browser Application ! 10: # ------------------------------------------------------------------------- 1.1 root 11: !include <ntwin32.mak> 12: 13: # macro defines 14: PROJ=DEB 15: DLL=ToolBar 16: OBJ1=DEBMain 17: OBJ2=DEBDebug 18: OBJ3=DEBMisc 19: OBJ4=LinkList 20: OBJS=$(OBJ1).obj $(OBJ2).obj $(OBJ3).obj $(OBJ4).obj 21: 22: all: $(PROJ).exe $(DLL).dll $(PROJ).hlp 23: 24: # Update the online help file if necessary. 25: $(PROJ).hlp: $(PROJ).hpj $(PROJ).rtf 26: @if exist $(PROJ).PH del $(PROJ).PH 1.1.1.2 ! root 27: hc $(PROJ).hpj 1.1 root 28: 29: # Update the object files if necessary 1.1.1.2 ! root 30: $(OBJ1).obj: $(OBJ1).c $(OBJ1).h $(OBJ4).h $(PROJ).h ! 31: $(cc) $(cdebug) $(cflags) $(cvarsmt) $(OBJ1).c 1.1 root 32: 33: $(OBJ2).obj: $(OBJ2).c $(OBJ2).h $(OBJ1).h $(PROJ).h 1.1.1.2 ! root 34: $(cc) $(cdebug) $(cflags) $(cvarsmt) $(OBJ2).c 1.1 root 35: 1.1.1.2 ! root 36: $(OBJ3).obj: $(OBJ3).c $(OBJ3).h $(OBJ1).h $(DLL).h $(PROJ).h ! 37: $(cc) $(cdebug) $(cflags) $(cvarsmt) $(OBJ3).c 1.1 root 38: 39: $(OBJ4).obj: $(OBJ4).c $(OBJ4).h 1.1.1.2 ! root 40: $(cc) $(cdebug) $(cflags) $(cvarsmt) $(OBJ4).c 1.1 root 41: 42: $(DLL).obj: $(DLL).c $(DLL).h 1.1.1.2 ! root 43: $(cc) $(cdebug) $(cflags) $(cvarsmtdll) $(DLL).c 1.1 root 44: 45: # Update the resource if necessary 46: $(PROJ).res: $(PROJ).rc $(PROJ).dlg $(PROJ).h 47: rc -r -fo $(PROJ).res $(PROJ).rc 1.1.1.2 ! root 48: cvtres -$(CPU) $(PROJ).res -o $(PROJ).rbj 1.1 root 49: 50: # Update the import library 51: $(DLL).lib: $(DLL).obj $(DLL).def 52: lib -machine:$(CPU) \ 53: -def:$(DLL).def \ 54: -out:$(DLL).lib 55: 56: # Update the dynamic link library 57: $(DLL).dll: $(DLL).obj $(DLL).def 1.1.1.2 ! root 58: $(link) $(linkdebug) \ ! 59: -base:0x1C000000 \ ! 60: -dll \ ! 61: -entry:DllEntryPoint$(DLLENTRY) \ ! 62: -out:$(DLL).dll \ ! 63: $(DLL).exp $(DLL).obj $(guilibsdll) 1.1 root 64: 1.1.1.2 ! root 65: # Update the Executable file if necessary. 1.1 root 66: # If so, add the resource back in. 67: $(PROJ).exe: $(OBJS) $(PROJ).res $(PROJ).def $(DLL).lib 68: $(cvtobj) $(cvtdebug) *.obj 1.1.1.2 ! root 69: $(link) $(linkdebug) $(guiflags) \ ! 70: -out:$(PROJ).exe \ ! 71: $(OBJS) $(DLL).lib $(PROJ).rbj \ ! 72: $(guilibsmt)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.