|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: all: pwalk.exe
6:
7: # object files for pwalk.exe
8: pstat.obj : pstat.c pwalk.h
9: $(cc) $(cflags) $(cvars) $(cdebug) pstat.c
10:
11: pdebug.obj : pdebug.c pwalk.h
12: $(cc) $(cflags) $(cvars) $(cdebug) pdebug.c
13:
14: pwalkio.obj : pwalkio.c pwalk.h
15: $(cc) $(cflags) $(cvars) $(cdebug) pwalkio.c
16:
17: pwalk.obj : pwalk.c pwalk.h
18: $(cc) $(cflags) $(cvars) $(cdebug) pwalk.c
19:
20: pview.obj : pview.c pwalk.h
21: $(cc) $(cflags) $(cvars) $(cdebug) pview.c
22:
23:
24: # object files for pefile.dll
25: pefile.obj : pefile.c pefile.h
26: $(cc) $(cflags) $(cvars) $(cdebug) pefile.c
27:
28:
29: # object files for probe.dll
30: probe.obj: probe.c pwalk.h
31: $(cc) $(cflags) $(cvarsdll) $(cdebug) probe.c
32:
33:
34: # resrouces for pwalk.exe
35: pwalk.res: pwalk.rc pwalk.h pwalk.ico
36: rc -r pwalk.rc
37:
38: pwalk.rbj: pwalk.res
39: cvtres -$(CPU) pwalk.res -o pwalk.rbj
40:
41:
42: # resrouces for probe.dll
43: probe.res: probe.rc pwalk.h
44: rc -r probe.rc
45:
46: probe.rbj: probe.res
47: cvtres -$(CPU) probe.res -o probe.rbj
48:
49:
50: # resrouces for pefile.dll
51: pefile.res: pefile.rc pefile.h
52: rc -r pefile.rc
53:
54: pefile.rbj: pefile.res
55: cvtres -$(CPU) pefile.res -o pefile.rbj
56:
57:
58: # export library for probe.dll
59: probe.lib: probe.obj probe.def probe.rbj
60: lib32 -machine:$(CPU) \
61: -def:probe.def \
62: probe.obj \
63: -out:probe.lib
64:
65:
66: # export library for pefile.dll
67: pefile.lib: pefile.obj pefile.def pefile.rbj
68: lib32 -machine:$(CPU) \
69: -def:pefile.def \
70: pefile.obj \
71: -out:pefile.lib
72:
73:
74: # link probe.dll
75: probe.dll: probe.obj probe.def probe.lib pefile.lib pefile.dll
76: $(link) $(linkdebug) \
77: -base:0x1C000000 \
78: -dll \
79: -entry:_DllMainCRTStartup$(DLLENTRY) \
80: -out:probe.dll \
81: probe.exp pefile.lib probe.obj probe.rbj $(guilibsdll)
82:
83:
84: # link pefile.dll
85: pefile.dll: pefile.obj pefile.def pefile.lib
86: $(link) $(linkdebug) \
87: -base:0x1D000000 \
88: -dll \
89: -entry:_DllMainCRTStartup$(DLLENTRY) \
90: -out:pefile.dll \
91: pefile.exp pefile.obj pefile.rbj $(guilibsdll)
92:
93:
94: # link pwalk.exe
95: pwalk.exe: pwalk.rbj pwalk.obj probe.lib probe.dll pefile.lib pefile.dll \
96: pwalkio.obj pdebug.obj pstat.obj pview.obj
97: $(link) $(linkdebug) $(lflags) \
98: $(guiflags) \
99: -out:pwalk.exe \
100: pwalk.obj pdebug.obj probe.lib pefile.lib pstat.obj pwalkio.obj pview.obj pwalk.rbj $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.