1 # $Id: makefile,v 1.13 1999/12/18 10:17:42 ea Exp $
6 OBJECTS = blockdev.o dir.o dirwr.o iface.o string.o fat.o rw.o finfo.o \
7 volume.o create.o $(TARGET).coff
8 LIBS = ../../../ntoskrnl/ntoskrnl.a
10 BASE_CFLAGS = -I../../../include
22 - $(RM) $(TARGET).coff
28 - $(RM) $(OBJECTS) $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys
33 floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
35 $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
37 $(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
39 $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
42 dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
44 ../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
46 $(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
48 $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
51 $(TARGET).sys: $(OBJECTS) $(LIBS)
53 -specs=../../svc_specs \
56 -Wl,--defsym,_end=end \
57 -Wl,--defsym,_edata=__data_end__ \
58 -Wl,--defsym,_etext=etext \
59 -Wl,--base-file,base.tmp \
64 --dllname $(TARGET).sys \
65 --base-file base.tmp \
66 --output-exp temp.exp \
71 -Wl,--image-base,0x10000 \
72 -Wl,-e,_DriverEntry@8 \
75 -specs=../../svc_specs \
82 WARNINGS_ARE_ERRORS = yes
83 include ../../../rules.mak