Commit 331636c4 authored by Jim Blandy's avatar Jim Blandy
Browse files

* Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level

	Makefile.
	(xmakefile): Pass it to the C preprocessor.
parent 800642d2
......@@ -10,6 +10,7 @@ MAKE = make
CC=cc
CPP=cc -E
CFLAGS=-g
C_SWITCH_SYSTEM=
srcdir=@srcdir@/src
VPATH=@srcdir@/src
LN_S=ln -s
......@@ -79,7 +80,7 @@ relock:
xmakefile: ymakefile config.h ../config.status
-rm -f xmakefile xmakefile.new junk.c junk.cpp
cp ${srcdir}/ymakefile junk.c
${CPP} -I${srcdir} ${CFLAGS} junk.c > junk.cpp
${CPP} -I${srcdir} ${CFLAGS} ${C_SWITCH_SYSTEM} junk.c > junk.cpp
< junk.cpp \
sed -e 's/^#.*//' \
-e 's/^[ \f\t][ \f\t]*$$//' \
......
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