From 2e12d33dfdf68080e91084d0d22accd87127510c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 21 Apr 2003 23:54:05 +0000 Subject: [PATCH] Removed no longer needed uses of LDPATH. --- Make.rules.in | 6 +++--- dlls/Makedll.rules.in | 4 ++-- dlls/Maketest.rules.in | 2 +- dlls/gdi/Makefile.in | 2 +- dlls/kernel/Makefile.in | 2 +- dlls/ntdll/Makefile.in | 4 ++-- dlls/shell32/Makefile.in | 2 +- dlls/user/Makefile.in | 6 +++--- include/Makefile.in | 2 +- miscemu/Makefile.in | 2 +- programs/Makeprog.rules.in | 2 +- programs/avitools/Makefile.in | 6 +++--- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Make.rules.in b/Make.rules.in index 3ef6aa5b078..7da0e29a0f5 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -122,10 +122,10 @@ LINTS = $(C_SRCS:.c=.ln) $(WINDRES) -i $< -o $@ .spec.spec.c: - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --spec $< + $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --spec $< .spec.spec.def: - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --def $< + $(WINEBUILD) $(DEFS) -o $@ --def $< .c.ln: $(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 ) @@ -145,7 +145,7 @@ filter: # Rule for main module debug channels $(MODULE).dbg.c: $(C_SRCS) $(C_SRCS16) $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --debug -C$(SRCDIR) $(C_SRCS) $(C_SRCS16) + $(WINEBUILD) $(DEFS) -o $@ --debug -C$(SRCDIR) $(C_SRCS) $(C_SRCS16) # Rule to rebuild the tools diff --git a/dlls/Makedll.rules.in b/dlls/Makedll.rules.in index de036109c69..23ce76480aa 100644 --- a/dlls/Makedll.rules.in +++ b/dlls/Makedll.rules.in @@ -25,7 +25,7 @@ all: $(MODULE)$(DLLEXT) $(SUBDIRS) # Rules for .so files $(MAINSPEC).c: $(MAINSPEC) $(RC_SRCS:.rc=.res) $(SYMBOLFILE) $(IMPORTLIBS) $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --spec $(SRCDIR)/$(MAINSPEC) $(RC_SRCS:.rc=.res) $(SYMBOLFILE) $(DLLMAIN:%=--entry %) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%) + $(WINEBUILD) $(DEFS) -o $@ --spec $(SRCDIR)/$(MAINSPEC) $(RC_SRCS:.rc=.res) $(SYMBOLFILE) $(DLLMAIN:%=--entry %) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%) $(MODULE).so: $(MAINSPEC).o $(ALL_OBJS) Makefile.in $(LDSHARED) $(LDDLLFLAGS) $(MAINSPEC).o $(ALL_OBJS) -o $@ -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(ALL_LIBS) -lc @@ -37,7 +37,7 @@ $(MODULE).tmp.o: $(ALL_OBJS) Makefile.in # Rule for 16-bit glue $(MODULE).glue.c: $(C_SRCS) $(C_SRCS16) $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --glue -C$(SRCDIR) $(C_SRCS) $(C_SRCS16) + $(WINEBUILD) $(DEFS) -o $@ --glue -C$(SRCDIR) $(C_SRCS) $(C_SRCS16) # Rules for .dll files diff --git a/dlls/Maketest.rules.in b/dlls/Maketest.rules.in index 20fb572f59a..0735822b17b 100644 --- a/dlls/Maketest.rules.in +++ b/dlls/Maketest.rules.in @@ -36,7 +36,7 @@ all: $(TESTPROGRAM) # Rule for main module spec file $(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(OBJS) $(IMPORTLIBS) $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) --exe-mode cui $(RC_SRCS:.rc=.res) $(OBJS) -L$(DLLDIR) $(IMPORTS:%=-l%) + $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) --exe-mode cui $(RC_SRCS:.rc=.res) $(OBJS) -L$(DLLDIR) $(IMPORTS:%=-l%) # Rules for .so main module diff --git a/dlls/gdi/Makefile.in b/dlls/gdi/Makefile.in index 5c426858a39..701a6a8ae97 100644 --- a/dlls/gdi/Makefile.in +++ b/dlls/gdi/Makefile.in @@ -80,7 +80,7 @@ EXTRASUBDIRS = \ # Special rules for 16-bit resource and spec files gdi.exe.spec.c: gdi.exe.spec version16.res - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --heap 65520 --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/gdi.exe.spec + $(WINEBUILD) $(DEFS) -o $@ --heap 65520 --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/gdi.exe.spec version16.res: version16.rc $(LDPATH) $(WRC) $(WRCFLAGS) -o $@ -O res16 $(SRCDIR)/version16.rc diff --git a/dlls/kernel/Makefile.in b/dlls/kernel/Makefile.in index 7088a2d9d33..dc6569d810b 100644 --- a/dlls/kernel/Makefile.in +++ b/dlls/kernel/Makefile.in @@ -64,7 +64,7 @@ kernel.res: $(MC_SRCS:.mc=.mc.rc) # Special rules for 16-bit resource and spec files krnl386.exe.spec.c: krnl386.exe.spec version16.res - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec + $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec version16.res: version16.rc $(LDPATH) $(WRC) $(WRCFLAGS) -o $@ -O res16 $(SRCDIR)/version16.rc diff --git a/dlls/ntdll/Makefile.in b/dlls/ntdll/Makefile.in index cdb2ca9387a..95d79db89c3 100644 --- a/dlls/ntdll/Makefile.in +++ b/dlls/ntdll/Makefile.in @@ -121,10 +121,10 @@ EXTRASUBDIRS = \ @MAKE_DLL_RULES@ relay16.s: $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --relay16 + $(WINEBUILD) $(DEFS) -o $@ --relay16 relay32.s: $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --relay32 + $(WINEBUILD) $(DEFS) -o $@ --relay32 clean:: $(RM) $(ASM_SRCS) diff --git a/dlls/shell32/Makefile.in b/dlls/shell32/Makefile.in index e8d83a030b9..0885aceab75 100644 --- a/dlls/shell32/Makefile.in +++ b/dlls/shell32/Makefile.in @@ -71,6 +71,6 @@ version16.res: version16.rc $(LDPATH) $(WRC) $(WRCFLAGS) -o $@ -O res16 $(SRCDIR)/version16.rc shell.spec.c: shell.spec version16.res - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/shell.spec + $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/shell.spec ### Dependencies: diff --git a/dlls/user/Makefile.in b/dlls/user/Makefile.in index fae749842cb..0462443c740 100644 --- a/dlls/user/Makefile.in +++ b/dlls/user/Makefile.in @@ -111,13 +111,13 @@ EXTRASUBDIRS = \ # Special rules for 16-bit resource and spec files user.exe.spec.c: user.exe.spec resources/version16.res - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --spec $(SRCDIR)/user.exe.spec + $(WINEBUILD) $(DEFS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --spec $(SRCDIR)/user.exe.spec display.spec.c: display.spec resources/display.res - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res resources/display.res --spec $(SRCDIR)/display.spec + $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res resources/display.res --spec $(SRCDIR)/display.spec mouse.spec.c: mouse.spec resources/mouse.res - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res resources/mouse.res --spec $(SRCDIR)/mouse.spec + $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res resources/mouse.res --spec $(SRCDIR)/mouse.spec resources/display.res: resources/display.rc $(LDPATH) $(WRC) $(WRCFLAGS) -o $@ -O res16 $(SRCDIR)/resources/display.rc diff --git a/include/Makefile.in b/include/Makefile.in index e47f87309b5..39cd9a9aada 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -251,7 +251,7 @@ EXTRASUBDIRS = bitmaps msvcrt msvcrt/sys wine .SUFFIXES: .idl .h .idl.h: - $(LDPATH) $(WIDL) $(DEFS) -b -h -H $@ $< + $(WIDL) $(DEFS) -b -h -H $@ $< .PHONY: idl diff --git a/miscemu/Makefile.in b/miscemu/Makefile.in index 46e387169b1..04bb3a87a58 100644 --- a/miscemu/Makefile.in +++ b/miscemu/Makefile.in @@ -20,7 +20,7 @@ $(MODULE): $(ALL_OBJS) $(CC) -o $@ $(LDEXECFLAGS) $(ALL_OBJS) -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LIBS) $(LDFLAGS) $(MODULE).spec.c: $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) --exe-mode gui --entry wine_initial_task -L$(DLLDIR) $(IMPORTS:%=-l%) + $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) --exe-mode gui --entry wine_initial_task -L$(DLLDIR) $(IMPORTS:%=-l%) install:: $(MODULE) $(MKINSTALLDIRS) $(bindir) diff --git a/programs/Makeprog.rules.in b/programs/Makeprog.rules.in index 8eb1ba039f0..dc2a5aa8489 100644 --- a/programs/Makeprog.rules.in +++ b/programs/Makeprog.rules.in @@ -24,7 +24,7 @@ all: $(MODULE)$(DLLEXT) $(BASEMODULE)$(EXEEXT) # Rule for main module spec file $(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(ALL_OBJS) $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) $(APPMODE:%=--exe-mode %) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%) + $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) $(APPMODE:%=--exe-mode %) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%) # Rules for .so main module diff --git a/programs/avitools/Makefile.in b/programs/avitools/Makefile.in index cb551e6b13f..df1c1a7d2d0 100644 --- a/programs/avitools/Makefile.in +++ b/programs/avitools/Makefile.in @@ -18,13 +18,13 @@ C_SRCS = \ all: $(PROGRAMS:%=%$(DLLEXT)) $(PROGRAMS:.exe=$(EXEEXT)) aviinfo.exe.spec.c: aviinfo.o $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe aviinfo.exe --exe-mode gui aviinfo.o -L$(DLLDIR) -lkernel32 + $(WINEBUILD) $(DEFS) -o $@ --exe aviinfo.exe --exe-mode gui aviinfo.o -L$(DLLDIR) -lkernel32 aviplay.exe.spec.c: aviplay.o $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe aviplay.exe --exe-mode gui aviplay.o -L$(DLLDIR) -lddraw -lkernel32 + $(WINEBUILD) $(DEFS) -o $@ --exe aviplay.exe --exe-mode gui aviplay.o -L$(DLLDIR) -lddraw -lkernel32 icinfo.exe.spec.c: icinfo.o $(WINEBUILD) - $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe icinfo.exe --exe-mode gui icinfo.o -L$(DLLDIR) -lmsvfw32 -lkernel32 + $(WINEBUILD) $(DEFS) -o $@ --exe icinfo.exe --exe-mode gui icinfo.o -L$(DLLDIR) -lmsvfw32 -lkernel32 aviinfo.exe.so: aviinfo.o aviinfo.exe.spec.o $(LDSHARED) $(LDDLLFLAGS) -o $@ aviinfo.o aviinfo.exe.spec.o $(ALL_LIBS) -lc