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