Commit 32ab895e authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Generate the dependencies line to avoid some code duplication.

parent ebcf4a0e
......@@ -756,6 +756,7 @@ EXTRA_BINARIES
LDD
LIBDL
LIBPOLL
DEPENDENCIES
LIBOBJS
LTLIBOBJS'
ac_subst_files='MAKE_RULES
......@@ -23762,6 +23763,13 @@ fi
esac
DEPENDENCIES="### Dependencies:
\$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
......@@ -24939,11 +24947,12 @@ EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
LDD!$LDD$ac_delim
LIBDL!$LIBDL$ac_delim
LIBPOLL!$LIBPOLL$ac_delim
DEPENDENCIES!$DEPENDENCIES$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
......
......@@ -1457,6 +1457,12 @@ esac
dnl **** Generate output files ****
AC_SUBST(DEPENDENCIES,"### Dependencies:
\$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)")
AH_TOP([#define __WINE_CONFIG_H])
WINE_CONFIG_EXTRA_DIR(dlls/gdi/enhmfdrv)
......
......@@ -10,4 +10,4 @@ C_SRCS = activeds_main.c
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -24,4 +24,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -18,4 +18,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -14,4 +14,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -20,7 +20,4 @@ IDL_SRCS = \
rsrc.res: atl.rgs
### Dependencies:
# note: this will get overwritten by make depend
$(ALL_OBJS): $(IDL_SRCS:.idl=.h)
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = avicap32_main.c
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -27,4 +27,4 @@ RC_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -15,4 +15,4 @@ RC_SRCS = cabinet.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = cap20wxx.c
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -75,4 +75,4 @@ RC_BINARIES = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -19,4 +19,4 @@ RC_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -66,4 +66,4 @@ RC_BINARIES = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -26,4 +26,4 @@ RC_SRCS = propsheet.rc
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -46,4 +46,4 @@ RC_BINARIES = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -27,4 +27,4 @@ RC_SRCS = crypt32.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -19,4 +19,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ SPEC_SRCS16 = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -29,4 +29,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -31,4 +31,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -17,4 +17,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -27,4 +27,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = dciman_main.c
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -33,4 +33,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -14,4 +14,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -17,4 +17,4 @@ RC_SRCS = devenum.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -24,4 +24,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -14,4 +14,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -17,4 +17,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -18,4 +18,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -31,4 +31,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -19,4 +19,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -22,4 +22,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -24,4 +24,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -14,4 +14,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -17,4 +17,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -24,4 +24,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -19,4 +19,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -23,4 +23,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -17,4 +17,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -15,4 +15,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -9,4 +9,4 @@ C_SRCS = \
@MAKE_IMPLIB_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -9,4 +9,4 @@ C_SRCS = \
@MAKE_IMPLIB_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ C_SRCS = \
@MAKE_IMPLIB_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -76,4 +76,4 @@ gdi.exe.spec.o: gdi.exe.spec version16.res
version16.res: version16.rc
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -20,4 +20,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -19,4 +19,4 @@ RC_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -18,4 +18,4 @@ RC_SRCS = hhctrl.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ RC_SRCS = version.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -15,4 +15,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -11,4 +11,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ RC_SRCS = rsrc.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = icmp_main.c
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -9,4 +9,4 @@ C_SRCS = imaadp32.c
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -15,4 +15,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ SPEC_SRCS16 = imm.spec
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -14,4 +14,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -17,4 +17,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -111,4 +111,4 @@ krnl386.exe.spec.o: krnl386.exe.spec version16.res
version16.res: version16.rc
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -37,4 +37,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -12,4 +12,4 @@ SPEC_SRCS16 = lzexpand.spec
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -16,4 +16,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -13,4 +13,4 @@ CTESTS = \
@MAKE_TEST_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -15,4 +15,4 @@ RC_SRCS = mciavi_res.rc
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
......@@ -10,4 +10,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
### Dependencies:
@DEPENDENCIES@ # everything below this line is overwritten by make depend
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment