Skip to content

Commit

Permalink
automake
Browse files Browse the repository at this point in the history
  • Loading branch information
pbroadbery committed Jun 27, 2024
1 parent e2ca02f commit e03e07e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 49 deletions.
9 changes: 5 additions & 4 deletions aldor/configure
Original file line number Diff line number Diff line change
Expand Up @@ -13807,7 +13807,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS=$safe_CFLAGS

git_build_id=""
gitid=false
if test "$ld_has_build_id" = "";
then
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Expand All @@ -13825,19 +13825,20 @@ then :
esac
else $as_nop
if test -f $srcdir/../.git/config ; then gitid=true; else gitid=false; fi
if test $gitid = true; then git_build_id=1; fi
fi


# Git SHA1 hash as ld build-id.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: gitid $gitid ld: $ld_has_build_id " >&5
printf "%s\n" "$as_me: gitid $gitid ld: $ld_has_build_id " >&6;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build id" >&5
printf %s "checking build id... " >&6; }
if test yes = "$ld_has_build_id" && test 1 = "$git_build_id"; then
if test yes = "$ld_has_build_id" && test true = "$gitid"; then
VCSVERSION=`cd $srcdir; git rev-parse HEAD`
build_id="-Wl,--build-id=0x$VCSVERSION"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: git: $VCSVERSION ld: yes" >&5
printf "%s\n" "git: $VCSVERSION ld: yes" >&6; }
elif test 1 = "$git_build_id"; then
elif test true = "$gitid"; then
VCSVERSION=`cd $srcdir; git rev-parse HEAD`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: git: $VCSVERSION ld: no" >&5
printf "%s\n" "git: $VCSVERSION ld: no" >&6; }
Expand Down
10 changes: 1 addition & 9 deletions aldor/lib/aldor/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1559,19 +1559,11 @@ $(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf sources-jar; \
$(MKDIR_P) sources-jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname)-sources.jar); \
do (cd sources-jar; jar xf ../$$i); done; \
(cd sources-jar; jar cf ../$@ .); \
rm -rf sources-jar

$(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf jar; \
mkdir jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
do (cd jar; jar xf ../$$i); done; \
(cd jar; jar cf ../$@ .)

$(patsubst %,prereq-%,$(SUBDIRS)): prereq-%:
$(AM_V_PREREQ) \
for dir in $(call lst_prefix,$*,$(SUBDIRS)); do \
Expand Down
10 changes: 1 addition & 9 deletions aldor/lib/algebra/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3021,19 +3021,11 @@ $(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf sources-jar; \
$(MKDIR_P) sources-jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname)-sources.jar); \
do (cd sources-jar; jar xf ../$$i); done; \
(cd sources-jar; jar cf ../$@ .); \
rm -rf sources-jar

$(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf jar; \
mkdir jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
do (cd jar; jar xf ../$$i); done; \
(cd jar; jar cf ../$@ .)

$(patsubst %,prereq-%,$(SUBDIRS)): prereq-%:
$(AM_V_PREREQ) \
for dir in $(call lst_prefix,$*,$(SUBDIRS)); do \
Expand Down
10 changes: 1 addition & 9 deletions aldor/lib/ax0/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -737,19 +737,11 @@ $(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf sources-jar; \
$(MKDIR_P) sources-jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname)-sources.jar); \
do (cd sources-jar; jar xf ../$$i); done; \
(cd sources-jar; jar cf ../$@ .); \
rm -rf sources-jar

$(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf jar; \
mkdir jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
do (cd jar; jar xf ../$$i); done; \
(cd jar; jar cf ../$@ .)

$(patsubst %,prereq-%,$(SUBDIRS)): prereq-%:
$(AM_V_PREREQ) \
for dir in $(call lst_prefix,$*,$(SUBDIRS)); do \
Expand Down
10 changes: 1 addition & 9 deletions aldor/lib/axldem/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -954,19 +954,11 @@ $(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf sources-jar; \
$(MKDIR_P) sources-jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname)-sources.jar); \
do (cd sources-jar; jar xf ../$$i); done; \
(cd sources-jar; jar cf ../$@ .); \
rm -rf sources-jar

$(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf jar; \
mkdir jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
do (cd jar; jar xf ../$$i); done; \
(cd jar; jar cf ../$@ .)

$(patsubst %,prereq-%,$(SUBDIRS)): prereq-%:
$(AM_V_PREREQ) \
for dir in $(call lst_prefix,$*,$(SUBDIRS)); do \
Expand Down
10 changes: 1 addition & 9 deletions aldor/lib/axllib/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1136,19 +1136,11 @@ $(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf sources-jar; \
$(MKDIR_P) sources-jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname)-sources.jar); \
do (cd sources-jar; jar xf ../$$i); done; \
(cd sources-jar; jar cf ../$@ .); \
rm -rf sources-jar

$(libraryname)-sources.jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
$(AM_V_LIBSRCJAR) \
rm -rf jar; \
mkdir jar; \
for i in $(foreach j, $(JAVA_SUBDIRS),$j/$(libraryname).jar); \
do (cd jar; jar xf ../$$i); done; \
(cd jar; jar cf ../$@ .)

$(patsubst %,prereq-%,$(SUBDIRS)): prereq-%:
$(AM_V_PREREQ) \
for dir in $(call lst_prefix,$*,$(SUBDIRS)); do \
Expand Down

0 comments on commit e03e07e

Please sign in to comment.