Makefile.lib (7fd791373689a6af05e27efec3b1ab556e02aa23) Makefile.lib (4c1e9c664ecec498ddd32cdf30937419a5a495bb)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21# Copyright 2015 Gary Mills
22# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21# Copyright 2015 Gary Mills
22# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
23# Copyright 2016 RackTop Systems.
23# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright (c) 2015, Joyent, Inc.
25#
26#
27# Definitions common to libraries.
28#
29# include global definitions; SRC should be defined in the shell.
30# SRC is needed until RFE 1026993 is implemented.

--- 123 unchanged lines hidden (view full) ---

154# default value for "portable" source
155SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
156
157# default build of an archive and a shared object,
158# overridden locally when extra processing is needed
159BUILD.AR= $(AR) $(ARFLAGS) $@ $(AROBJS)
160BUILD.SO= $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
161 $(PICS) $(EXTPICS) $(LDLIBS)
24# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
25# Copyright (c) 2015, Joyent, Inc.
26#
27#
28# Definitions common to libraries.
29#
30# include global definitions; SRC should be defined in the shell.
31# SRC is needed until RFE 1026993 is implemented.

--- 123 unchanged lines hidden (view full) ---

155# default value for "portable" source
156SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
157
158# default build of an archive and a shared object,
159# overridden locally when extra processing is needed
160BUILD.AR= $(AR) $(ARFLAGS) $@ $(AROBJS)
161BUILD.SO= $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
162 $(PICS) $(EXTPICS) $(LDLIBS)
163BUILD64.SO= $(CC64) $(CFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
164 $(PICS) $(EXTPICS) -L $(ROOTLIBDIR64) $(LDLIBS)
162BUILDCCC.SO= $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
163 $(PICS) $(EXTPICS) $(LDLIBS)
165BUILDCCC.SO= $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
166 $(PICS) $(EXTPICS) $(LDLIBS)
167BUILDCCC64.SO= $(CCC64) $(CCFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
168 $(PICS) $(EXTPICS) $(LDLIBS) $(CCNEEDED64)
164
165# default dynamic library symlink
166INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
167INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
168
169# default 64-bit dynamic library symlink
170INS.liblink64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
171INS.liblinkccc64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@

--- 98 unchanged lines hidden ---
169
170# default dynamic library symlink
171INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
172INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
173
174# default 64-bit dynamic library symlink
175INS.liblink64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
176INS.liblinkccc64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@

--- 98 unchanged lines hidden ---