a708b4004568bbd04831484734b67f16ac5cb55f
[reactos.git] / reactos / drivers / dd / blue / makefile
1 #
2 #
3 #
4
5 all: blue.sys
6
7 .phony: all
8
9 OBJECTS = blue.o ../../../ntoskrnl/ntoskrnl.a
10
11 blue.sys: $(OBJECTS)
12 $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
13 -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
14 -Wl,--base-file,base.tmp $(OBJECTS)
15 - $(RM) junk.tmp
16 $(DLLTOOL) --dllname blue.sys --base-file base.tmp \
17 --output-exp temp.exp
18 - $(RM) base.tmp
19 $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
20 -specs=../../svc_specs -mdll -o blue.sys $(OBJECTS) -Wl,temp.exp
21 - $(RM) temp.exp
22
23