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