aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2014-06-28 15:57:23 -0700
committerGlenn Morris2014-06-28 15:57:23 -0700
commit93160ec3928b5efd654824dfc727d1bbec3c0aec (patch)
treedbca945901d1ff3d2d21e5b20f18ae76d6b134f7 /src
parente0d9c3c9a26ba2982595ec2ec4a1167ee7e39ddb (diff)
downloademacs-93160ec3928b5efd654824dfc727d1bbec3c0aec.tar.gz
emacs-93160ec3928b5efd654824dfc727d1bbec3c0aec.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/deps.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/deps.mk b/src/deps.mk
index 1d67d750983..3fdbbe6605f 100644
--- a/src/deps.mk
+++ b/src/deps.mk
@@ -1,7 +1,7 @@
1### deps.mk --- src/Makefile fragment for GNU Emacs 1### deps.mk --- src/Makefile fragment for GNU Emacs
2 2
3## Copyright (C) 1985, 1987-1988, 1993-1995, 1999-2014 Free Software 3## Copyright (C) 1985, 1987-1988, 1993-1995, 1999-2014
4## Foundation, Inc. 4## Free Software Foundation, Inc.
5 5
6## This file is part of GNU Emacs. 6## This file is part of GNU Emacs.
7 7
@@ -27,8 +27,6 @@
27## Eg callproc.c only depends on w32.h for WINDOWSNT builds. 27## Eg callproc.c only depends on w32.h for WINDOWSNT builds.
28## One way to fix this would be to replace w32.h (etc) by $(W32_H), 28## One way to fix this would be to replace w32.h (etc) by $(W32_H),
29## a variable set by configure. Does not seem worth the trouble. 29## a variable set by configure. Does not seem worth the trouble.
30## Since the w32 build does not even use this file, you might ask
31## why these dependencies are here at all...
32 30
33## nsgui.h: In fact, every .o file depends directly or indirectly on 31## nsgui.h: In fact, every .o file depends directly or indirectly on
34## dispextern.h and hence nsgui.h under NS. But the ones that actually 32## dispextern.h and hence nsgui.h under NS. But the ones that actually