Use gcc auto-dependency information for lwlib and oldXMenu
authorGlenn Morris <rgm@gnu.org>
Sat, 28 Jun 2014 22:57:23 +0000 (15:57 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 28 Jun 2014 22:57:23 +0000 (15:57 -0700)
commit93160ec3928b5efd654824dfc727d1bbec3c0aec
treedbca945901d1ff3d2d21e5b20f18ae76d6b134f7
parente0d9c3c9a26ba2982595ec2ec4a1167ee7e39ddb
Use gcc auto-dependency information for lwlib and oldXMenu

* configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files.

* make-dist (lwlib, oldXMenu): Distribute *.mk.

* lwlib/Makefile.in: Move old dependency information to new file deps.mk.
(MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag):
New, set by configure.
(DEPDIR): New variable.
(ALL_CFLAGS): Add DEPFLAGS.
(.c.o): Add MKDEPDIR.
(clean, mostlyclean): Delete DEPDIR.

* lwlib/deps.mk, lwlib/autodeps.mk: New files.

* oldXMenu/Makefile.in: Move old dependency information to new file deps.mk.
(MKDIR_P, DEPFLAGS, MKDEPDIR, oldxmenu_deps_frag):
New, set by configure.
(DEPDIR): New variable.
(ALL_CFLAGS): Add DEPFLAGS.
(.c.o): Add MKDEPDIR.
(clean, mostlyclean): Delete DEPDIR.

* oldXMenu/deps.mk, oldXMenu/autodeps.mk: New files.

* src/deps.mk: Comment update.

* .bzrignore: Ignore lwlib/deps, oldXMenu/deps.
12 files changed:
ChangeLog
configure.ac
lwlib/ChangeLog
lwlib/Makefile.in
lwlib/autodeps.mk [new file with mode: 0644]
lwlib/deps.mk [new file with mode: 0644]
make-dist
oldXMenu/ChangeLog
oldXMenu/Makefile.in
oldXMenu/autodeps.mk [new file with mode: 0644]
oldXMenu/deps.mk [new file with mode: 0644]
src/deps.mk