mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
Vidport did not have an export table because of broken rule.
svn path=/trunk/; revision=2103
This commit is contained in:
parent
2da14243ee
commit
c0333e56cd
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.13 2001/07/25 06:21:38 ekohl Exp $
|
# $Id: makefile,v 1.14 2001/07/26 11:40:59 ekohl Exp $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
PATH_TO_TOP = ../../..
|
PATH_TO_TOP = ../../..
|
||||||
|
@ -30,8 +30,6 @@ dist: $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
$(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
$(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
$(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
|
$(CP) $(TARGET).sys $(PATH_TO_TOP)/$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
|
|
||||||
|
|
||||||
$(TARGET).a: $(TARGET).def
|
$(TARGET).a: $(TARGET).def
|
||||||
$(DLLTOOL) \
|
$(DLLTOOL) \
|
||||||
--dllname $(TARGET).sys \
|
--dllname $(TARGET).sys \
|
||||||
|
@ -39,4 +37,62 @@ $(TARGET).a: $(TARGET).def
|
||||||
--kill-at \
|
--kill-at \
|
||||||
--output-lib $(TARGET).a
|
--output-lib $(TARGET).a
|
||||||
|
|
||||||
|
$(TARGET).sys $(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
|
||||||
|
$(CC) \
|
||||||
|
-nostartfiles -nostdlib -e _DriverEntry@8\
|
||||||
|
-mdll \
|
||||||
|
-o junk.tmp \
|
||||||
|
-Wl,--defsym,_end=end \
|
||||||
|
-Wl,--defsym,_edata=__data_end__ \
|
||||||
|
-Wl,--defsym,_etext=etext \
|
||||||
|
-Wl,--base-file,base.tmp $^
|
||||||
|
- $(RM) junk.tmp
|
||||||
|
$(DLLTOOL) \
|
||||||
|
--dllname $@ \
|
||||||
|
--base-file base.tmp \
|
||||||
|
--output-exp temp.exp \
|
||||||
|
--def $(TARGET).edf \
|
||||||
|
--kill-at
|
||||||
|
- $(RM) base.tmp
|
||||||
|
$(CC) \
|
||||||
|
--verbose \
|
||||||
|
-Wl,--subsystem,native \
|
||||||
|
-Wl,--image-base,0x10000 \
|
||||||
|
-Wl,-e,_DriverEntry@8 \
|
||||||
|
-Wl,temp.exp \
|
||||||
|
-nostartfiles -nostdlib -e _DriverEntry@8 \
|
||||||
|
-mdll \
|
||||||
|
-o $@.unstripped \
|
||||||
|
$^
|
||||||
|
- $(RM) temp.exp
|
||||||
|
- $(NM) --numeric-sort $@.unstripped > $@.sym
|
||||||
|
$(STRIP) --strip-debug $<
|
||||||
|
$(CC) \
|
||||||
|
-nostartfiles -nostdlib -e _DriverEntry@8 \
|
||||||
|
-mdll \
|
||||||
|
-o junk.tmp \
|
||||||
|
-Wl,--defsym,_end=end \
|
||||||
|
-Wl,--defsym,_edata=__data_end__ \
|
||||||
|
-Wl,--defsym,_etext=etext \
|
||||||
|
-Wl,--base-file,base.tmp $^
|
||||||
|
- $(RM) junk.tmp
|
||||||
|
$(DLLTOOL) \
|
||||||
|
--dllname $@ \
|
||||||
|
--base-file base.tmp \
|
||||||
|
--output-exp temp.exp \
|
||||||
|
--def $(TARGET).edf \
|
||||||
|
--kill-at
|
||||||
|
- $(RM) base.tmp
|
||||||
|
$(CC) \
|
||||||
|
--verbose \
|
||||||
|
-Wl,--subsystem,native \
|
||||||
|
-Wl,--image-base,0x10000 \
|
||||||
|
-Wl,-e,_DriverEntry@8 \
|
||||||
|
-Wl,temp.exp \
|
||||||
|
-nostartfiles -nostdlib -e _DriverEntry@8 \
|
||||||
|
-mdll \
|
||||||
|
-o $@ \
|
||||||
|
$^
|
||||||
|
- $(RM) temp.exp
|
||||||
|
|
||||||
include $(PATH_TO_TOP)/rules.mak
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
Loading…
Reference in a new issue