Renamed Winelib apps to .exe.so to follow the dll naming convention.
This commit is contained in:
parent
6114ee716b
commit
cc2ee7636d
|
@ -284,18 +284,18 @@ $(TESTMAIN):
|
|||
$(TESTLIST): Makefile.in
|
||||
$(TOPSRCDIR)/programs/winetest/make_ctests $(CTESTS) >$(TESTLIST) || $(RM) $(TESTLIST)
|
||||
|
||||
$(TESTPROGRAM): $(TESTPROGRAM).so
|
||||
$(TESTPROGRAM): $(TESTPROGRAM).exe.so
|
||||
$(RM) $(TESTPROGRAM) && cd tests && $(LN_S) $(TOPOBJDIR)/../wine `basename $(TESTPROGRAM)`
|
||||
|
||||
$(TESTPROGRAM).so: $(TESTPROGRAM).spec.o $(TESTOBJS)
|
||||
$(LDSHARED) $(LDDLLFLAGS) $(TESTPROGRAM).spec.o $(TESTOBJS) -o $@ $(LIBWINE) $(LIBS)
|
||||
$(TESTPROGRAM).exe.so: $(TESTPROGRAM).exe.spec.o $(TESTOBJS)
|
||||
$(LDSHARED) $(LDDLLFLAGS) $(TESTPROGRAM).exe.spec.o $(TESTOBJS) -o $@ $(LIBWINE) $(LIBS)
|
||||
|
||||
$(TESTPROGRAM).tmp.o: $(TESTOBJS)
|
||||
$(TESTPROGRAM).exe.tmp.o: $(TESTOBJS)
|
||||
$(LDCOMBINE) $(TESTOBJS) -o $@
|
||||
-$(STRIP) --strip-unneeded $@
|
||||
|
||||
$(TESTPROGRAM).spec.c: $(TESTPROGRAM).tmp.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym $(TESTPROGRAM).tmp.o -o $@ -exe $(TESTPROGRAM) -mcui -L$(DLLDIR) $(TESTIMPORTS:%=-l%)
|
||||
$(TESTPROGRAM).exe.spec.c: $(TESTPROGRAM).exe.tmp.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym $(TESTPROGRAM).exe.tmp.o -o $@ -exe $(TESTPROGRAM).exe -mcui -L$(DLLDIR) $(TESTIMPORTS:%=-l%)
|
||||
|
||||
$(TESTPROGRAM).exe: $(TESTOBJS)
|
||||
$(CC) $(TESTOBJS) -o $@ $(TESTIMPORTS:%=-l%) $(LIBWINE) $(LIBS)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
Makefile
|
||||
lex.yy.c
|
||||
winedbg
|
||||
winedbg.dbg.c
|
||||
winedbg.spec.c
|
||||
winedbg.exe.dbg.c
|
||||
winedbg.exe.spec.c
|
||||
y.tab.c
|
||||
y.tab.h
|
||||
|
|
|
@ -3,7 +3,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = winedbg
|
||||
MODULE = winedbg.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = advapi32 kernel32 ntdll
|
||||
DELAYIMPORTS = user32
|
||||
|
|
|
@ -2,7 +2,7 @@ alloc.ok
|
|||
atom.ok
|
||||
directory.ok
|
||||
file.ok
|
||||
kernel32_test.spec.c
|
||||
kernel32_test.exe.spec.c
|
||||
path.ok
|
||||
process.ok
|
||||
testlist.c
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
oleaut32_test.spec.c
|
||||
oleaut32_test.exe.spec.c
|
||||
testlist.c
|
||||
vartest.ok
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
shlwapi_test.spec.c
|
||||
shlwapi_test.exe.spec.c
|
||||
shreg.ok
|
||||
testlist.c
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class.ok
|
||||
sysparams.ok
|
||||
testlist.c
|
||||
user32_test.spec.c
|
||||
user32_test.exe.spec.c
|
||||
wsprintf.ok
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
sock.ok
|
||||
testlist.c
|
||||
ws2_32_test.spec.c
|
||||
ws2_32_test.exe.spec.c
|
||||
|
|
|
@ -14,12 +14,13 @@ LDDLLFLAGS = @LDDLLFLAGS@
|
|||
ALL_OBJS = $(OBJS) $(MODULE).dbg.o
|
||||
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
BASEMODULE = $(MODULE:.exe=)
|
||||
TESTIMPORTS = $(DELAYIMPORTS) $(IMPORTS)
|
||||
RCOBJS = $(RC_SRCS:.rc=.res.o)
|
||||
|
||||
@MAKE_RULES@
|
||||
|
||||
all: $(MODULE)$(EXEEXT)
|
||||
all: $(MODULE)$(DLLEXT) $(BASEMODULE)$(EXEEXT)
|
||||
|
||||
# Rule for main module spec file
|
||||
|
||||
|
@ -31,12 +32,12 @@ $(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(SYMBOLFILE) $(WINEBUILD)
|
|||
$(MODULE).so: $(MODULE).spec.o $(ALL_OBJS) Makefile.in
|
||||
$(LDSHARED) $(LDDLLFLAGS) $(MODULE).spec.o $(ALL_OBJS) -o $@ $(ALL_LIBS)
|
||||
|
||||
$(MODULE): $(MODULE).so
|
||||
$(RM) $(MODULE) && $(LN_S) $(TOPOBJDIR)/wine $(MODULE)
|
||||
$(BASEMODULE): $(MODULE).so
|
||||
$(RM) $(BASEMODULE) && $(LN_S) $(TOPOBJDIR)/wine $(BASEMODULE)
|
||||
|
||||
# Rules for .exe main module
|
||||
|
||||
$(MODULE).exe: $(ALL_OBJS) $(RCOBJS) Makefile.in
|
||||
$(MODULE): $(ALL_OBJS) $(RCOBJS) Makefile.in
|
||||
$(CC) $(ALL_OBJS) $(RCOBJS) -o $@ $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(ALL_LIBS)
|
||||
|
||||
# Rules for checking that no imports are missing
|
||||
|
@ -46,25 +47,25 @@ checklink:: $(MODULE).so
|
|||
|
||||
# Rules for testing
|
||||
|
||||
$(TESTRESULTS): $(MODULE).so
|
||||
$(TESTRESULTS): $(MODULE)$(DLLEXT)
|
||||
|
||||
# Rules for installation
|
||||
|
||||
.PHONY: install_prog$(EXEEXT)
|
||||
.PHONY: install_prog install_prog.so
|
||||
|
||||
install_prog:: $(MODULE).so
|
||||
install_prog.so:: $(MODULE).so
|
||||
$(MKINSTALLDIRS) $(bindir)
|
||||
$(INSTALL_PROGRAM) $(MODULE).so $(bindir)/$(MODULE).so
|
||||
cd $(bindir) && $(RM) $(MODULE) && $(LN_S) wine $(MODULE)
|
||||
cd $(bindir) && $(RM) $(BASEMODULE) && $(LN_S) wine $(BASEMODULE)
|
||||
|
||||
install_prog.exe:: $(MODULE).exe
|
||||
install_prog.exe:: $(MODULE)
|
||||
$(MKINSTALLDIRS) $(bindir)
|
||||
$(INSTALL_PROGRAM) $(MODULE).exe $(bindir)/$(MODULE).exe
|
||||
$(INSTALL_PROGRAM) $(MODULE) $(bindir)/$(MODULE)
|
||||
|
||||
install:: install_prog$(EXEEXT)
|
||||
install:: install_prog$(DLLEXT)
|
||||
|
||||
uninstall::
|
||||
$(RM) $(bindir)/$(MODULE)$(EXEEXT) $(bindir)/$(MODULE).so
|
||||
$(RM) $(bindir)/$(BASEMODULE) $(bindir)/$(MODULE) $(bindir)/$(MODULE).so
|
||||
|
||||
clean::
|
||||
$(RM) $(MODULE)$(EXEEXT)
|
||||
$(RM) $(BASEMODULE) $(MODULE)
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
Makefile
|
||||
icinfo
|
||||
icinfo.spec.c
|
||||
aviplay
|
||||
aviplay.spec.c
|
||||
aviinfo
|
||||
aviinfo.spec.c
|
||||
aviinfo.exe.spec.c
|
||||
aviplay.exe.spec.c
|
||||
icinfo.exe.spec.c
|
||||
|
|
|
@ -5,54 +5,77 @@ TOPOBJDIR = ../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = none
|
||||
PROGRAMS = icinfo aviinfo aviplay
|
||||
PROGRAMS = aviinfo.exe aviplay.exe icinfo.exe
|
||||
ALL_LIBS = $(LIBWINE) $(LIBS)
|
||||
|
||||
all: $(PROGRAMS)
|
||||
C_SRCS = \
|
||||
aviinfo.c \
|
||||
aviplay.c \
|
||||
icinfo.c
|
||||
|
||||
@MAKE_RULES@
|
||||
|
||||
aviinfo.spec.c: aviinfo.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym aviinfo.o -o aviinfo.spec.c -exe aviinfo -mgui -L$(DLLDIR) -lkernel32
|
||||
all: $(PROGRAMS:%=%$(DLLEXT)) $(PROGRAMS:%.exe=%$(EXEEXT))
|
||||
|
||||
aviplay.spec.c: aviplay.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym aviplay.o -o aviplay.spec.c -exe aviplay -mgui -L$(DLLDIR) -lddraw -lkernel32
|
||||
aviinfo.exe.spec.c: aviinfo.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym aviinfo.o -o aviinfo.exe.spec.c -exe aviinfo.exe -mgui -L$(DLLDIR) -lkernel32
|
||||
|
||||
icinfo.spec.c: icinfo.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym icinfo.o -o icinfo.spec.c -exe icinfo -mgui -L$(DLLDIR) -lmsvfw32 -lkernel32
|
||||
aviplay.exe.spec.c: aviplay.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym aviplay.o -o aviplay.exe.spec.c -exe aviplay.exe -mgui -L$(DLLDIR) -lddraw -lkernel32
|
||||
|
||||
aviinfo.so: aviinfo.o aviinfo.spec.o
|
||||
$(LDSHARED) $(LDDLLFLAGS) -o aviinfo.so aviinfo.o aviinfo.spec.o $(ALL_LIBS)
|
||||
icinfo.exe.spec.c: icinfo.o $(WINEBUILD)
|
||||
$(LDPATH) $(WINEBUILD) $(DEFS) -sym icinfo.o -o icinfo.exe.spec.c -exe icinfo.exe -mgui -L$(DLLDIR) -lmsvfw32 -lkernel32
|
||||
|
||||
aviplay.so: aviplay.o aviplay.spec.o
|
||||
$(LDSHARED) $(LDDLLFLAGS) -o aviplay.so aviplay.o aviplay.spec.o $(ALL_LIBS)
|
||||
aviinfo.exe.so: aviinfo.o aviinfo.exe.spec.o
|
||||
$(LDSHARED) $(LDDLLFLAGS) -o aviinfo.exe.so aviinfo.o aviinfo.exe.spec.o $(ALL_LIBS)
|
||||
|
||||
icinfo.so: icinfo.o icinfo.spec.o
|
||||
$(LDSHARED) $(LDDLLFLAGS) -o icinfo.so icinfo.o icinfo.spec.o $(ALL_LIBS)
|
||||
aviplay.exe.so: aviplay.o aviplay.exe.spec.o
|
||||
$(LDSHARED) $(LDDLLFLAGS) -o aviplay.exe.so aviplay.o aviplay.exe.spec.o $(ALL_LIBS)
|
||||
|
||||
aviinfo: aviinfo.so
|
||||
icinfo.exe.so: icinfo.o icinfo.exe.spec.o
|
||||
$(LDSHARED) $(LDDLLFLAGS) -o icinfo.exe.so icinfo.o icinfo.exe.spec.o $(ALL_LIBS)
|
||||
|
||||
aviinfo.exe: aviinfo.o
|
||||
$(CC) -o $@ aviinfo.o -lkernel32 $(ALL_LIBS)
|
||||
|
||||
aviplay.exe: aviplay.o
|
||||
$(CC) -o $@ aviplay.o -lddraw -lkernel32 $(ALL_LIBS)
|
||||
|
||||
icinfo.exe: icinfo.o
|
||||
$(CC) -o $@ icinfo.o -lmsvfw32 -lkernel32 $(ALL_LIBS)
|
||||
|
||||
aviinfo: aviinfo.exe.so
|
||||
$(RM) aviinfo && $(LN_S) $(TOPOBJDIR)/wine aviinfo
|
||||
|
||||
aviplay: aviplay.so
|
||||
aviplay: aviplay.exe.so
|
||||
$(RM) aviplay && $(LN_S) $(TOPOBJDIR)/wine aviplay
|
||||
|
||||
icinfo: icinfo.so
|
||||
icinfo: icinfo.exe.so
|
||||
$(RM) icinfo && $(LN_S) $(TOPOBJDIR)/wine icinfo
|
||||
|
||||
install:: $(PROGRAMS:%=%.so)
|
||||
.PHONY: install_prog install_prog.so
|
||||
|
||||
install_prog.so:: $(PROGRAMS:%=%.so)
|
||||
$(MKINSTALLDIRS) $(bindir)
|
||||
$(INSTALL_PROGRAM) aviinfo.so $(bindir)/aviinfo.so
|
||||
$(INSTALL_PROGRAM) aviplay.so $(bindir)/aviplay.so
|
||||
$(INSTALL_PROGRAM) icinfo.so $(bindir)/icinfo.so
|
||||
$(INSTALL_PROGRAM) aviinfo.exe.so $(bindir)/aviinfo.exe.so
|
||||
$(INSTALL_PROGRAM) aviplay.exe.so $(bindir)/aviplay.exe.so
|
||||
$(INSTALL_PROGRAM) icinfo.exe.so $(bindir)/icinfo.exe.so
|
||||
cd $(bindir) && $(LN_S) wine aviinfo && $(LN_S) wine aviplay && $(LN_S) wine icinfo
|
||||
|
||||
install_prog:: $(PROGRAMS)
|
||||
$(MKINSTALLDIRS) $(bindir)
|
||||
$(INSTALL_PROGRAM) aviinfo.exe $(bindir)/aviinfo.exe
|
||||
$(INSTALL_PROGRAM) aviplay.exe $(bindir)/aviplay.exe
|
||||
$(INSTALL_PROGRAM) icinfo.exe $(bindir)/icinfo.exe
|
||||
|
||||
install:: install_prog$(DLLEXT)
|
||||
|
||||
uninstall::
|
||||
$(RM) $(bindir)/aviinfo.so $(bindir)/aviplay.so $(bindir)/icinfo.so
|
||||
$(RM) $(bindir)/aviinfo $(bindir)/aviplay $(bindir)/icinfo
|
||||
$(RM) $(PROGRAMS:%=$(bindir)/%$(DLLEXT)) $(PROGRAMS:%.exe=$(bindir)/%)
|
||||
|
||||
checklink:: $(PROGRAMS:%=%.so)
|
||||
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviinfo.so && $(RM) checklink
|
||||
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviplay.so && $(RM) checklink
|
||||
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c icinfo.so && $(RM) checklink
|
||||
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviinfo.exe.so && $(RM) checklink
|
||||
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviplay.exe.so && $(RM) checklink
|
||||
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c icinfo.exe.so && $(RM) checklink
|
||||
|
||||
### Dependencies:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
clock
|
||||
clock.dbg.c
|
||||
clock.spec.c
|
||||
clock.exe.dbg.c
|
||||
clock.exe.spec.c
|
||||
rsrc.res
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = clock
|
||||
MODULE = clock.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = comdlg32 shell32 user32 gdi32 kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
cmdlgr.res
|
||||
cmdlgtst
|
||||
cmdlgtst.dbg.c
|
||||
cmdlgtst.spec.c
|
||||
cmdlgtst.exe.dbg.c
|
||||
cmdlgtst.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = cmdlgtst
|
||||
MODULE = cmdlgtst.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = comdlg32 user32 gdi32 kernel32
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Makefile
|
||||
control
|
||||
control.dbg.c
|
||||
control.spec.c
|
||||
control.exe.dbg.c
|
||||
control.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = control
|
||||
MODULE = control.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = shell32 user32 kernel32
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Makefile
|
||||
expand.dbg.c
|
||||
expand.spec.c
|
||||
expand.exe.dbg.c
|
||||
expand.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = expand
|
||||
MODULE = expand.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = lz32 kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
notepad
|
||||
notepad.dbg.c
|
||||
notepad.spec.c
|
||||
notepad.exe.dbg.c
|
||||
notepad.exe.spec.c
|
||||
rsrc.res
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = notepad
|
||||
MODULE = notepad.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = comdlg32 shell32 user32 gdi32 kernel32
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Makefile
|
||||
osversioncheck
|
||||
osversioncheck.dbg.c
|
||||
osversioncheck.spec.c
|
||||
osversioncheck.exe.dbg.c
|
||||
osversioncheck.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = osversioncheck
|
||||
MODULE = osversioncheck.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
progman
|
||||
progman.dbg.c
|
||||
progman.spec.c
|
||||
progman.exe.dbg.c
|
||||
progman.exe.spec.c
|
||||
rsrc.res
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = progman
|
||||
MODULE = progman.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = shell32 comdlg32 user32 gdi32 kernel32
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Makefile
|
||||
regapi
|
||||
regapi.dbg.c
|
||||
regapi.spec.c
|
||||
regapi.exe.dbg.c
|
||||
regapi.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = regapi
|
||||
MODULE = regapi.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = advapi32 kernel32
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Makefile
|
||||
regedit.dbg.c
|
||||
regedit.spec.c
|
||||
regedit.exe.dbg.c
|
||||
regedit.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = regedit
|
||||
MODULE = regedit.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = msvcrt advapi32 kernel32
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Makefile
|
||||
regsvr32.dbg.c
|
||||
regsvr32.spec.c
|
||||
regsvr32.exe.dbg.c
|
||||
regsvr32.exe.spec.c
|
||||
|
|
|
@ -3,7 +3,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = regsvr32
|
||||
MODULE = regsvr32.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = msvcrt kernel32
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Makefile
|
||||
regtest
|
||||
regtest.dbg.c
|
||||
regtest.spec.c
|
||||
regtest.exe.dbg.c
|
||||
regtest.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = regtest
|
||||
MODULE = regtest.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = advapi32 kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
rsrc.res
|
||||
uninstaller
|
||||
uninstaller.dbg.c
|
||||
uninstaller.spec.c
|
||||
uninstaller.exe.dbg.c
|
||||
uninstaller.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = uninstaller
|
||||
MODULE = uninstaller.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = user32 gdi32 advapi32 kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
view
|
||||
view.dbg.c
|
||||
view.spec.c
|
||||
view.exe.dbg.c
|
||||
view.exe.spec.c
|
||||
viewrc.res
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = view
|
||||
MODULE = view.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = comdlg32 user32 gdi32 kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
wcmd
|
||||
wcmd.dbg.c
|
||||
wcmd.spec.c
|
||||
wcmd.exe.dbg.c
|
||||
wcmd.exe.spec.c
|
||||
wcmdrc.res
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = wcmd
|
||||
MODULE = wcmd.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = shell32 user32 kernel32
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
wineconsole
|
||||
wineconsole.dbg.c
|
||||
wineconsole.spec.c
|
||||
wineconsole.exe.dbg.c
|
||||
wineconsole.exe.spec.c
|
||||
wineconsole_res.res
|
||||
|
|
|
@ -3,7 +3,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = wineconsole
|
||||
MODULE = wineconsole.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = gdi32 user32 advapi32 kernel32 ntdll
|
||||
DELAYIMPORTS = comctl32
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
rsrc.res
|
||||
winemine
|
||||
winemine.dbg.c
|
||||
winemine.spec.c
|
||||
winemine.exe.dbg.c
|
||||
winemine.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = winemine
|
||||
MODULE = winemine.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = user32 gdi32 advapi32 kernel32
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Makefile
|
||||
winepath
|
||||
winepath.dbg.c
|
||||
winepath.spec.c
|
||||
winepath.exe.dbg.c
|
||||
winepath.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = winepath
|
||||
MODULE = winepath.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = kernel32
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Makefile
|
||||
wine.c
|
||||
winetest.dbg.c
|
||||
winetest.spec.c
|
||||
winetest.exe.dbg.c
|
||||
winetest.exe.spec.c
|
||||
|
|
|
@ -6,7 +6,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = winetest
|
||||
MODULE = winetest.exe
|
||||
APPMODE = cui
|
||||
IMPORTS = kernel32
|
||||
|
||||
|
|
|
@ -2,8 +2,7 @@ Makefile
|
|||
hlp2sgml
|
||||
lex.yy.c
|
||||
rsrc.res
|
||||
winhelp
|
||||
winhelp.dbg.c
|
||||
winhelp.spec.c
|
||||
winhelp.exe.dbg.c
|
||||
winhelp.exe.spec.c
|
||||
y.tab.c
|
||||
y.tab.h
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = winhelp
|
||||
MODULE = winhelp.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = comdlg32 shell32 user32 gdi32 kernel32
|
||||
PROGRAMS = hlp2sgml
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Makefile
|
||||
winver
|
||||
winver.dbg.c
|
||||
winver.spec.c
|
||||
winver.exe.dbg.c
|
||||
winver.exe.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = winver
|
||||
MODULE = winver.exe
|
||||
APPMODE = gui
|
||||
IMPORTS = shell32 kernel32
|
||||
|
||||
|
|
|
@ -450,15 +450,14 @@ void *open_winelib_app( char *argv[] )
|
|||
else name++;
|
||||
if (!strcmp( name, "wine" )) return NULL;
|
||||
}
|
||||
|
||||
/* now try argv[0] with ".so" appended */
|
||||
if ((tmp = HeapAlloc( GetProcessHeap(), 0, strlen(argv0) + 4 )))
|
||||
if ((tmp = HeapAlloc( GetProcessHeap(), 0, strlen(argv0) + 8 )))
|
||||
{
|
||||
strcpy( tmp, argv0 );
|
||||
strcat( tmp, ".so" );
|
||||
strcat( tmp, ".exe.so" );
|
||||
/* search in PATH only if there was no '/' in argv[0] */
|
||||
ret = wine_dll_load_main_exe( tmp, (name == argv0), errStr, sizeof(errStr) );
|
||||
if (!ret && !argv[1])
|
||||
if (!ret && !argv[1] && !main_exe_name[0])
|
||||
{
|
||||
/* if no argv[1], this will be better than displaying usage */
|
||||
MESSAGE( "%s: could not load library '%s' as Winelib application: %s\n",
|
||||
|
|
Loading…
Reference in New Issue