Added missing .cvsignore files.
authorEric Kohl <eric.kohl@reactos.org>
Wed, 25 Jul 2001 08:29:15 +0000 (08:29 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 25 Jul 2001 08:29:15 +0000 (08:29 +0000)
Updated makefiles.

svn path=/trunk/; revision=2098

reactos/drivers/dd/parallel/.cvsignore [new file with mode: 0644]
reactos/drivers/dd/ramdrv/.cvsignore [new file with mode: 0644]
reactos/drivers/dd/serial/.cvsignore [new file with mode: 0644]
reactos/drivers/dd/serial/makefile
reactos/drivers/dd/sound/.cvsignore [new file with mode: 0644]
reactos/drivers/dd/sound/makefile

diff --git a/reactos/drivers/dd/parallel/.cvsignore b/reactos/drivers/dd/parallel/.cvsignore
new file mode 100644 (file)
index 0000000..9a3b8eb
--- /dev/null
@@ -0,0 +1,7 @@
+base.tmp
+junk.tmp
+temp.exp
+parallel.coff
+parallel.sys
+parallel.sys.unstripped
+
diff --git a/reactos/drivers/dd/ramdrv/.cvsignore b/reactos/drivers/dd/ramdrv/.cvsignore
new file mode 100644 (file)
index 0000000..b4046bc
--- /dev/null
@@ -0,0 +1,7 @@
+base.tmp
+junk.tmp
+temp.exp
+ramdrv.coff
+ramdrv.sys
+ramdrv.sys.unstripped
+
diff --git a/reactos/drivers/dd/serial/.cvsignore b/reactos/drivers/dd/serial/.cvsignore
new file mode 100644 (file)
index 0000000..5e9e984
--- /dev/null
@@ -0,0 +1,7 @@
+base.tmp
+junk.tmp
+temp.exp
+serial.coff
+serial.sys
+serial.sys.unstripped
+
index 0169753..ac6444a 100644 (file)
@@ -1,19 +1,22 @@
-# $Id: makefile,v 1.13 2001/07/15 21:18:58 rex Exp $
+# $Id: makefile,v 1.14 2001/07/25 08:28:52 ekohl Exp $
 #
 #
 PATH_TO_TOP = ../../..
 
-TARGET= serial
-OBJECTS= $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
+TARGET = serial
 
-CFLAGS = -D__NTDRIVER__ -I. -I../../../include
+OBJECTS = $(TARGET).o $(TARGET).coff
 
-all: $(TARGET).sys
+LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
+
+CFLAGS = -D__NTDRIVER__
+
+all: $(TARGET).sys $(TARGET).sys.unstripped
 
 .phony: all
 
 clean:
-       - $(RM) $(TARGET).o $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys
+       - $(RM) *.o *.sym $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped
 
 .phony: clean
 
@@ -22,38 +25,11 @@ install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
 $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
        $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
 
-dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
-
-../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
-       $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
-
-$(TARGET).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 $(TARGET).sys \
-               --base-file base.tmp \
-               --output-exp temp.exp \
-               --kill-at
-       - $(RM) base.tmp
-       $(CC) \
-               --verbose \
-               -Wl,--image-base,0x10000 \
-               -Wl,-e,_DriverEntry@8 \
-               -Wl,temp.exp \
-               -specs=../../svc_specs \
-               -mdll \
-               -o $(TARGET).sys \
-               $(OBJECTS)
-       - $(RM) temp.exp
-
-
-include ../../../rules.mak
+dist: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
+
+$(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
+       $(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
+
+$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
+
+include $(PATH_TO_TOP)/rules.mak
diff --git a/reactos/drivers/dd/sound/.cvsignore b/reactos/drivers/dd/sound/.cvsignore
new file mode 100644 (file)
index 0000000..ae95121
--- /dev/null
@@ -0,0 +1,7 @@
+base.tmp
+junk.tmp
+temp.exp
+sound.coff
+sound.sys
+sound.sys.unstripped
+
index c75fa42..8bae898 100644 (file)
@@ -3,28 +3,31 @@
 #
 PATH_TO_TOP = ../../..
 
-OBJECTS= sound.o ../../../ntoskrnl/ntoskrnl.a
+TARGET = sound
 
-all: sound.sys
+OBJECTS = dsp.o mixer.o sb_waveout.o sound.o wave.o
+
+LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
+
+all: $(TARGET).sys $(TARGET).sys.unstripped
 
 .phony: all
 
 clean:
-       - $(RM) sound.o junk.tmp base.tmp temp.exp sound.sys
+       - $(RM) *.o *.sym *.coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped
 
 .phony: clean
 
-sound.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 sound.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 sound.sys $(OBJECTS) -Wl,temp.exp
+install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
+
+$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
+       $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
+
+dist: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
 
-sound.o: sound.c dsp.c mixer.c wave.h wave.c
+$(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
+       $(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
 
+$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
 
+include $(PATH_TO_TOP)/rules.mak