Annotation of q_a/samples/tls/makefile, revision 1.1

1.1     ! root        1: # Some NT Win32 nmake macros.
        !             2: # For now this resides in samples\inc.
        !             3: 
        !             4: !include <ntwin32.mak>
        !             5: 
        !             6: all: tlscall.exe tlsdll.dll
        !             7: 
        !             8: # Update the object files if necessary
        !             9: 
        !            10: tlscall.obj: tlscall.c
        !            11:     $(cc) $(cdebug) $(cflags) $(cvarsdll) tlscall.c
        !            12: 
        !            13: tlsdll.obj: tlsdll.c
        !            14:     $(cc) $(cdebug) $(cflags) $(cvarsdll) tlsdll.c
        !            15: 
        !            16: # Update the import library
        !            17: 
        !            18: tlsdll.lib: tlsdll.obj tlsdll.def
        !            19:     $(implib) -machine:$(CPU) \
        !            20:     -def:tlsdll.def        \
        !            21:     tlsdll.obj              \
        !            22:     -out:tlsdll.lib
        !            23: 
        !            24: 
        !            25: # Update the dynamic link library
        !            26: 
        !            27: tlsdll.dll: tlsdll.obj tlsdll.def
        !            28:     $(link) $(linkdebug) $(lflags) \
        !            29:     -base:0x1C000000  \
        !            30:     -entry:_DllMainCRTStartup$(DLLENTRY)    \
        !            31:     -out:tlsdll.dll   \
        !            32:     tlsdll.exp tlsdll.obj $(conlibsdll)
        !            33: 
        !            34: 
        !            35: # Update the executable file if necessary.
        !            36: # If so, add the resource back in.
        !            37: 
        !            38: tlscall.exe: tlscall.obj tlsdll.lib tlscall.def
        !            39:     $(link) $(linkdebug) $(conflags) -out:tlscall.exe tlscall.obj tlsdll.lib $(conlibsdll)

unix.superglobalmegacorp.com

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