xref: /titanic_50/usr/src/lib/libmvec/Makefile (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
1*25c28e83SPiotr Jasiukajtis#
2*25c28e83SPiotr Jasiukajtis# This file and its contents are supplied under the terms of the
3*25c28e83SPiotr Jasiukajtis# Common Development and Distribution License ("CDDL"), version 1.0.
4*25c28e83SPiotr Jasiukajtis# You may only use this file in accordance with the terms of version
5*25c28e83SPiotr Jasiukajtis# 1.0 of the CDDL.
6*25c28e83SPiotr Jasiukajtis#
7*25c28e83SPiotr Jasiukajtis# A full copy of the text of the CDDL should have accompanied this
8*25c28e83SPiotr Jasiukajtis# source.  A copy of the CDDL is also available via the Internet at
9*25c28e83SPiotr Jasiukajtis# http://www.illumos.org/license/CDDL.
10*25c28e83SPiotr Jasiukajtis#
11*25c28e83SPiotr Jasiukajtis
12*25c28e83SPiotr Jasiukajtis#
13*25c28e83SPiotr Jasiukajtis# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14*25c28e83SPiotr Jasiukajtis#
15*25c28e83SPiotr Jasiukajtis
16*25c28e83SPiotr JasiukajtisLIBRARY=	libmvec.a
17*25c28e83SPiotr JasiukajtisVERS=		.1
18*25c28e83SPiotr Jasiukajtis
19*25c28e83SPiotr Jasiukajtis# include common library definitions
20*25c28e83SPiotr Jasiukajtisinclude $(SRC)/lib/Makefile.lib
21*25c28e83SPiotr Jasiukajtis
22*25c28e83SPiotr JasiukajtisCOMPS_i386	= i386_hwcap1
23*25c28e83SPiotr JasiukajtisCOMPS_sparc	= sparc_sparcv8plus+vis sparc_sparcv9+vis2
24*25c28e83SPiotr JasiukajtisCOMPONENTS	= $(COMPS_$(MACH))
25*25c28e83SPiotr Jasiukajtis
26*25c28e83SPiotr JasiukajtisCOMPS_amd64	=
27*25c28e83SPiotr JasiukajtisCOMPS_sparcv9	= sparcv9_sparcv9+vis sparcv9_sparcv9+vis2
28*25c28e83SPiotr JasiukajtisCOMPONENTS64	= $(COMPS_$(MACH64))
29*25c28e83SPiotr Jasiukajtis
30*25c28e83SPiotr JasiukajtisSUBDIRS 	= $(MACH) $(COMPONENTS)
31*25c28e83SPiotr Jasiukajtis$(BUILD64)SUBDIRS += $(MACH64) $(COMPONENTS64)
32*25c28e83SPiotr Jasiukajtis
33*25c28e83SPiotr Jasiukajtisall	:=	TARGET= all
34*25c28e83SPiotr Jasiukajtisinstall	:=	TARGET= install
35*25c28e83SPiotr Jasiukajtisclean	:=	TARGET= clean
36*25c28e83SPiotr Jasiukajtisclobber	:=	TARGET= clobber
37*25c28e83SPiotr Jasiukajtislint	:=	TARGET= lint
38*25c28e83SPiotr Jasiukajtis
39*25c28e83SPiotr Jasiukajtis.KEEP_STATE:
40*25c28e83SPiotr Jasiukajtis
41*25c28e83SPiotr Jasiukajtis.PARALLEL: $(SUBDIRS)
42*25c28e83SPiotr Jasiukajtis
43*25c28e83SPiotr Jasiukajtisall clean clobber install lint: $(SUBDIRS)
44*25c28e83SPiotr Jasiukajtis
45*25c28e83SPiotr Jasiukajtis$(SUBDIRS): FRC
46*25c28e83SPiotr Jasiukajtis	@cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET)
47*25c28e83SPiotr Jasiukajtis
48*25c28e83SPiotr JasiukajtisFRC:
49*25c28e83SPiotr Jasiukajtis
50*25c28e83SPiotr Jasiukajtisinclude $(SRC)/lib/Makefile.targ
51