diff --git a/reactos/drivers/dd/parallel/.cvsignore b/reactos/drivers/dd/parallel/.cvsignore new file mode 100644 index 00000000000..9a3b8ebfa52 --- /dev/null +++ b/reactos/drivers/dd/parallel/.cvsignore @@ -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 index 00000000000..b4046bcb2b6 --- /dev/null +++ b/reactos/drivers/dd/ramdrv/.cvsignore @@ -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 index 00000000000..5e9e984d476 --- /dev/null +++ b/reactos/drivers/dd/serial/.cvsignore @@ -0,0 +1,7 @@ +base.tmp +junk.tmp +temp.exp +serial.coff +serial.sys +serial.sys.unstripped + diff --git a/reactos/drivers/dd/serial/makefile b/reactos/drivers/dd/serial/makefile index 0169753b4d4..ac6444a83b2 100644 --- a/reactos/drivers/dd/serial/makefile +++ b/reactos/drivers/dd/serial/makefile @@ -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: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys -../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys - $(CP) $(TARGET).sys ../../../$(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: $(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 +$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS) - -include ../../../rules.mak +include $(PATH_TO_TOP)/rules.mak diff --git a/reactos/drivers/dd/sound/.cvsignore b/reactos/drivers/dd/sound/.cvsignore new file mode 100644 index 00000000000..ae951210ae0 --- /dev/null +++ b/reactos/drivers/dd/sound/.cvsignore @@ -0,0 +1,7 @@ +base.tmp +junk.tmp +temp.exp +sound.coff +sound.sys +sound.sys.unstripped + diff --git a/reactos/drivers/dd/sound/makefile b/reactos/drivers/dd/sound/makefile index c75fa42e3af..8bae898eb82 100644 --- a/reactos/drivers/dd/sound/makefile +++ b/reactos/drivers/dd/sound/makefile @@ -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 -sound.o: sound.c dsp.c mixer.c wave.h wave.c +$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys + $(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys +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