Makefile.targ revision 25b5cdf490cfb7bdfcb7a5e9d28355fdd92cba88
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
dc20a3024900c47dd2ee44b9707e6df38f7d62a5as# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright 2016 RackTop Systems.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwpics/%.o: ../common/%.c
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(COMPILE.c) -o $@ $<
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS_O)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwpics/%.o: $(SGSTOOLS)/common/%.c
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(COMPILE.c) -o $@ $<
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS_O)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwpics/%32.o: ../common/%.c
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(COMPILE.c) -o $@ $<
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS_O)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
8d7e41661dc4633488e93b13363137523ce59977jose borregopics/%64.o: ../common/%.c
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb $(COMPILE.c) -D_ELF64 -o $@ $<
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS_O)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
8d7e41661dc4633488e93b13363137523ce59977jose borrego$(LIBLINKS):
8d7e41661dc4633488e93b13363137523ce59977jose borrego -$(RM) $@; $(SYMLINK) $(DYNLIB) $@
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
8d7e41661dc4633488e93b13363137523ce59977jose borregodelete:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(RM) $(DYNLIB)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borrego.PARALLEL: $(LINTOUT32) $(LINTOUT64) $(LINTLIB32) $(LINTLIB64)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregolint: $(LINTLIB32) $(LINTOUT32) $(LINTLIB64) $(LINTOUT64) \
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb .WAIT $(SGSLINTOUT)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Special target for native builds (ie. when we need to build a version of ld
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# to build a version of ld :-).
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregonative: $(SGSLIBDIR)/$(LIBLINKS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borrego$(PICS): pics
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(BUILD.SO)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS_SO)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
2c1b14e51525da2c09064641416fc4aed457c72fjose borrego -@$(RM) $(SGSLIBDIR)/$(LIBLINKS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego $(SYMLINK) $(DYNLIB) $(SGSLIBDIR)/$(LIBLINKS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregoinclude $(SRC)/lib/Makefile.targ
8d7e41661dc4633488e93b13363137523ce59977jose borregoinclude $(SRC)/cmd/sgs/Makefile.targ
2c1b14e51525da2c09064641416fc4aed457c72fjose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borrego# Derived source and header files (messaging).
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbcatalog: $(BLTMESG)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
8d7e41661dc4633488e93b13363137523ce59977jose borregochkmsg: $(LIBSRCS) $(CHKSRCS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS) $(CHKSRCS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb$(BLTDEFS) + \
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb$(BLTDATA) + \
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb$(BLTMESG): $(SGSMSGALL)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb $(SGSMSG) $(SGSMSGFLAGS) $(SGSMSGALL)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb