Annotation of mstools/samples/porttool/makefile, revision 1.1

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 -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 -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:     $(cvtobj) $(cvtdebug) port.obj
        !            48:     lib -machine:$(CPU)     \
        !            49:     -def:port.def          \
        !            50:     port.obj    \
        !            51:     -out:port.lib
        !            52: 
        !            53: porttool.exp: porttool.obj porttool.def 
        !            54:     $(cvtobj) $(cvtdebug) porttool.obj
        !            55:     $(cvtobj) $(cvtdebug) ptprint.obj
        !            56:     $(cvtobj) $(cvtdebug) ptdlgs.obj
        !            57:     lib -machine:$(CPU)     \
        !            58:     -def:porttool.def      \
        !            59:     porttool.obj ptdlgs.obj ptprint.obj    \
        !            60:     -out:porttool.lib
        !            61: 
        !            62: 
        !            63: # Update the dynamic link library
        !            64: 
        !            65: port.dll: port.obj port.def port.lib
        !            66:     $(link) $(linkdebug)     \
        !            67:     -base:0x1C000000  \
        !            68:     -dll             \
        !            69:     -entry:DLLEntry$(DLLENTRY)    \
        !            70:     -out:port.dll   \
        !            71:     port.exp port.obj port.rbj $(guilibsdll)
        !            72: 
        !            73: 
        !            74: # Update the executable file if necessary.
        !            75: # If so, add the resource back in.
        !            76: 
        !            77: porttool.exe: porttool.obj port.dll port.lib porttool.rbj porttool.def ptbkport.obj ptdlgs.obj ptfile.obj ptfind.obj ptprint.obj porttool.exp
        !            78:     $(cvtobj) $(cvtdebug) *.obj
        !            79:     $(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)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.