Annotation of mstools/samples/tls/makefile, revision 1.1.1.2

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
1.1.1.2 ! root       11:     $(cc) $(cdebug) $(cflags) $(cvars) tlscall.c
1.1       root       12: 
                     13: tlsdll.obj: tlsdll.c
1.1.1.2 ! root       14:     $(cc) $(cdebug) $(cflags) $(cvars) tlsdll.c
1.1       root       15: 
                     16: # Update the import library
                     17: 
                     18: tlsdll.lib: tlsdll.obj tlsdll.def
1.1.1.2 ! root       19:     $(cvtobj) $(cvtdebug) tlsdll.obj
1.1       root       20:     coff -lib -machine:$(CPU) \
                     21:     -def:tlsdll.def        \
1.1.1.2 ! root       22:     tlsdll.obj              \
1.1       root       23:     -out:tlsdll.lib
                     24: 
                     25: 
                     26: # Update the dynamic link library
                     27: 
                     28: tlsdll.dll: tlsdll.obj tlsdll.def
                     29:     $(cvtobj) $(cvtdebug) *.obj
1.1.1.2 ! root       30:     $(link) $(linkdebug) $(lflags) \
1.1       root       31:     -base:0x1C000000  \
1.1.1.2 ! root       32:     -entry:LibMain$(DLLENTRY)    \
1.1       root       33:     -out:tlsdll.dll   \
1.1.1.2 ! root       34:     tlsdll.exp tlsdll.obj $(conlibsdll)
1.1       root       35: 
                     36: 
                     37: # Update the executable file if necessary.
                     38: # If so, add the resource back in.
                     39: 
                     40: tlscall.exe: tlscall.obj tlsdll.lib tlscall.def
                     41:     $(cvtobj) $(cvtdebug) *.obj
1.1.1.2 ! root       42:     $(link) $(linkdebug) $(conflags) -out:tlscall.exe tlscall.obj tlsdll.lib $(conlibsmt)

unix.superglobalmegacorp.com

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