mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 05:46:37 +00:00
Build most programs as .so files.
This commit is contained in:
parent
626f425b6a
commit
a10fbddeb9
|
@ -1,11 +1,12 @@
|
||||||
DEFS = -DWINELIB
|
DEFS = @DLLFLAGS@
|
||||||
TOPSRCDIR = @top_srcdir@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
TOPOBJDIR = ../..
|
TOPSRCDIR = @top_srcdir@
|
||||||
SRCDIR = @srcdir@
|
TOPOBJDIR = ../..
|
||||||
VPATH = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
MODULE = none
|
VPATH = @srcdir@
|
||||||
PROGRAMS = icinfo aviinfo aviplay
|
MODULE = none
|
||||||
IMPORTS = msvfw32 winmm ddraw x11drv user32 gdi32 kernel32 ntdll
|
PROGRAMS = icinfo aviinfo aviplay
|
||||||
|
ALL_LIBS = -L$(TOPOBJDIR) -lwine $(LIBS)
|
||||||
|
|
||||||
SPEC_SRCS = \
|
SPEC_SRCS = \
|
||||||
icinfo.spec \
|
icinfo.spec \
|
||||||
|
@ -16,21 +17,47 @@ all: $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
icinfo: icinfo.o icinfo.spec.o
|
aviinfo.spec.c: aviinfo.spec aviinfo.o $(WINEBUILD)
|
||||||
$(CC) -o icinfo icinfo.o icinfo.spec.o $(DLL_LINK) $(LIBS)
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L $(DLLDIR) -sym aviinfo.o -o aviinfo.spec.c -spec aviinfo.spec
|
||||||
|
|
||||||
aviinfo: aviinfo.o aviinfo.spec.o
|
aviplay.spec.c: aviplay.spec aviplay.o $(WINEBUILD)
|
||||||
$(CC) -o aviinfo aviinfo.o aviinfo.spec.o $(DLL_LINK) $(LIBS)
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L $(DLLDIR) -sym aviplay.o -o aviplay.spec.c -spec aviplay.spec
|
||||||
|
|
||||||
aviplay: aviplay.o aviplay.spec.o
|
icinfo.spec.c: icinfo.spec icinfo.o $(WINEBUILD)
|
||||||
$(CC) -o aviplay aviplay.o aviplay.spec.o $(DLL_LINK) $(LIBS)
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L $(DLLDIR) -sym icinfo.o -o icinfo.spec.c -spec icinfo.spec
|
||||||
|
|
||||||
install::
|
aviinfo.so: aviinfo.o aviinfo.spec.o
|
||||||
$(INSTALL_PROGRAM) icinfo $(bindir)/icinfo
|
$(LDSHARED) $(LDDLLFLAGS) -o aviinfo.so aviinfo.o aviinfo.spec.o $(ALL_LIBS)
|
||||||
$(INSTALL_PROGRAM) aviinfo $(bindir)/aviinfo
|
|
||||||
$(INSTALL_PROGRAM) aviplay $(bindir)/aviplay
|
aviplay.so: aviplay.o aviplay.spec.o
|
||||||
|
$(LDSHARED) $(LDDLLFLAGS) -o aviplay.so aviplay.o aviplay.spec.o $(ALL_LIBS)
|
||||||
|
|
||||||
|
icinfo.so: icinfo.o icinfo.spec.o
|
||||||
|
$(LDSHARED) $(LDDLLFLAGS) -o icinfo.so icinfo.o icinfo.spec.o $(ALL_LIBS)
|
||||||
|
|
||||||
|
aviinfo: aviinfo.so
|
||||||
|
$(RM) aviinfo && $(LN_S) $(TOPOBJDIR)/wine aviinfo
|
||||||
|
|
||||||
|
aviplay: aviplay.so
|
||||||
|
$(RM) aviplay && $(LN_S) $(TOPOBJDIR)/wine aviplay
|
||||||
|
|
||||||
|
icinfo: icinfo.so
|
||||||
|
$(RM) icinfo && $(LN_S) $(TOPOBJDIR)/wine icinfo
|
||||||
|
|
||||||
|
install:: $(PROGRAMS:%=%.so)
|
||||||
|
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
||||||
|
$(INSTALL_PROGRAM) aviinfo.so $(bindir)/aviinfo.so
|
||||||
|
$(INSTALL_PROGRAM) aviplay.so $(bindir)/aviplay.so
|
||||||
|
$(INSTALL_PROGRAM) icinfo.so $(bindir)/icinfo.so
|
||||||
|
cd $(bindir) && $(LN_S) wine aviinfo && $(LN_S) wine aviplay && $(LN_S) wine icinfo
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(bindir)/aviinfo $(bindir)/icinfo $(bindir)/aviplay
|
$(RM) $(bindir)/aviinfo.so $(bindir)/aviplay.so $(bindir)/icinfo.so
|
||||||
|
$(RM) $(bindir)/aviinfo $(bindir)/aviplay $(bindir)/icinfo
|
||||||
|
|
||||||
|
checklink:: $(PROGRAMS:%=%.so)
|
||||||
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviinfo.so $(ALL_LIBS) && $(RM) checklink
|
||||||
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviplay.so $(ALL_LIBS) && $(RM) checklink
|
||||||
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c icinfo.so $(ALL_LIBS) && $(RM) checklink
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
name aviinfo
|
name aviinfo
|
||||||
mode guiexe
|
mode guiexe
|
||||||
type win32
|
type win32
|
||||||
init WinMain
|
|
||||||
|
import kernel32.dll
|
||||||
|
import ntdll.dll
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
name aviplay
|
name aviplay
|
||||||
mode guiexe
|
mode guiexe
|
||||||
type win32
|
type win32
|
||||||
init WinMain
|
|
||||||
|
import ddraw.dll
|
||||||
|
import kernel32.dll
|
||||||
|
import ntdll.dll
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
name icinfo
|
name icinfo
|
||||||
mode guiexe
|
mode guiexe
|
||||||
type win32
|
type win32
|
||||||
init WinMain
|
|
||||||
|
import msvfw32.dll
|
||||||
|
import kernel32.dll
|
||||||
|
import ntdll.dll
|
||||||
|
|
|
@ -1,38 +1,21 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = clock
|
||||||
PROGRAMS = clock
|
|
||||||
IMPORTS = advapi32 comctl32 shlwapi shell32 comdlg32 ole32 rpcrt4 winspool.drv user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
LICENSELANG = En
|
LICENSELANG = En
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
language.c \
|
language.c \
|
||||||
license.c \
|
license.c \
|
||||||
winclock.c \
|
|
||||||
main.c \
|
main.c \
|
||||||
|
winclock.c \
|
||||||
$(LICENSELANG:%=License_%.c)
|
$(LICENSELANG:%=License_%.c)
|
||||||
|
|
||||||
SPEC_SRCS = clock.spec
|
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
clock: $(OBJS)
|
|
||||||
$(CC) -o clock $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) clock $(bindir)/clock
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/clock
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,34 +1,16 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = cmdlgtst
|
||||||
PROGRAMS = cmdlgtst
|
|
||||||
IMPORTS = advapi32 comctl32 comdlg32 shell32 shlwapi ole32 rpcrt4 winspool.drv user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
cmdlgtst.c
|
cmdlgtst.c
|
||||||
|
|
||||||
SPEC_SRCS = \
|
|
||||||
cmdlgtst.spec
|
|
||||||
|
|
||||||
RC_SRCS = \
|
RC_SRCS = \
|
||||||
cmdlgr.rc
|
cmdlgr.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
cmdlgtst: $(OBJS)
|
|
||||||
$(CC) -o cmdlgtst $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) cmdlgtst $(bindir)/cmdlgtst
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/cmdlgtst
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,27 +1,12 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = control
|
||||||
PROGRAMS = control
|
|
||||||
IMPORTS = advapi32 comctl32 shlwapi shell32 ole32 rpcrt4 user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = control.c
|
C_SRCS = control.c
|
||||||
|
|
||||||
SPEC_SRCS = control.spec
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
control: $(OBJS)
|
|
||||||
$(CC) -o control $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) control $(bindir)/control
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/control
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,39 +1,22 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = notepad
|
||||||
PROGRAMS = notepad
|
|
||||||
IMPORTS = advapi32 comctl32 shlwapi shell32 ole32 rpcrt4 comdlg32 winspool.drv user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
LICENSELANG = En
|
LICENSELANG = En
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
license.c \
|
|
||||||
main.c \
|
|
||||||
dialog.c \
|
dialog.c \
|
||||||
language.c \
|
language.c \
|
||||||
|
license.c \
|
||||||
|
main.c \
|
||||||
search.c \
|
search.c \
|
||||||
$(LICENSELANG:%=License_%.c)
|
$(LICENSELANG:%=License_%.c)
|
||||||
|
|
||||||
SPEC_SRCS = notepad.spec
|
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
notepad: $(OBJS)
|
|
||||||
$(CC) -o notepad $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) notepad $(bindir)/notepad
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/notepad
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,27 +1,12 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = osversioncheck
|
||||||
PROGRAMS = osversioncheck
|
|
||||||
IMPORTS = kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = osversioncheck.c
|
C_SRCS = osversioncheck.c
|
||||||
|
|
||||||
SPEC_SRCS = osversioncheck.spec
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
osversioncheck: $(OBJS)
|
|
||||||
$(CC) -o osversioncheck $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) osversioncheck $(bindir)/osversioncheck
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/osversioncheck
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -38,4 +38,6 @@ install::
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(bindir)/progman
|
$(RM) $(bindir)/progman
|
||||||
|
|
||||||
|
checklink::
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,29 +1,13 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = regapi
|
||||||
PROGRAMS = regapi
|
|
||||||
IMPORTS = kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
regapi.c
|
regapi.c
|
||||||
|
|
||||||
SPEC_SRCS = \
|
@MAKE_PROG_RULES@
|
||||||
regapi.spec
|
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
regapi: $(OBJS)
|
|
||||||
$(CC) -o regapi $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) regapi $(bindir)/regapi
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/regapi
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,27 +1,12 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = regtest
|
||||||
PROGRAMS = regtest
|
|
||||||
IMPORTS = kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = regtest.c
|
C_SRCS = regtest.c
|
||||||
|
|
||||||
SPEC_SRCS = regtest.spec
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
regtest: $(OBJS)
|
|
||||||
$(CC) -o regtest $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) regtest $(bindir)/regtest
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/regtest
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,34 +1,15 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = uninstaller
|
||||||
PROGRAMS = uninstaller
|
|
||||||
IMPORTS = user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
LICENSELANG = En
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
SPEC_SRCS = uninstaller.spec
|
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
uninstaller: $(OBJS)
|
|
||||||
$(CC) -o uninstaller $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) uninstaller $(bindir)/uninstaller
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/uninstaller
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,36 +1,18 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = view
|
||||||
PROGRAMS = view
|
|
||||||
IMPORTS = advapi32 comctl32 comdlg32 shell32 shlwapi ole32 rpcrt4 winspool.drv user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
init.c \
|
init.c \
|
||||||
view.c \
|
view.c \
|
||||||
winmain.c
|
winmain.c
|
||||||
|
|
||||||
SPEC_SRCS = \
|
|
||||||
view.spec
|
|
||||||
|
|
||||||
RC_SRCS = \
|
RC_SRCS = \
|
||||||
viewrc.rc
|
viewrc.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
view: $(OBJS)
|
|
||||||
$(CC) -o view $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) view $(bindir)/view
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/view
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = wcmd
|
||||||
PROGRAMS = wcmd
|
|
||||||
IMPORTS = shell32 user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
batch.c \
|
batch.c \
|
||||||
|
@ -13,25 +11,9 @@ C_SRCS = \
|
||||||
directory.c \
|
directory.c \
|
||||||
wcmdmain.c
|
wcmdmain.c
|
||||||
|
|
||||||
SPEC_SRCS = \
|
|
||||||
wcmd.spec
|
|
||||||
|
|
||||||
RC_SRCS = \
|
RC_SRCS = \
|
||||||
wcmdrc.rc
|
wcmdrc.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
wcmd: $(OBJS)
|
|
||||||
$(CC) -o wcmd $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) wcmd $(bindir)/wcmd
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/wcmd
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,35 +1,16 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = winemine
|
||||||
PROGRAMS = winemine
|
|
||||||
IMPORTS = user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
LICENSELANG = En
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
main.c \
|
dialog.c \
|
||||||
dialog.c
|
main.c
|
||||||
|
|
||||||
SPEC_SRCS = winemine.spec
|
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
winemine: $(OBJS)
|
|
||||||
$(CC) -o winemine $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) winemine $(bindir)/winemine
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/winemine
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DWINELIB -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = winhelp
|
||||||
PROGRAMS = winhelp hlp2sgml
|
PROGRAMS = hlp2sgml
|
||||||
IMPORTS = advapi32 comctl32 shlwapi shell32 ole32 rpcrt4 comdlg32 winspool.drv user32 gdi32 kernel32 ntdll
|
IMPORTS = advapi32 comctl32 shlwapi shell32 ole32 rpcrt4 comdlg32 winspool.drv user32 gdi32 kernel32 ntdll
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
|
@ -13,31 +13,23 @@ C_SRCS = \
|
||||||
macro.c \
|
macro.c \
|
||||||
string.c
|
string.c
|
||||||
|
|
||||||
SPEC_SRCS = winhelp.spec
|
|
||||||
|
|
||||||
EXTRA_SRCS = macro.yacc.y macro.lex.l
|
EXTRA_SRCS = macro.yacc.y macro.lex.l
|
||||||
EXTRA_OBJS = y.tab.o lex.yy.o
|
EXTRA_OBJS = y.tab.o lex.yy.o
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
all: $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
$(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
|
|
||||||
|
|
||||||
winhelp: $(OBJS)
|
|
||||||
$(CC) -o winhelp $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
hlp2sgml: hlp2sgml.o hlpfile.o
|
hlp2sgml: hlp2sgml.o hlpfile.o
|
||||||
$(CC) -o hlp2sgml hlp2sgml.o hlpfile.o
|
$(CC) -o hlp2sgml hlp2sgml.o hlpfile.o
|
||||||
|
|
||||||
install::
|
install::
|
||||||
$(INSTALL_PROGRAM) winhelp $(bindir)/winhelp
|
|
||||||
$(INSTALL_PROGRAM) hlp2sgml $(bindir)/hlp2sgml
|
$(INSTALL_PROGRAM) hlp2sgml $(bindir)/hlp2sgml
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(bindir)/winhelp $(bindir)/hlp2sgml
|
$(RM) $(bindir)/hlp2sgml
|
||||||
|
|
||||||
y.tab.c y.tab.h: macro.yacc.y
|
y.tab.c y.tab.h: macro.yacc.y
|
||||||
$(YACC) -d -t $(SRCDIR)/macro.yacc.y
|
$(YACC) -d -t $(SRCDIR)/macro.yacc.y
|
||||||
|
|
|
@ -1,27 +1,12 @@
|
||||||
DEFS = -DWINELIB -DSTRICT
|
EXTRADEFS = -DSTRICT
|
||||||
TOPSRCDIR = @top_srcdir@
|
TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ../..
|
TOPOBJDIR = ../..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = winver
|
||||||
PROGRAMS = winver
|
|
||||||
IMPORTS = advapi32 comctl32 shlwapi shell32 ole32 rpcrt4 user32 gdi32 kernel32 ntdll
|
|
||||||
|
|
||||||
C_SRCS = winver.c
|
C_SRCS = winver.c
|
||||||
|
|
||||||
SPEC_SRCS = winver.spec
|
@MAKE_PROG_RULES@
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
|
||||||
|
|
||||||
winver: $(OBJS)
|
|
||||||
$(CC) -o winver $(OBJS) $(DLL_LINK) $(LIBS)
|
|
||||||
|
|
||||||
install::
|
|
||||||
$(INSTALL_PROGRAM) winver $(bindir)/winver
|
|
||||||
|
|
||||||
uninstall::
|
|
||||||
$(RM) $(bindir)/winver
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
|
@ -3,6 +3,5 @@ mode guiexe
|
||||||
type win32
|
type win32
|
||||||
|
|
||||||
import shell32.dll
|
import shell32.dll
|
||||||
import user32.dll
|
|
||||||
import kernel32.dll
|
import kernel32.dll
|
||||||
import ntdll.dll
|
import ntdll.dll
|
||||||
|
|
Loading…
Reference in a new issue