Mercurial > mplayer.hg
comparison Makefile @ 28780:0f67e29affb9
Simplify some vidix dhahelper build commands with automatic make variables.
author | diego |
---|---|
date | Thu, 05 Mar 2009 20:25:54 +0000 |
parents | 1f76d86e49ae |
children | ca641bd35f98 |
comparison
equal
deleted
inserted
replaced
28779:5d2340c92b12 | 28780:0f67e29affb9 |
---|---|
1096 | 1096 |
1097 vidix/dhahelperwin/dhahelper-rc.o: vidix/dhahelperwin/common.ver vidix/dhahelperwin/ntverp.h | 1097 vidix/dhahelperwin/dhahelper-rc.o: vidix/dhahelperwin/common.ver vidix/dhahelperwin/ntverp.h |
1098 | 1098 |
1099 vidix/dhahelperwin/base.tmp: vidix/dhahelperwin/dhahelper.o vidix/dhahelperwin/dhahelper-rc.o | 1099 vidix/dhahelperwin/base.tmp: vidix/dhahelperwin/dhahelper.o vidix/dhahelperwin/dhahelper-rc.o |
1100 $(CC) -Wl,--base-file,$@ -Wl,--entry,_DriverEntry@8 -nostartfiles \ | 1100 $(CC) -Wl,--base-file,$@ -Wl,--entry,_DriverEntry@8 -nostartfiles \ |
1101 -nostdlib -o vidix/dhahelperwin/junk.tmp $^ -lntoskrnl | 1101 -nostdlib -o $(@D)/junk.tmp $^ -lntoskrnl |
1102 -rm -f vidix/dhahelperwin/junk.tmp | 1102 -rm -f $(@D)/junk.tmp |
1103 | 1103 |
1104 vidix/dhahelperwin/temp.exp: vidix/dhahelperwin/base.tmp | 1104 vidix/dhahelperwin/temp.exp: vidix/dhahelperwin/base.tmp |
1105 dlltool --dllname vidix/dhahelperwin/dhahelper.sys --base-file $< --output-exp $@ | 1105 dlltool --dllname $(@D)/dhahelper.sys --base-file $< --output-exp $@ |
1106 | 1106 |
1107 vidix/dhahelperwin/dhahelper.sys: vidix/dhahelperwin/temp.exp vidix/dhahelperwin/dhahelper.o vidix/dhahelperwin/dhahelper-rc.o | 1107 vidix/dhahelperwin/dhahelper.sys: vidix/dhahelperwin/temp.exp vidix/dhahelperwin/dhahelper.o vidix/dhahelperwin/dhahelper-rc.o |
1108 $(CC) -Wl,--subsystem,native -Wl,--image-base,0x10000 \ | 1108 $(CC) -Wl,--subsystem,native -Wl,--image-base,0x10000 \ |
1109 -Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 \ | 1109 -Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 \ |
1110 -Wl,--entry,_DriverEntry@8 -Wl,$< -mdll -nostartfiles -nostdlib \ | 1110 -Wl,--entry,_DriverEntry@8 -Wl,$< -mdll -nostartfiles -nostdlib \ |
1111 -o $@ vidix/dhahelperwin/dhahelper.o \ | 1111 -o $@ $(@:.sys=.o) $(@:.sys=-rc.o) -lntoskrnl |
1112 vidix/dhahelperwin/dhahelper-rc.o -lntoskrnl | |
1113 strip $@ | 1112 strip $@ |
1114 | 1113 |
1115 install-dhahelperwin: | 1114 install-dhahelperwin: |
1116 vidix/dhahelperwin/dhasetup.exe install | 1115 vidix/dhahelperwin/dhasetup.exe install |
1117 | 1116 |