use "exeext" for variables and "build_exeext" for substitution

From-SVN: r38113
This commit is contained in:
Bruce Korb 2000-12-07 14:42:39 +00:00 committed by Bruce Korb
parent 38da603971
commit 83c4781c63
4 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2000-12-07 Bruce Korb <bkorb@gnu.org>
* fixinc/Makefile.*(exeext): the variables are exeext, the
substitution expression is build_exeext.
2000-12-07 Neil Booth <neilb@earthling.net>
* c-common.c (parse_in): Make a cpp_reader *.

View File

@ -64,19 +64,19 @@ OBJ = fixincl.o fixtests.o fixfixes.o server.o procopen.o \
HDR = server.h gnu-regex.h fixlib.h machname.h
TARGETS = fixincl@exeext@ applyfix@exeext@
TARGETS = fixincl@build_exeext@ applyfix@build_exeext@
all : $(TARGETS)
gen : $(srcdir)/fixincl.x
FIXINCL_OBJ = fixincl.o fixlib.o fixtests.o gnu-regex.o
fixincl@exeext@: $(FIXINCL_OBJ) $(LIBERTY)
fixincl@build_exeext@: $(FIXINCL_OBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(FIXINCL_OBJ) $(LIBERTY)
APPLY_OBJ = fixfixes.o fixlib.o gnu-regex.o
applyfix@exeext@: $(APPLY_OBJ) $(LIBERTY)
applyfix@build_exeext@: $(APPLY_OBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(APPLY_OBJ) $(LIBERTY)
$(OBJ) : $(HDR)
@ -107,7 +107,7 @@ maintainer-clean : clean
# We still copy the script because we still have alternative scripts.
#
install-bin : $(TARGETS)
./fixincl@exeext@ -v
./fixincl -v
@if [ -f ../fixinc.sh ] ; then rm -f ../fixinc.sh || \
mv -f ../fixinc.sh ../fixinc.sh.$$ || exit 1 ; fi
@if [ -f ./fixincl.sh ] ; \

View File

@ -64,19 +64,19 @@ OBJ = fixincl.o fixtests.o fixfixes.o server.o procopen.o \
HDR = server.h gnu-regex.h fixlib.h machname.h
TARGETS = fixincl@exeext@ applyfix@exeext@
TARGETS = fixincl@build_exeext@ applyfix@build_exeext@
all : $(TARGETS)
gen : $(srcdir)/fixincl.x
FIXINCL_OBJ = fixincl.o fixlib.o fixtests.o gnu-regex.o
fixincl@exeext@: $(FIXINCL_OBJ) $(LIBERTY)
fixincl@build_exeext@: $(FIXINCL_OBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(FIXINCL_OBJ) $(LIBERTY)
APPLY_OBJ = fixfixes.o fixlib.o gnu-regex.o
applyfix@exeext@: $(APPLY_OBJ) $(LIBERTY)
applyfix@build_exeext@: $(APPLY_OBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(APPLY_OBJ) $(LIBERTY)
$(OBJ) : $(HDR)
@ -107,7 +107,7 @@ maintainer-clean : clean
# We still copy the script because we still have alternative scripts.
#
install-bin : $(TARGETS)
./fixincl@exeext@ -v
./fixincl -v
@if [ -f ../fixinc.sh ] ; then rm -f ../fixinc.sh || \
mv -f ../fixinc.sh ../fixinc.sh.$$ || exit 1 ; fi
@if [ -f ./fixincl.sh ] ; \

View File

@ -64,12 +64,12 @@ OBJ = fixincl.o fixtests.o fixfixes.o server.o procopen.o \
HDR = server.h gnu-regex.h fixlib.h machname.h
TARGETS = fixincl@exeext@
TARGETS = fixincl@build_exeext@
all : $(TARGETS)
gen : $(srcdir)/fixincl.x
fixincl@exeext@: $(OBJ) $(LIBERTY)
fixincl@build_exeext@: $(OBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(OBJ) $(LIBERTY)
$(OBJ) : $(HDR)
@ -100,7 +100,7 @@ maintainer-clean : clean
# We still copy the script because we still have alternative scripts.
#
install-bin : $(TARGETS)
./fixincl@exeext@ -v
./fixincl -v
@if [ -f ../fixinc.sh ] ; then rm -f ../fixinc.sh || \
mv -f ../fixinc.sh ../fixinc.sh.$$ || exit 1 ; fi
@if [ -f ./fixincl.sh ] ; \