Added missing .cvsignore files.
[reactos.git] / reactos / drivers / dd / floppy / Makefile
1 # $Id: Makefile,v 1.9 2001/07/25 06:19:49 ekohl Exp $
2 #
3 #
4 PATH_TO_TOP = ../../..
5
6 TARGET=floppy
7
8 OBJECTS = floppy.o isr.o dpc.o $(TARGET).coff
9
10 LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
11
12 CFLAGS = -D__NTDRIVER__ -I.
13
14 all: $(TARGET).sys
15
16 floppy.o: floppy.h
17
18 isr.o: floppy.h
19
20 dpc.o: floppy.h
21
22 .phony: all
23
24 clean:
25 - $(RM) *.o *.sym $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped
26
27 .phony: clean
28
29 install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
30
31 $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
32 $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
33
34 dist: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
35
36 $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
37 $(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
38
39 $(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
40
41 WITH_DEBUGGING=yes
42 include $(PATH_TO_TOP)/rules.mak