More work on generic VGA driver

svn path=/trunk/; revision=519
This commit is contained in:
Rex Jolliff 1999-05-26 02:37:21 +00:00
parent 389b5fe480
commit 480d6d6388

View file

@ -1,30 +1,43 @@
#
#
#
OBJECTS = vga.o ../../../ntoskrnl/ntoskrnl.a ../vidport/vidport.a
MP_OBJECTS = vgamp.o ../../../ntoskrnl/ntoskrnl.a ../vidport/vidport.a
DDI_OBJECTS = vgaddi.o ../../subsys/win32k/win32k.a
all: vga.sys
all: vgamp.sys vgaddi.sys
.phony: all
clean:
- $(RM) vga.o
- $(RM) *.o
- $(RM) junk.tmp
- $(RM) base.tmp
- $(RM) temp.exp
- $(RM) vga.sys
- $(RM) *.sys
.phony: clean
vga.sys: $(OBJECTS)
vgamp.sys: $(OBJECTS)
$(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-Wl,--base-file,base.tmp $(OBJECTS)
- $(RM) junk.tmp
$(DLLTOOL) --dllname vga.sys --base-file base.tmp \
$(DLLTOOL) --dllname vgamp.sys --base-file base.tmp \
--output-exp temp.exp
- $(RM) base.tmp
$(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-specs=../../svc_specs -mdll -o vga.sys $(OBJECTS) -Wl,temp.exp
-specs=../../svc_specs -mdll -o vgamp.sys $(OBJECTS) -Wl,temp.exp
- $(RM) temp.exp
vgaddi.sys: $(OBJECTS)
$(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-Wl,--base-file,base.tmp $(OBJECTS)
- $(RM) junk.tmp
$(DLLTOOL) --dllname vgaddi.sys --base-file base.tmp \
--output-exp temp.exp
- $(RM) base.tmp
$(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-specs=../../svc_specs -mdll -o vgaddi.sys $(OBJECTS) -Wl,temp.exp
- $(RM) temp.exp