mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Added .spec files for all libtest/ and programs/ WineLib apps.
Updated all Makefiles to use .spec files and new resource handling.
This commit is contained in:
parent
9ffd403001
commit
3dc5d9461e
53 changed files with 234 additions and 201 deletions
|
@ -1,13 +1,22 @@
|
||||||
Makefile
|
Makefile
|
||||||
expand
|
expand
|
||||||
|
expand.spec.c
|
||||||
hello
|
hello
|
||||||
|
hello.spec.c
|
||||||
hello2
|
hello2
|
||||||
|
hello2.spec.c
|
||||||
hello3
|
hello3
|
||||||
hello3res.h
|
hello3.spec.c
|
||||||
hello3res.s
|
hello3res.s
|
||||||
hello4
|
hello4
|
||||||
|
hello4.spec.c
|
||||||
hello5
|
hello5
|
||||||
|
hello5.spec.c
|
||||||
new
|
new
|
||||||
|
new.spec.c
|
||||||
rolex
|
rolex
|
||||||
|
rolex.spec.c
|
||||||
vartest
|
vartest
|
||||||
|
vartest.spec.c
|
||||||
volinfo
|
volinfo
|
||||||
|
volinfo.spec.c
|
||||||
|
|
|
@ -3,66 +3,57 @@ TOPOBJDIR = ..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
RCFLAGS = -w32 -h
|
|
||||||
PROGRAMS = expand hello hello2 hello3 hello4 hello5 new rolex vartest volinfo
|
PROGRAMS = expand hello hello2 hello3 hello4 hello5 new rolex vartest volinfo
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
WRCEXTRA = -t -A -p $*
|
WRCEXTRA = -s -p $*
|
||||||
|
|
||||||
C_SRCS = \
|
SPEC_SRCS = \
|
||||||
expand.c \
|
expand.spec \
|
||||||
hello.c \
|
hello.spec \
|
||||||
hello2.c \
|
hello2.spec \
|
||||||
hello3.c \
|
hello3.spec \
|
||||||
hello4.c \
|
hello4.spec \
|
||||||
hello5.c \
|
hello5.spec \
|
||||||
new.c \
|
new.spec \
|
||||||
rolex.c \
|
rolex.spec \
|
||||||
vartest.c \
|
vartest.spec \
|
||||||
volinfo.c
|
volinfo.spec
|
||||||
|
|
||||||
RC_SRCS = \
|
RC_SRCS = \
|
||||||
hello3res.rc
|
hello3res.rc
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
depend:: $(RC_SRCS:.rc=.h)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
$(RC_SRCS:.rc=.s): $(WRC)
|
expand: expand.o expand.spec.o
|
||||||
|
$(CC) -o expand $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
$(WINESTUB):
|
hello: hello.o hello.spec.o
|
||||||
@cd ../library && $(MAKE)
|
$(CC) -o hello $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
expand: expand.o $(WINESTUB)
|
hello2: hello2.o hello2.spec.o
|
||||||
$(CC) -o expand expand.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o hello2 $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
hello: hello.o $(WINESTUB)
|
hello3: hello3.o hello3.spec.o hello3res.o
|
||||||
$(CC) -o hello hello.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o hello3 $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
hello2: hello2.o $(WINESTUB)
|
hello4: hello4.o hello4.spec.o
|
||||||
$(CC) -o hello2 hello2.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o hello4 $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
hello3: hello3res.o hello3.o $(WINESTUB)
|
hello5: hello5.o hello5.spec.o
|
||||||
$(CC) -o hello3 hello3.o hello3res.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o hello5 $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
hello3.o: hello3res.h
|
|
||||||
|
|
||||||
hello4: hello4.o $(WINESTUB)
|
new: new.o new.spec.o
|
||||||
$(CC) -o hello4 hello4.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o new $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
hello5: hello5.o $(WINESTUB)
|
rolex: rolex.o rolex.spec.o
|
||||||
$(CC) -o hello5 hello5.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o rolex $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
new: new.o $(WINESTUB)
|
vartest: vartest.o vartest.spec.o
|
||||||
$(CC) -o new new.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o vartest $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
rolex: rolex.o $(WINESTUB)
|
volinfo: volinfo.o volinfo.spec.o
|
||||||
$(CC) -o rolex rolex.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o volinfo $+ $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
vartest: vartest.o $(WINESTUB)
|
|
||||||
$(CC) -o vartest vartest.o $(LDOPTIONS) $(ALL_LIBS)
|
|
||||||
|
|
||||||
volinfo: volinfo.o $(WINESTUB)
|
|
||||||
$(CC) -o volinfo volinfo.o $(LDOPTIONS) $(ALL_LIBS)
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
4
libtest/expand.spec
Normal file
4
libtest/expand.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name expand
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/hello.spec
Normal file
4
libtest/hello.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name hello
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/hello2.spec
Normal file
4
libtest/hello2.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name hello2
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
5
libtest/hello3.spec
Normal file
5
libtest/hello3.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name hello3
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc hello3res
|
4
libtest/hello4.spec
Normal file
4
libtest/hello4.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name hello4
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/hello5.spec
Normal file
4
libtest/hello5.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name hello5
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/new.spec
Normal file
4
libtest/new.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name new
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/rolex.spec
Normal file
4
libtest/rolex.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name rolex
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/vartest.spec
Normal file
4
libtest/vartest.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name vartest
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
libtest/volinfo.spec
Normal file
4
libtest/volinfo.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name volinfo
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
|
@ -1,4 +1,7 @@
|
||||||
Makefile
|
Makefile
|
||||||
icinfo
|
icinfo
|
||||||
|
icinfo.spec.c
|
||||||
aviplay
|
aviplay
|
||||||
|
aviplay.spec.c
|
||||||
aviinfo
|
aviinfo
|
||||||
|
aviinfo.spec.c
|
||||||
|
|
|
@ -6,31 +6,25 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = icinfo aviinfo aviplay
|
PROGRAMS = icinfo aviinfo aviplay
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
WRCEXTRA = -s -p $*
|
||||||
WRCEXTRA = -t -A -p $*
|
|
||||||
|
|
||||||
LANGUAGES =
|
SPEC_SRCS = \
|
||||||
LICENSELANG =
|
icinfo.spec \
|
||||||
|
aviinfo.spec \
|
||||||
|
aviplay.spec
|
||||||
|
|
||||||
MOSTSRCS = \
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
icinfo.c \
|
|
||||||
aviinfo.c \
|
|
||||||
aviinfo.c
|
|
||||||
|
|
||||||
MOSTOBJS = $(MOSTSRCS:.c=.o)
|
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
# Override resource compiler rules
|
icinfo: icinfo.o icinfo.spec.o
|
||||||
icinfo: icinfo.o $(WINESTUB)
|
$(CC) -o icinfo icinfo.o icinfo.spec.o $(LDOPTIONS) $(ALL_LIBS)
|
||||||
$(CC) -o icinfo icinfo.o $(LDOPTIONS) $(ALL_LIBS)
|
|
||||||
|
|
||||||
aviinfo: aviinfo.o $(WINESTUB)
|
aviinfo: aviinfo.o aviinfo.spec.o
|
||||||
$(CC) -o aviinfo aviinfo.o $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o aviinfo aviinfo.o aviinfo.spec.o $(LDOPTIONS) $(ALL_LIBS)
|
||||||
aviplay: aviplay.o $(WINESTUB)
|
|
||||||
$(CC) -o aviplay aviplay.o $(LDOPTIONS) $(ALL_LIBS)
|
aviplay: aviplay.o aviplay.spec.o
|
||||||
|
$(CC) -o aviplay aviplay.o aviplay.spec.o $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
$(INSTALL_PROGRAM) icinfo $(bindir)/icinfo
|
$(INSTALL_PROGRAM) icinfo $(bindir)/icinfo
|
||||||
|
|
4
programs/avitools/aviinfo.spec
Normal file
4
programs/avitools/aviinfo.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name aviinfo
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
programs/avitools/aviplay.spec
Normal file
4
programs/avitools/aviplay.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name aviplay
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
4
programs/avitools/icinfo.spec
Normal file
4
programs/avitools/icinfo.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name icinfo
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
|
@ -1,12 +1,4 @@
|
||||||
Da.s
|
|
||||||
De.s
|
|
||||||
En.s
|
|
||||||
Es.s
|
|
||||||
Fi.s
|
|
||||||
Fr.s
|
|
||||||
Makefile
|
Makefile
|
||||||
Pt.s
|
|
||||||
Sw.s
|
|
||||||
Wa.s
|
|
||||||
clock
|
clock
|
||||||
|
clock.spec.c
|
||||||
rsrc.s
|
rsrc.s
|
||||||
|
|
|
@ -6,7 +6,7 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = clock
|
PROGRAMS = clock
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
WRCEXTRA = -t -A -p clock
|
WRCEXTRA = -s -p clock
|
||||||
|
|
||||||
LICENSELANG = En
|
LICENSELANG = En
|
||||||
|
|
||||||
|
@ -17,9 +17,11 @@ C_SRCS = \
|
||||||
main.c \
|
main.c \
|
||||||
$(LICENSELANG:%=License_%.c)
|
$(LICENSELANG:%=License_%.c)
|
||||||
|
|
||||||
|
SPEC_SRCS = clock.spec
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
|
@ -28,7 +30,7 @@ all: check_wrc $(PROGRAMS)
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
||||||
|
|
||||||
|
|
||||||
clock: $(OBJS) $(WINESTUB)
|
clock: $(OBJS)
|
||||||
$(CC) -o clock $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o clock $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
5
programs/clock/clock.spec
Normal file
5
programs/clock/clock.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name clock
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc clock
|
|
@ -1,4 +1,4 @@
|
||||||
Makefile
|
Makefile
|
||||||
cmdlgr.h
|
|
||||||
cmdlgr.s
|
cmdlgr.s
|
||||||
cmdlgtst
|
cmdlgtst
|
||||||
|
cmdlgtst.spec.c
|
||||||
|
|
|
@ -6,30 +6,22 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = cmdlgtst
|
PROGRAMS = cmdlgtst
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
WRCEXTRA = -s -p cmdlgtst
|
||||||
WRCEXTRA = -t -A -p $*
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
cmdlgtst.c
|
cmdlgtst.c
|
||||||
|
|
||||||
|
SPEC_SRCS = \
|
||||||
|
cmdlgtst.spec
|
||||||
|
|
||||||
RC_SRCS = \
|
RC_SRCS = \
|
||||||
cmdlgr.rc
|
cmdlgr.rc
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
depend:: $(RC_SRCS:.rc=.h)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
# Override resource compiler rules
|
cmdlgtst: $(OBJS)
|
||||||
.rc.s:
|
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
|
||||||
|
|
||||||
.rc.h:
|
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -nH $*.h
|
|
||||||
|
|
||||||
|
|
||||||
cmdlgtst: $(OBJS) $(WINESTUB)
|
|
||||||
$(CC) -o cmdlgtst $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o cmdlgtst $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
@ -38,6 +30,4 @@ install::
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(bindir)/cmdlgtst
|
$(RM) $(bindir)/cmdlgtst
|
||||||
|
|
||||||
$(RC_SRCS:.rc=.s): $(WRC)
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
5
programs/cmdlgtst/cmdlgtst.spec
Normal file
5
programs/cmdlgtst/cmdlgtst.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name cmdlgtst
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc cmdlgtst
|
|
@ -1,2 +1,3 @@
|
||||||
Makefile
|
Makefile
|
||||||
control
|
control
|
||||||
|
control.spec.c
|
||||||
|
|
|
@ -9,11 +9,13 @@ ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
|
|
||||||
C_SRCS = control.c
|
C_SRCS = control.c
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
SPEC_SRCS = control.spec
|
||||||
|
|
||||||
|
all: check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
control: $(OBJS) $(WINESTUB)
|
control: $(OBJS)
|
||||||
$(CC) -o control $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o control $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
4
programs/control/control.spec
Normal file
4
programs/control/control.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name control
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
|
@ -1,11 +1,4 @@
|
||||||
Da.s
|
|
||||||
De.s
|
|
||||||
En.s
|
|
||||||
Es.s
|
|
||||||
Fi.s
|
|
||||||
Fr.s
|
|
||||||
Makefile
|
Makefile
|
||||||
Pt.s
|
|
||||||
Sw.s
|
|
||||||
notepad
|
notepad
|
||||||
|
notepad.spec.c
|
||||||
rsrc.s
|
rsrc.s
|
||||||
|
|
|
@ -6,7 +6,7 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = notepad
|
PROGRAMS = notepad
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
WRCEXTRA = -t -A -p notepad
|
WRCEXTRA = -s -p notepad
|
||||||
|
|
||||||
LICENSELANG = En
|
LICENSELANG = En
|
||||||
|
|
||||||
|
@ -18,9 +18,11 @@ C_SRCS = \
|
||||||
search.c \
|
search.c \
|
||||||
$(LICENSELANG:%=License_%.c)
|
$(LICENSELANG:%=License_%.c)
|
||||||
|
|
||||||
|
SPEC_SRCS = notepad.spec
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
|
@ -28,7 +30,7 @@ all: check_wrc $(PROGRAMS)
|
||||||
.rc.s:
|
.rc.s:
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
||||||
|
|
||||||
notepad: $(OBJS) $(WINESTUB)
|
notepad: $(OBJS)
|
||||||
$(CC) -o notepad $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o notepad $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
5
programs/notepad/notepad.spec
Normal file
5
programs/notepad/notepad.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name notepad
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc notepad
|
|
@ -1,2 +1,3 @@
|
||||||
Makefile
|
Makefile
|
||||||
osversioncheck
|
osversioncheck
|
||||||
|
osversioncheck.spec.c
|
||||||
|
|
|
@ -9,6 +9,8 @@ ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
|
|
||||||
C_SRCS = osversioncheck.c
|
C_SRCS = osversioncheck.c
|
||||||
|
|
||||||
|
SPEC_SRCS = osversioncheck.spec
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
all: $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
4
programs/osversioncheck/osversioncheck.spec
Normal file
4
programs/osversioncheck/osversioncheck.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name osversioncheck
|
||||||
|
mode cuiexe
|
||||||
|
type win32
|
||||||
|
init main
|
|
@ -1,31 +1,4 @@
|
||||||
Da.h
|
|
||||||
Da.s
|
|
||||||
De.h
|
|
||||||
De.s
|
|
||||||
En.h
|
|
||||||
En.s
|
|
||||||
Es.h
|
|
||||||
Es.s
|
|
||||||
Fi.h
|
|
||||||
Fi.s
|
|
||||||
Fr.h
|
|
||||||
Fr.s
|
|
||||||
Hu.h
|
|
||||||
Hu.s
|
|
||||||
It.h
|
|
||||||
It.s
|
|
||||||
Ko.h
|
|
||||||
Ko.s
|
|
||||||
Makefile
|
Makefile
|
||||||
Pt.h
|
|
||||||
Pt.s
|
|
||||||
Sw.h
|
|
||||||
Sw.s
|
|
||||||
Va.h
|
|
||||||
Va.s
|
|
||||||
Wa.h
|
|
||||||
Wa.s
|
|
||||||
accel.h
|
|
||||||
accel.s
|
|
||||||
progman
|
progman
|
||||||
|
progman.spec.c
|
||||||
rsrc.s
|
rsrc.s
|
||||||
|
|
|
@ -6,7 +6,7 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = progman
|
PROGRAMS = progman
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
WRCEXTRA = -t -A -p progman
|
WRCEXTRA = -s -p progman
|
||||||
|
|
||||||
LICENSELANG = En
|
LICENSELANG = En
|
||||||
|
|
||||||
|
@ -20,9 +20,11 @@ C_SRCS = \
|
||||||
string.c \
|
string.c \
|
||||||
$(LICENSELANG:%=License_%.c)
|
$(LICENSELANG:%=License_%.c)
|
||||||
|
|
||||||
|
SPEC_SRCS = progman.spec
|
||||||
|
|
||||||
RC_SRCS = rsrc.rc
|
RC_SRCS = rsrc.rc
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
|
@ -30,7 +32,7 @@ all: check_wrc $(PROGRAMS)
|
||||||
.rc.s:
|
.rc.s:
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
||||||
|
|
||||||
progman: $(OBJS) $(WINESTUB)
|
progman: $(OBJS)
|
||||||
$(CC) -o progman $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o progman $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
5
programs/progman/progman.spec
Normal file
5
programs/progman/progman.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name progman
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc progman
|
|
@ -1,2 +1,3 @@
|
||||||
Makefile
|
Makefile
|
||||||
regapi
|
regapi
|
||||||
|
regapi.spec.c
|
||||||
|
|
|
@ -6,17 +6,18 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = regapi
|
PROGRAMS = regapi
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
|
||||||
WRCEXTRA = -t -A -p $*
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
regapi.c
|
regapi.c
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
SPEC_SRCS = \
|
||||||
|
regapi.spec
|
||||||
|
|
||||||
|
all: check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
regapi: $(OBJS) $(WINESTUB)
|
regapi: $(OBJS)
|
||||||
$(CC) -o regapi $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o regapi $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
4
programs/regapi/regapi.spec
Normal file
4
programs/regapi/regapi.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name regapi
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
|
@ -1,2 +1,3 @@
|
||||||
Makefile
|
Makefile
|
||||||
regtest
|
regtest
|
||||||
|
regtest.spec.c
|
||||||
|
|
|
@ -6,16 +6,16 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = regtest
|
PROGRAMS = regtest
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
|
||||||
WRCEXTRA = -t -A -p $*
|
|
||||||
|
|
||||||
C_SRCS = regtest.c
|
C_SRCS = regtest.c
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
SPEC_SRCS = regtest.spec
|
||||||
|
|
||||||
|
all: check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
regtest: $(OBJS) $(WINESTUB)
|
regtest: $(OBJS)
|
||||||
$(CC) -o regtest $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o regtest $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
4
programs/regtest/regtest.spec
Normal file
4
programs/regtest/regtest.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name regtest
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
|
@ -1,4 +1,4 @@
|
||||||
Makefile
|
Makefile
|
||||||
view
|
view
|
||||||
viewrc.h
|
view.spec.c
|
||||||
viewrc.s
|
viewrc.s
|
||||||
|
|
|
@ -6,32 +6,24 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = view
|
PROGRAMS = view
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
WRCEXTRA = -s -p view
|
||||||
WRCEXTRA = -t -A -p $*
|
|
||||||
|
|
||||||
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: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
depend:: $(RC_SRCS:.rc=.h)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
# Override resource compiler rules
|
view: $(OBJS)
|
||||||
.rc.s:
|
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
|
||||||
|
|
||||||
.rc.h:
|
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -nH $*.h
|
|
||||||
|
|
||||||
|
|
||||||
view: $(OBJS) $(WINESTUB)
|
|
||||||
$(CC) -o view $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o view $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
@ -40,6 +32,4 @@ install::
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(bindir)/view
|
$(RM) $(bindir)/view
|
||||||
|
|
||||||
$(RC_SRCS:.rc=.s): $(WRC)
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
5
programs/view/view.spec
Normal file
5
programs/view/view.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name view
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc view
|
|
@ -1,4 +1,4 @@
|
||||||
Makefile
|
Makefile
|
||||||
wcmd
|
wcmd
|
||||||
wcmdrc.h
|
wcmd.spec.c
|
||||||
wcmdrc.s
|
wcmdrc.s
|
||||||
|
|
|
@ -6,8 +6,7 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = wcmd
|
PROGRAMS = wcmd
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
WRCEXTRA = -s -p wcmd
|
||||||
WRCEXTRA = -A -t -p $*
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
batch.c \
|
batch.c \
|
||||||
|
@ -15,19 +14,20 @@ C_SRCS = \
|
||||||
directory.c \
|
directory.c \
|
||||||
wcmdmain.c
|
wcmdmain.c
|
||||||
|
|
||||||
|
SPEC_SRCS = \
|
||||||
|
wcmd.spec
|
||||||
|
|
||||||
RC_SRCS = \
|
RC_SRCS = \
|
||||||
wcmdrc.rc
|
wcmdrc.rc
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc $(PROGRAMS)
|
||||||
|
|
||||||
depend:: $(RC_SRCS:.rc=.h)
|
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
#this line is needed to prevent winestub.o being linked
|
#this line is needed to prevent winestub.o being linked
|
||||||
WINESTUB =
|
WINESTUB =
|
||||||
|
|
||||||
wcmd: $(OBJS) $(WINESTUB)
|
wcmd: $(OBJS)
|
||||||
$(CC) -o wcmd $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o wcmd $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
@ -36,6 +36,4 @@ install::
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) $(bindir)/wcmd
|
$(RM) $(bindir)/wcmd
|
||||||
|
|
||||||
$(RC_SRCS:.rc=.s): $(WRC)
|
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
4
programs/wcmd/wcmd.spec
Normal file
4
programs/wcmd/wcmd.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name wcmd
|
||||||
|
mode cuiexe
|
||||||
|
type win32
|
||||||
|
init main
|
|
@ -1,33 +1,8 @@
|
||||||
Da.h
|
|
||||||
Da.s
|
|
||||||
De.h
|
|
||||||
De.s
|
|
||||||
En.h
|
|
||||||
En.s
|
|
||||||
Es.h
|
|
||||||
Es.s
|
|
||||||
Fi.h
|
|
||||||
Fi.s
|
|
||||||
Fr.h
|
|
||||||
Fr.s
|
|
||||||
Hu.h
|
|
||||||
Hu.s
|
|
||||||
It.h
|
|
||||||
It.s
|
|
||||||
Ko.h
|
|
||||||
Ko.s
|
|
||||||
Makefile
|
Makefile
|
||||||
Pt.h
|
|
||||||
Pt.s
|
|
||||||
Sw.h
|
|
||||||
Sw.s
|
|
||||||
Va.h
|
|
||||||
Va.s
|
|
||||||
Wa.h
|
|
||||||
Wa.s
|
|
||||||
hlp2sgml
|
hlp2sgml
|
||||||
lex.yy.c
|
lex.yy.c
|
||||||
rsrc.s
|
rsrc.s
|
||||||
winhelp
|
winhelp
|
||||||
|
winhelp.spec.c
|
||||||
y.tab.c
|
y.tab.c
|
||||||
y.tab.h
|
y.tab.h
|
||||||
|
|
|
@ -6,7 +6,7 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = winhelp hlp2sgml
|
PROGRAMS = winhelp hlp2sgml
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
WRCEXTRA = -t -A -p winhelp
|
WRCEXTRA = -s -p winhelp
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
winhelp.c \
|
winhelp.c \
|
||||||
|
@ -14,12 +14,14 @@ 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
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
all: check_wrc check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
depend:: y.tab.h
|
depend:: y.tab.h
|
||||||
|
|
||||||
|
@ -29,7 +31,7 @@ depend:: y.tab.h
|
||||||
.rc.s:
|
.rc.s:
|
||||||
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
||||||
|
|
||||||
winhelp: $(OBJS) $(WINESTUB)
|
winhelp: $(OBJS)
|
||||||
$(CC) -o winhelp $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o winhelp $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
hlp2sgml: hlp2sgml.o hlpfile.o
|
hlp2sgml: hlp2sgml.o hlpfile.o
|
||||||
|
|
5
programs/winhelp/winhelp.spec
Normal file
5
programs/winhelp/winhelp.spec
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name winhelp
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
||||||
|
rsrc winhelp
|
|
@ -1,2 +1,3 @@
|
||||||
Makefile
|
Makefile
|
||||||
winver
|
winver
|
||||||
|
winver.spec.c
|
||||||
|
|
|
@ -6,16 +6,16 @@ VPATH = @srcdir@
|
||||||
MODULE = none
|
MODULE = none
|
||||||
PROGRAMS = winver
|
PROGRAMS = winver
|
||||||
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||||||
RCFLAGS = -w32 -h
|
|
||||||
WRCEXTRA = -t -A -p $*
|
|
||||||
|
|
||||||
C_SRCS = winver.c
|
C_SRCS = winver.c
|
||||||
|
|
||||||
all: check_wrc $(PROGRAMS)
|
SPEC_SRCS = winver.spec
|
||||||
|
|
||||||
|
all: check_winestub $(PROGRAMS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
winver: $(OBJS) $(WINESTUB)
|
winver: $(OBJS)
|
||||||
$(CC) -o winver $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
$(CC) -o winver $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||||||
|
|
||||||
install::
|
install::
|
||||||
|
|
4
programs/winver/winver.spec
Normal file
4
programs/winver/winver.spec
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
name winver
|
||||||
|
mode guiexe
|
||||||
|
type win32
|
||||||
|
init WinMain
|
Loading…
Reference in a new issue