|
|
1.1 root 1: !include <ntwin32.mak>
2:
3:
4: all: linktest.exe loadtest.exe the_dll.dll
5:
6:
7: linktest.obj: linktest.c
1.1.1.2 ! root 8: $(cc) $(cdebug) $(cflags) $(cvars) linktest.c
1.1 root 9:
10: loadtest.obj: loadtest.c
1.1.1.2 ! root 11: $(cc) $(cdebug) $(cflags) $(cvars) loadtest.c
1.1 root 12:
13: the_dll.obj: the_dll.c
1.1.1.2 ! root 14: $(cc) $(cdebug) $(cflags) $(cvars) the_dll.c
1.1 root 15:
16:
1.1.1.2 ! root 17: linktest.rbj: linktest.rc linktest.h
! 18: rc -r -fo linktest.res linktest.rc
! 19: cvtres -$(CPU) linktest.res -o linktest.rbj
1.1 root 20:
1.1.1.2 ! root 21: loadtest.rbj: loadtest.rc loadtest.h
! 22: rc -r -fo loadtest.res loadtest.rc
! 23: cvtres -$(CPU) loadtest.res -o loadtest.rbj
1.1 root 24:
1.1.1.2 ! root 25: the_dll.rbj: the_dll.rc
! 26: rc -r -fo the_dll.res the_dll.rc
! 27: cvtres -$(CPU) the_dll.res -o the_dll.rbj
1.1 root 28:
29:
1.1.1.2 ! root 30: the_dll.lib: the_dll.obj the_dll.def
! 31: lib -machine:$(CPU) \
! 32: -def:the_dll.def \
! 33: !IF "$(CPU)" == "i386"
! 34: the_dll.obj \
! 35: !ENDIF
! 36: -out:the_dll.lib \
! 37:
! 38: the_dll.dll: the_dll.obj the_dll.def the_dll.rbj
! 39: $(link) $(linkdebug) \
1.1 root 40: -base:0x1C000000 \
41: -dll \
1.1.1.2 ! root 42: -entry:DLLEntryPoint$(DLLENTRY) \
1.1 root 43: -out:the_dll.dll \
1.1.1.2 ! root 44: the_dll.rbj the_dll.exp the_dll.obj $(guilibs)
1.1 root 45:
46:
1.1.1.2 ! root 47: linktest.exe: linktest.obj the_dll.lib linktest.rbj linktest.def
! 48: $(cvtobj) $(cvtdebug) *.obj
! 49: $(link) $(linkdebug) $(guiflags) -out:linktest.exe linktest.obj the_dll.lib linktest.rbj $(guilibs)
1.1 root 50:
1.1.1.2 ! root 51: loadtest.exe: loadtest.obj loadtest.rbj loadtest.def
! 52: $(cvtobj) $(cvtdebug) *.obj
! 53: $(link) $(linkdebug) $(guiflags) -out:loadtest.exe loadtest.obj loadtest.rbj $(guilibs)
1.1 root 54:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.