|
|
1.1 ! root 1: # Nmake macros for building Windows 32-Bit apps ! 2: ! 3: !include <ntwin32.mak> ! 4: ! 5: all: porttool.exe port.dll ! 6: ! 7: # Update the object files if necessary ! 8: ! 9: porttool.obj : porttool.c porttool.h ! 10: $(cc) $(cflags) $(cvars) $(cdebug) porttool.c ! 11: ! 12: ptbkport.obj : ptbkport.c porttool.h ! 13: $(cc) $(cflags) $(cvars) $(cdebug) ptbkport.c ! 14: ! 15: ptdlgs.obj : ptdlgs.c porttool.h ! 16: $(cc) $(cflags) $(cvars) $(cdebug) ptdlgs.c ! 17: ! 18: ptfile.obj : ptfile.c porttool.h ! 19: $(cc) $(cflags) $(cvars) $(cdebug) ptfile.c ! 20: ! 21: ptprint.obj : ptprint.c porttool.h ! 22: $(cc) $(cflags) $(cvars) $(cdebug) ptprint.c ! 23: ! 24: ptfind.obj : ptfind.c porttool.h ! 25: $(cc) $(cflags) $(cvars) $(cdebug) ptfind.c ! 26: ! 27: port.obj: port.c port.h ! 28: $(cc) $(cflags) $(cvarsdll) $(cdebug) port.c ! 29: ! 30: # Update the resources if necessary ! 31: ! 32: porttool.res: porttool.rc porttool.h porttool.dlg porttool.ico portstat.ico ! 33: $(rc) $(rcvars) -r porttool.rc ! 34: ! 35: porttool.rbj: porttool.res ! 36: cvtres -$(CPU) porttool.res -o porttool.rbj ! 37: ! 38: port.res: port.rc port.h portpriv.h portstat.ico ! 39: $(rc) $(rcvars) -r port.rc ! 40: ! 41: port.rbj: port.res ! 42: cvtres -$(CPU) port.res -o port.rbj ! 43: ! 44: # Update the import library ! 45: ! 46: port.lib: port.obj port.def port.rbj ! 47: $(implib) -machine:$(CPU) \ ! 48: -def:port.def \ ! 49: port.obj \ ! 50: -out:port.lib ! 51: ! 52: porttool.exp: porttool.obj porttool.def ! 53: $(implib) -machine:$(CPU) \ ! 54: -def:porttool.def \ ! 55: porttool.obj ptdlgs.obj ptprint.obj ptfind.obj ptbkport.obj \ ! 56: -out:porttool.lib ! 57: ! 58: ! 59: # Update the dynamic link library ! 60: ! 61: port.dll: port.obj port.def port.lib ! 62: $(link) $(linkdebug) \ ! 63: -base:0x1C000000 \ ! 64: -dll \ ! 65: -entry:_DllMainCRTStartup$(DLLENTRY) \ ! 66: -out:port.dll \ ! 67: port.exp port.obj port.rbj $(guilibsdll) ! 68: ! 69: ! 70: # Update the executable file if necessary. ! 71: # If so, add the resource back in. ! 72: ! 73: porttool.exe: porttool.obj port.dll port.lib porttool.rbj porttool.def ptbkport.obj ptdlgs.obj ptfile.obj ptfind.obj ptprint.obj porttool.exp ! 74: $(link) $(linkdebug) $(guiflags) -out:porttool.exe porttool.obj port.lib porttool.rbj ptbkport.obj ptdlgs.obj ptfile.obj ptfind.obj ptprint.obj porttool.exp $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.