summaryrefslogtreecommitdiff
path: root/libgomp/config/t-aix
blob: 5d0b7e0f9ae5710ee749fdbc336e47bcb2a2faf1 (plain)
1
2
3
4
5
6
7
8
9
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)))
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