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