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