Skip to content

Commit 645ecbf

Browse files
author
Thomas Quinot
committed
distclean: remove all autoconf-generated files.
Subversion-branch: /trunk/polyorb Subversion-revision: 121730
1 parent 325eaf6 commit 645ecbf

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

MANIFEST

+1
Original file line numberDiff line numberDiff line change
@@ -1979,6 +1979,7 @@ support/Makefile.am
19791979
support/Makefile.in
19801980
support/ada.m4
19811981
support/adacompiler.in
1982+
support/cleanup-conf-files
19821983
support/config.guess
19831984
support/config.sub
19841985
support/gensedfile

Makefile.in

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ RM := @RM@
6060
XARGS_I := @XARGS_I@
6161
INSTALL := @INSTALL@
6262
LN_S := @LN_S@
63+
SHELL := @SHELL@
6364

6465
TOOL_EXE_SUFFIX := @TOOL_EXE_SUFFIX@
6566
COMPILER_EXE_SUFFIX := @COMPILER_EXE_SUFFIX@
@@ -82,7 +83,7 @@ EXTRA_GNATMAKE_FLAGS := @EXTRA_GNATMAKE_FLAGS@
8283
# Extra flags for target
8384
CFLAGS_FOR_TARGET := @CFLAGS_FOR_TARGET@
8485
ADAFLAGS_FOR_TARGET := @ADAFLAGS_FOR_TARGET@
85-
GNATMAKE_FLAGS_FOR_TARGET := ${ADAFLAGS_FOR_TARGET}
86+
GNATMAKE_FLAGS_FOR_TARGET := -cargs ${ADAFLAGS_FOR_TARGET}
8687

8788
XMLADA_INCS := @XMLADA_INCS@
8889
XMLADA_LIBS := @XMLADA_LIBS@
@@ -462,7 +463,7 @@ ${PROJECT_FILES}: %.gpr: \
462463
src/giop/polyorb-giop_p-code_sets-data.ads-stamp \
463464
tools/po_catref/polyorb-giop_p-code_sets-description_data.ads-stamp
464465
ADA_PROJECT_PATH="${top_builddir}/projects${PATH_SEP}${top_srcdir}/projects${PATH_SEP}$$ADA_PROJECT_PATH" \
465-
${GNATMAKE_FOR_TARGET} -P $@ ${GNATMAKE_FLAGS} ${GNATMAKE_FLAGS_FOR_TARGET} ${PRJ_GNATMAKE_FLAGS}
466+
${GNATMAKE_FOR_TARGET} -P $@ ${GNATMAKE_FLAGS} ${PRJ_GNATMAKE_FLAGS} ${GNATMAKE_FLAGS_FOR_TARGET}
466467

467468
.PHONY: libpolyorb-corba-cos-event-impl.a
468469
libpolyorb-corba-cos-event-impl.a: cos_event.gpr
@@ -882,6 +883,7 @@ clean:
882883
${RM} -f tools/po_names/po_names
883884

884885
distclean: clean
886+
${SHELL} support/cleanup-conf-files
885887
${RM} -f config.*
886888

887889
.SUFFIXES: .c .o

support/cleanup-conf-files

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#! /bin/sh
2+
3+
if [ ! -x ./config.status ]; then
4+
echo "config.status not found" 1>&2
5+
exit 1
6+
fi
7+
8+
rm -f `./config.status --help 2>&1 | sed -n '/^Configuration files:/{n
9+
p
10+
q
11+
}'`

0 commit comments

Comments
 (0)