xref: /titanic_51/usr/src/lib/libm/Makefile.targ (revision bafd1f1462c49949e0251d74b4fbfa24d29bc79a)
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
16pics/%.o: $(LIBMDIR)/$(TARGETMACH)/src/%.$(ASSUFFIX)
17	$(COMPILE.s) -o $@ $<
18	$(POST_PROCESS_O)
19
20pics/%.o: $(SRCDIR)/C/%.c $(LM_IL)
21	$(COMPILE.c) -o $@ $<
22	$(POST_PROCESS_O)
23
24pics/%.o: $(SRCDIR)/$(LDBLDIR)/%.c $(LM_IL)
25	$(COMPILE.c) -o $@ $<
26	$(POST_PROCESS_O)
27
28pics/%.o: $(SRCDIR)/R/%.c $(LM_IL)
29	$(COMPILE.c) -o $@ $<
30	$(POST_PROCESS_O)
31
32pics/%.o: $(SRCDIR)/complex/%.c $(LM_IL)
33	$(COMPILE.c) -o $@ $<
34	$(POST_PROCESS_O)
35
36pics/%.o: $(SRCDIR)/m9x/%.c $(LM_IL) $(m9x_IL)
37	$(COMPILE.c) $(m9x_IL) -o $@ $<
38	$(POST_PROCESS_O)
39
40$(ROOTLIBDIR): $(ROOTFS_LIBDIR)
41	$(INS.dir)
42
43$(ROOTLIBDIR64): $(ROOTFS_LIBDIR64)
44	$(INS.dir)
45
46include $(SRC)/lib/Makefile.targ
47