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, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# 23# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# ident "%Z%%M% %I% %E% SMI" 27# 28 29lint: $(LINTLIB) $(LINTOUT32) $(SGSLINTOUT) 30 31pics/%.o: ../common/%.c 32 $(COMPILE.c) -o $@ $< 33 $(POST_PROCESS_O) 34 35pics/%.o: %.c 36 $(COMPILE.c) -o $@ $< 37 $(POST_PROCESS_O) 38 39PICFLAGS= $(XREGSFLAG) $(C_PICFLAGS) -DPIC -D_REENTRANT 40 41pics/%64.o: ../common/%.c 42 $(COMPILE.c) -D_ELF64 $(PICFLAGS) -o $@ $< 43 $(POST_PROCESS_O) 44 45$(DYNLIB): $(MAPFILE) 46 47delete: 48 -$(RM) $(DYNLIB) 49 50include $(SRC)/lib/Makefile.targ 51include $(SRC)/cmd/sgs/Makefile.targ 52 53# Derived source and header files (messaging). 54 55catalog: 56 57chkmsg: $(LINTSRCS) 58 sh $(CHKMSG) $(CHKMSGFLAGS) $(LINTSRCS) 59 60$(BLTDEFS) + \ 61$(BLTDATA): $(SGSMSGTARG) 62 $(SGSMSG) $(SGSMSGFLAGS) $(SGSMSGTARG) 63