1 # $Id: makefile,v 1.8 2000/08/11 12:44:03 ekohl Exp $
5 OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
7 BASE_CFLAGS = -I../../../include
9 all: $(TARGET).sys vidport.a
16 - $(RM) $(TARGET).coff
24 install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
26 $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
28 $(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
30 $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
33 dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
35 ../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
37 $(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
39 $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
42 $(TARGET).sys: $(OBJECTS)
44 --dllname $(TARGET).sys \
47 --output-lib $(TARGET).a
50 -Wl,-d -specs=../../svc_specs \
53 -Wl,--image-base,0x10000 \
54 -Wl,--defsym,_end=end \
55 -Wl,--defsym,_edata=__data_end__ \
56 -Wl,--defsym,_etext=etext \
57 -Wl,--base-file,base.tmp
60 --dllname $(TARGET).sys \
61 --base-file base.tmp \
62 --output-exp temp.exp \
67 -specs=../../svc_specs \
70 -Wl,--image-base,0x10000 \
71 -Wl,-e,_DriverEntry@8 \
72 -Wl,--defsym,_end=end \
73 -Wl,--defsym,_edata=__data_end__ \
74 -Wl,--defsym,_etext=etext \
78 include ../../../rules.mak