summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-07-18 06:10:46 +0000
committerJim Blandy <jimb@redhat.com>1993-07-18 06:10:46 +0000
commit583d6bb2cb5b1e0cd0726a9d148e00bec59d9a40 (patch)
tree7bf8caa92c659a4d5c69ce89b6b05da65ecffb3a /Makefile.in
parent772b917e13ee0c96c05818abee68d88bcad86fd1 (diff)
downloademacs-583d6bb2cb5b1e0cd0726a9d148e00bec59d9a40.tar.gz
* Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src
directory's makefile. This allows the invocation of CPP which builds xmakefile to receive these switches. The SunSoft C preprocessor inserts spaces between tokens if it doesn't get the -Xs flag requested in src/s/sol2.h.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 630df20da7e..101b7d6eeba 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -282,6 +282,7 @@ src/Makefile: ${srcdir}/src/Makefile.in Makefile
-e 's|^CPP *=.*$$|CPP=${CPP}|' \
-e 's|^LN_S *=.*$$|LN_S=${LN_S}|' \
-e 's|^CFLAGS *=.*$$|CFLAGS=${CFLAGS}|' \
+ -e 's|^\(C_SWITCH_SYSTEM *=\).*$$|\1'"${C_SWITCH_SYSTEM}"'|' \
-e 's|^\(LD_SWITCH_X_SITE *=\).*$$|\1${LD_SWITCH_X_SITE}|' \
-e '/^# DIST: /d') > src/Makefile.tmp
@${srcdir}/move-if-change src/Makefile.tmp src/Makefile