aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/config/t-aix
blob: 7046aeeacc3803af307c99c434b27382370bc24d (plain)
1
2
3
4
5
6
7
8
9
10
ifeq ($(MULTIBUILDTOP),)
BITS=$(shell if test -z "`ar -X64 t .libs/$(PACKAGE).a`" ; then \
    echo '64'; else echo '32'; fi)
#MAJOR=$(firstword $(subst :, ,$(libtool_VERSION)))
MAJOR=5
all-local:
	ar -X$(BITS) rc .libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
	ar -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
endif