Adapted to glue code generation changes.

This commit is contained in:
Ulrich Weigand 1999-08-15 12:45:53 +00:00 committed by Alexandre Julliard
parent c50a1d05de
commit 8336cc9e51
33 changed files with 6 additions and 66 deletions

View File

@ -82,7 +82,7 @@ LINTS = $(C_SRCS:.c=.ln)
# Implicit rules # Implicit rules
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .rc .res .spec .spec.c .spec.o .glue.s $(SUFFIXES) .SUFFIXES: .rc .res .spec .spec.c .spec.o .glue.c $(SUFFIXES)
.c.o: .c.o:
$(CC) -c $(ALLCFLAGS) -o $*.o $< $(CC) -c $(ALLCFLAGS) -o $*.o $<
@ -114,7 +114,7 @@ LINTS = $(C_SRCS:.c=.ln)
.spec.spec.c: .spec.spec.c:
$(BUILD) @BUILDFLAGS@ -o $@ -spec $< $(BUILD) @BUILDFLAGS@ -o $@ -spec $<
.c.glue.s: .c.glue.c:
$(BUILD) @BUILDFLAGS@ -o $@ -glue $< $(BUILD) @BUILDFLAGS@ -o $@ -glue $<
.c.ln: .c.ln:
@ -176,13 +176,13 @@ lint:: $(MODULE).ln
$(SPEC_SRCS:.spec=.spec.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/include/builtin32.h $(SPEC_SRCS:.spec=.spec.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/include/builtin32.h
$(GLUE:.c=.glue.s): $(BUILD) $(GLUE:.c=.glue.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/include/builtin32.h
depend:: $(MAKEDEP) $(C_SRCS) $(RC_SRCS) $(EXTRA_SRCS) depend:: $(MAKEDEP) $(C_SRCS) $(RC_SRCS) $(EXTRA_SRCS)
$(MAKEDEP) $(DIVINCL) -C$(SRCDIR) $(C_SRCS) $(RC_SRCS) $(EXTRA_SRCS) $(MAKEDEP) $(DIVINCL) -C$(SRCDIR) $(C_SRCS) $(RC_SRCS) $(EXTRA_SRCS)
clean:: clean::
$(RM) *.o *.ln \#*\# *~ *% .#* *.bak *.orig *.rej *.flc y.tab.c y.tab.h lex.yy.c core $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.s) $(RC_SRCS:.rc=.h) $(SPEC_SRCS:.spec=.spec.c) $(GLUE:.c=.glue.s) $(PROGRAMS) $(RM) *.o *.ln \#*\# *~ *% .#* *.bak *.orig *.rej *.flc y.tab.c y.tab.h lex.yy.c core $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.s) $(RC_SRCS:.rc=.h) $(SPEC_SRCS:.spec=.spec.c) $(GLUE:.c=.glue.c) $(PROGRAMS)
dummy: dummy:

View File

@ -1,4 +1,3 @@
Makefile Makefile
avifil32.spec.c avifil32.spec.c
avifile.spec.c avifile.spec.c
avifile.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = avifil32 MODULE = avifil32
SPEC_SRCS = avifil32.spec avifile.spec SPEC_SRCS = avifil32.spec avifile.spec
GLUE = avifile.spec.c
C_SRCS = \ C_SRCS = \
avifile.c avifile.c

View File

@ -1,5 +1,4 @@
Makefile Makefile
comdlg32.spec.c comdlg32.spec.c
commdlg.spec.c commdlg.spec.c
commdlg.spec.glue.s
rsrc.s rsrc.s

View File

@ -7,7 +7,6 @@ MODULE = commdlg
WRCEXTRA = -s -pcomdlg32 WRCEXTRA = -s -pcomdlg32
SPEC_SRCS = commdlg.spec comdlg32.spec SPEC_SRCS = commdlg.spec comdlg32.spec
GLUE = commdlg.spec.c
C_SRCS = \ C_SRCS = \
cdlg32.c \ cdlg32.c \

View File

@ -1,4 +1,3 @@
Makefile Makefile
lz32.spec.c lz32.spec.c
lzexpand.spec.c lzexpand.spec.c
lzexpand.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = lzexpand MODULE = lzexpand
SPEC_SRCS = lz32.spec lzexpand.spec SPEC_SRCS = lz32.spec lzexpand.spec
GLUE = lzexpand.spec.c
C_SRCS = \ C_SRCS = \
lzexpand_main.c lzexpand_main.c

View File

@ -1,3 +1,2 @@
Makefile Makefile
msacm.spec.c msacm.spec.c
msacm.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = msacm MODULE = msacm
SPEC_SRCS = msacm.spec SPEC_SRCS = msacm.spec
GLUE = msacm.spec.c
C_SRCS = \ C_SRCS = \
msacm_main.c msacm_main.c

View File

@ -1,4 +1,3 @@
Makefile Makefile
msvfw32.spec.c msvfw32.spec.c
msvideo.spec.c msvideo.spec.c
msvideo.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = msvideo MODULE = msvideo
SPEC_SRCS = msvfw32.spec msvideo.spec SPEC_SRCS = msvfw32.spec msvideo.spec
GLUE = msvideo.spec.c
C_SRCS = \ C_SRCS = \
msvideo_main.c msvideo_main.c

View File

@ -1,4 +1,3 @@
Makefile Makefile
rasapi32.spec.c rasapi32.spec.c
rasapi16.spec.c rasapi16.spec.c
rasapi16.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = rasapi32 MODULE = rasapi32
SPEC_SRCS = rasapi32.spec rasapi16.spec SPEC_SRCS = rasapi32.spec rasapi16.spec
GLUE = rasapi16.spec.c
C_SRCS = rasapi.c C_SRCS = rasapi.c

View File

@ -1,5 +1,4 @@
Makefile Makefile
shell32.spec.c shell32.spec.c
shell.spec.c shell.spec.c
shell.spec.glue.s
shres.s shres.s

View File

@ -7,7 +7,6 @@ MODULE = shell32
WRCEXTRA = -s -p$(MODULE) WRCEXTRA = -s -p$(MODULE)
SPEC_SRCS = shell32.spec shell.spec SPEC_SRCS = shell32.spec shell.spec
GLUE = shell.spec.c
C_SRCS = \ C_SRCS = \
brsfolder.c \ brsfolder.c \

View File

@ -1,3 +1,2 @@
Makefile Makefile
sound.spec.c sound.spec.c
sound.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = sound MODULE = sound
SPEC_SRCS = sound.spec SPEC_SRCS = sound.spec
GLUE = sound.spec.c
C_SRCS = \ C_SRCS = \
sound_main.c sound_main.c

View File

@ -1,3 +1,2 @@
Makefile Makefile
stress.spec.c stress.spec.c
stress.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = stress MODULE = stress
SPEC_SRCS = stress.spec SPEC_SRCS = stress.spec
GLUE = stress.spec.c
C_SRCS = \ C_SRCS = \
stress_main.c stress_main.c

View File

@ -1,3 +1,2 @@
Makefile Makefile
ver.spec.c ver.spec.c
ver.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = ver MODULE = ver
SPEC_SRCS = ver.spec SPEC_SRCS = ver.spec
GLUE = ver.spec.c
C_SRCS = \ C_SRCS = \
ver16.c ver16.c

View File

@ -1,6 +1,4 @@
Makefile Makefile
w32skrnl.spec.c w32skrnl.spec.c
w32sys.spec.c w32sys.spec.c
w32sys.spec.glue.s
win32s16.spec.c win32s16.spec.c
win32s16.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = win32s MODULE = win32s
SPEC_SRCS = w32sys.spec win32s16.spec w32skrnl.spec SPEC_SRCS = w32sys.spec win32s16.spec w32skrnl.spec
GLUE = w32sys.spec.c win32s16.spec.c
C_SRCS = \ C_SRCS = \
w32skrnl.c \ w32skrnl.c \

View File

@ -1,3 +1,2 @@
Makefile Makefile
win87em.spec.c win87em.spec.c
win87em.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = win87em MODULE = win87em
SPEC_SRCS = win87em.spec SPEC_SRCS = win87em.spec
GLUE = win87em.spec.c
C_SRCS = \ C_SRCS = \
emulate.c emulate.c

View File

@ -1,3 +1,2 @@
Makefile Makefile
winaspi.spec.c winaspi.spec.c
winaspi.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = winaspi MODULE = winaspi
SPEC_SRCS = winaspi.spec SPEC_SRCS = winaspi.spec
GLUE = winaspi.spec.c
C_SRCS = \ C_SRCS = \
winaspi16.c winaspi16.c

View File

@ -1,3 +1,2 @@
Makefile Makefile
windebug.spec.c windebug.spec.c
windebug.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = windebug MODULE = windebug
SPEC_SRCS = windebug.spec SPEC_SRCS = windebug.spec
GLUE = windebug.spec.c
C_SRCS = \ C_SRCS = \
windebug_main.c windebug_main.c

View File

@ -1,3 +1,2 @@
Makefile Makefile
wing.spec.c wing.spec.c
wing.spec.glue.s

View File

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = wing MODULE = wing
SPEC_SRCS = wing.spec SPEC_SRCS = wing.spec
GLUE = wing.spec.c
C_SRCS = \ C_SRCS = \
wing_main.c wing_main.c

View File

@ -1,59 +1,31 @@
Makefile Makefile
call16.s call16.s
callfrom16.spec.c callfrom16.spec.c
callfrom16.spec.glue.s
callto16.spec.c callto16.spec.c
callto16.spec.glue.s
comm.spec.c comm.spec.c
comm.spec.glue.s
compobj.spec.c compobj.spec.c
compobj.spec.glue.s
ddeml.spec.c ddeml.spec.c
ddeml.spec.glue.s
dispdib.spec.c dispdib.spec.c
dispdib.spec.glue.s
display.spec.c display.spec.c
display.spec.glue.s
gdi.spec.c gdi.spec.c
gdi.spec.glue.s
kernel.spec.c kernel.spec.c
kernel.spec.glue.s
keyboard.spec.c keyboard.spec.c
keyboard.spec.glue.s
mmsystem.spec.c mmsystem.spec.c
mmsystem.spec.glue.s
mouse.spec.c mouse.spec.c
mouse.spec.glue.s
ole2.spec.c ole2.spec.c
ole2.spec.glue.s
ole2conv.spec.c ole2conv.spec.c
ole2conv.spec.glue.s
ole2disp.spec.c ole2disp.spec.c
ole2disp.spec.glue.s
ole2nls.spec.c ole2nls.spec.c
ole2nls.spec.glue.s
ole2prox.spec.c ole2prox.spec.c
ole2prox.spec.glue.s
ole2thk.spec.c ole2thk.spec.c
ole2thk.spec.glue.s
olecli.spec.c olecli.spec.c
olecli.spec.glue.s
olesvr.spec.c olesvr.spec.c
olesvr.spec.glue.s
storage.spec.c storage.spec.c
storage.spec.glue.s
system.spec.c system.spec.c
system.spec.glue.s thunk.glue.c
thunk.glue.s
toolhelp.spec.c toolhelp.spec.c
toolhelp.spec.glue.s
typelib.spec.c typelib.spec.c
typelib.spec.glue.s
user.spec.c user.spec.c
user.spec.glue.s
wineps.spec.c wineps.spec.c
wineps.spec.glue.s
winsock.spec.c winsock.spec.c
winsock.spec.glue.s
wprocs.spec.c wprocs.spec.c
wprocs.spec.glue.s

View File

@ -43,8 +43,7 @@ C_SRCS = \
GEN_ASM_SRCS = \ GEN_ASM_SRCS = \
call16.s call16.s
GLUE = $(SPEC_SRCS:.spec=.spec.c) \ GLUE = thunk.c
thunk.c
all: $(MODULE).o all: $(MODULE).o