NT4/private/sdktools/drwatson/makefile.sdk

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2001-01-01 00:00:00 +01:00
!include <ntwin32.mak>
all: ..\bin\drwtsn32.exe
messages.h messages.rc msg00001.bin: messages.mc
mc -v messages.mc
cflags = $(cflags) -DWIN32 -DTARGET32 -DHOST32 -DADDR_MIXED -DNT_BUILD -D_CROSS_PLATFORM_
drwatson.res: messages.rc msg00001.bin drwatson.rc
rc -r -i .\include -fo drwatson.res drwatson.rc
.c.obj:
$(cc) $(cdebug) $(cflags) $(cvars) $(scall) -I..\include -I.\include -I. $*.c
OBJECTS= drwatson.res \
controls.obj \
debug.obj \
error.obj \
eventlog.obj \
getteb.c \
log.obj \
module.obj \
notify.obj \
process.obj \
registry.obj \
symbols.obj \
ui.obj \
util.obj \
walk.obj \
regs.obj \
disasm.obj \
context.obj \
drwtsn32.obj \
browse.obj \
dump.obj
!IF "$(CPU)" == "ALPHA"
OBJECTS=$(OBJECTS) optable.obj
!ENDIF
..\bin\drwtsn32.exe: $(OBJECTS)
@if not exist ..\bin md ..\bin > nul
$(link) $(linkdebug) $(conflags) -machine:$(CPU) -out:$@ \
$** $(guilibs) imagehlp.lib winmm.lib shell32.lib \
comdlg32.lib advapi32.lib crashlib.lib
!IF ("$(TARGETLANG)" == "LANG_JAPANESE") && ("$(OS)" == "Windows_NT")
rlman -p 932 -n 17 1 -r $@ drwtsn32.tok $@
!ENDIF