|
|
1.1 root 1: #
2: # Nmake macros for building the Windows 32-Bit
3: # Debug Event Browser Application
4: #
5: !include <ntwin32.mak>
6:
7: # macro defines
8: PROJ=DEB
9: DLL=ToolBar
10: OBJ1=DEBMain
11: OBJ2=DEBDebug
12: OBJ3=DEBMisc
13: OBJ4=LinkList
14: OBJS=$(OBJ1).obj $(OBJ2).obj $(OBJ3).obj $(OBJ4).obj
15:
16: # This line allows NMAKE to work as well
17: all: $(PROJ).exe $(DLL).dll $(PROJ).hlp
18:
19: # Update the online help file if necessary.
20: $(PROJ).hlp: $(PROJ).hpj $(PROJ).rtf
21: @if exist $(PROJ).PH del $(PROJ).PH
22: if $(CPU)==i386 hc $(PROJ).hpj
23:
24: # Update the object files if necessary
25: $(OBJ1).obj: $(OBJ1).c $(OBJ1).h $(OBJ4).h $(DLL).h $(PROJ).h
26: $(cc) $(cflags) $(cvars) $(OBJ1).c
27:
28: $(OBJ2).obj: $(OBJ2).c $(OBJ2).h $(OBJ1).h $(PROJ).h
29: $(cc) $(cflags) $(cvars) $(OBJ2).c
30:
31: $(OBJ3).obj: $(OBJ3).c $(OBJ3).h $(OBJ1).h $(PROJ).h
32: $(cc) $(cflags) $(cvars) $(OBJ3).c
33:
34: $(OBJ4).obj: $(OBJ4).c $(OBJ4).h
35: $(cc) $(cflags) $(cvars) $(OBJ4).c
36:
37: $(DLL).obj: $(DLL).c $(DLL).h
38: $(cc) $(cflags) $(cvars) $(DLL).c
39:
40: # Update the resource if necessary
41: $(PROJ).res: $(PROJ).rc $(PROJ).dlg $(PROJ).h
42: rc -r -fo $(PROJ).res $(PROJ).rc
43: cvtres -$(CPU) $(PROJ).res -o res.res
44:
45: # Update the import library
46: $(DLL).lib: $(DLL).obj $(DLL).def
47: lib -machine:$(CPU) \
48: -def:$(DLL).def \
49: -out:$(DLL).lib
50:
51: # Update the dynamic link library
52: $(DLL).dll: $(DLL).obj $(DLL).def
53: $(link) \
54: -base:0x1C000000 \
55: -dll \
56: -entry:LibMain \
57: -out:$(DLL).dll \
58: $(DLL).exp $(DLL).obj $(guilibs)
59:
60: # Update the OBJ1cutable file if necessary.
61: # If so, add the resource back in.
62: $(PROJ).exe: $(OBJS) $(PROJ).res $(PROJ).def $(DLL).lib
63: $(cvtobj) $(cvtdebug) *.obj
64: $(link) $(guiflags) \
65: -out:$(PROJ).exe \
66: $(OBJS) $(DLL).lib res.res \
67: $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.