35bff8bb019f6ee6fe157b93189946122c83ddf6
[platform/upstream/gcc.git] / libgomp / config / t-aix
1 ifeq ($(MULTIBUILDTOP),)
2 BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then \
3     echo '64'; else echo '32'; fi)
4 ARX=$(shell echo $(AR) | sed -e 's/-X[^ ]*//g')
5 MAJOR=$(firstword $(subst :, ,$(libtool_VERSION)))
6 all-local:
7         $(ARX) -X$(BITS) rc .libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
8         $(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
9 endif
10