Makefile revision 70025d765b044c6d8594bb965a2247a61e991a99
1754N/A# The contents of this file are subject to the terms of the 1754N/A# Common Development and Distribution License, Version 1.0 only 1754N/A# (the "License"). You may not use this file except in compliance 1754N/A# See the License for the specific language governing permissions 1754N/A# and limitations under the License. 1754N/A# When distributing Covered Code, include this CDDL HEADER in each 1754N/A# If applicable, add the following below this CDDL HEADER, with the 1754N/A# fields enclosed by brackets "[]" replaced with your own identifying 1754N/A# information: Portions Copyright [yyyy] [name of copyright owner] 1754N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 1754N/A# Use is subject to license terms. 1754N/A############################################################################# 1754N/A############################################################################# 1754N/A# SRCS is used by the lintcheck rule and is defined as 1754N/A# $(OBJECTS:%.o=$(SRCDIR)/%.c) where SRCDIR is this directory; set SRCS to a 1754N/A# list of source paths if it differ from the default 4337N/A# override LIBLINKS so that ROOTLIBS or anything else won't match the install 4337N/A# target "$(ROOTLIBDIR)/$(LIBLINKS)" ############################################################################# # $(TOPOBJECTS:%=objs/%) := SRCDIR = $(TOP) # and let the make do the rest because the man page states: # "Notice that if a conditional macro is referred to in a dependency list, # the $ must be delayed (use $$ instead)." # So we must add new targets for our TOPOBJECTS items but follow