Added missing .cvsignore files.

Updated makefiles.

svn path=/trunk/; revision=2098
This commit is contained in:
Eric Kohl 2001-07-25 08:29:15 +00:00
parent 74893f61fb
commit 8d6a03b3eb
6 changed files with 59 additions and 52 deletions

View file

@ -0,0 +1,7 @@
base.tmp
junk.tmp
temp.exp
parallel.coff
parallel.sys
parallel.sys.unstripped

View file

@ -0,0 +1,7 @@
base.tmp
junk.tmp
temp.exp
ramdrv.coff
ramdrv.sys
ramdrv.sys.unstripped

View file

@ -0,0 +1,7 @@
base.tmp
junk.tmp
temp.exp
serial.coff
serial.sys
serial.sys.unstripped

View 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: $(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

View file

@ -0,0 +1,7 @@
base.tmp
junk.tmp
temp.exp
sound.coff
sound.sys
sound.sys.unstripped

View 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
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