da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License, Version 1.0 only
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# (the "License"). You may not use this file except in compliance
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(ROOTDIR)/bin/%: %
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(INS.file)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(ROOTDIR)/lib/%: %
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(INS.file)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinsgsmsg: $(SGSMSG_OBJS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin -o $@ $(SGSMSG_OBJS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinsgsmsg.o: ../common/sgsmsg.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c ../common/sgsmsg.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinstring_table.o: ../common/string_table.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ../common/string_table.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinavl.o: $(VAR_AVLDIR)/avl.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(VAR_AVLDIR)/avl.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinpiglatin: ../common/piglatin.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(NATIVECC) $(NATIVE_CFLAGS) -o $@ ../common/piglatin.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%: %.o
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(LINK.c) -o $@ $< $(LDLIBS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(POST_PROCESS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%.o: ../common/%.c
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(COMPILE.c) -o $@ $<
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(POST_PROCESS_O)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincatalog: sgsmsg
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclobber: clean
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(RM) $(PROGS) $(NATIVE) $(CLOBBERFILES)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(RM) $(OBJECTS) $(CLEANFILES)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlint:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin @ echo "piglatin.c:" >> $(LINTOUT)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(LINT.c) ../common/piglatin.c -lc >> $(LINTOUT) 2>&1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin @ echo "sgsmsg" >> $(LINTOUT)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(LINT.c) $(SGSMSG_SRCS) -lc >> $(LINTOUT) 2>&1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin