|
|
1.1 root 1: # Some NT Win32 nmake macros.
2: # For now this resides in samples\inc.
3:
4: !include <ntwin32.mak>
5:
6: condlllibs = $(LIB)\crtdll.lib $(LIB)\*.lib
7:
8: # This line allows NMAKE to work as well
9:
10: all: tlscall.exe tlsdll.dll
11:
12: # Update the object files if necessary
13:
14: tlscall.obj: tlscall.c
15: $(cc) $(cflags) $(cvars) tlscall.c
16:
17: tlsdll.obj: tlsdll.c
18: $(cc) $(cflags) $(cvars) tlsdll.c
19:
20: # Update the import library
21:
22: tlsdll.lib: tlsdll.obj tlsdll.def
23: coff -lib -machine:$(CPU) \
24: -def:tlsdll.def \
25: -out:tlsdll.lib
26:
27:
28: # Update the dynamic link library
29:
30: tlsdll.dll: tlsdll.obj tlsdll.def
31: $(cvtobj) $(cvtdebug) *.obj
32: $(link) $(lflags) \
33: -base:0x1C000000 \
34: -entry:LibMain \
35: -out:tlsdll.dll \
36: tlsdll.exp tlsdll.obj $(condlllibs)
37:
38:
39: # Update the executable file if necessary.
40: # If so, add the resource back in.
41:
42: tlscall.exe: tlscall.obj tlsdll.lib tlscall.def
43: $(cvtobj) $(cvtdebug) *.obj
44: $(link) $(conflags) -out:tlscall.exe tlscall.obj tlsdll.lib $(conlibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.