Makefile revision e7cbe64f7a72dae5cb44f100db60ca88f3313c65
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A#
98N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A# ident "%Z%%M% %I% %E% SMI"
98N/A#
98N/A
98N/ALIBRARY = libsa.a
98N/ALOCOBJS = assert.o ctype.o errno.o libintl.o malloc.o memlist.o \
98N/A standalloc.o stdio.o stdlib.o strdup.o strings.o \
179N/A time.o unistd.o
98N/ACMNOBJS = cache.o diskread.o fsswitch.o promfs.o
98N/A
98N/Asparc_CMNUTILOBJS = memchr.o memmove.o
98N/ACMNUTILOBJS = $($(MACH)_CMNUTILOBJS) \
98N/A bsearch.o memcmp.o memcpy.o memset.o qsort.o \
98N/A string.o strtol.o strtoul.o
98N/A
98N/Ai386_MACHOBJS = get.o map_prog.o
98N/Asparc_MACHOBJS = prom_misc.o
98N/AMACHOBJS = $($(MACH)_MACHOBJS)
98N/A
98N/Ai386_ASMOBJS = _setjmp.o samuldiv64.o
98N/Asparc_ASMOBJS = _setjmp.o
151N/AASMOBJS = $($(MACH)_ASMOBJS)
137N/A
153N/AOBJECTS = $(LOCOBJS) $(CMNOBJS) $(CMNUTILOBJS) $(MACHOBJS) $(ASMOBJS)
98N/A
179N/Ainclude ../Makefile.com
126N/A
98N/ACMNDIR = ../fs/common
98N/ACMNUTILDIR = $(TOPDIR)/common/util
98N/ASRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(CMNOBJS:%.o=$(CMNDIR)/%.c) \
123N/A $(CMNUTILOBJS:%.o=$(CMNUTILDIR)/%.c) \
98N/A $($(MACH)_ASMOBJS:%.o=$(MACH)/%.s) \
98N/A $($(MACH)_OBJS:%.o=$(MACH)/%.c)
98N/A
98N/ALDLIBS += -lsock
98N/ACPPFLAGS += $(SOCKCPPFLAGS)
98N/A
98N/Aobjs/%.o: $(MACH)/%.s
98N/A $(COMPILE.s) -o $@ $<
98N/A $(POST_PROCESS_O)
98N/A
98N/Aobjs/%.o: $(MACH)/%.c
98N/A $(COMPILE.c) -o $@ $<
156N/A $(POST_PROCESS_O)
156N/A
98N/Aobjs/%.o: $(CMNUTILDIR)/%.c
98N/A $(COMPILE.c) -o $@ $<
98N/A $(POST_PROCESS_O)
98N/A
98N/Ainclude ../Makefile.targ
98N/A