xref: /titanic_41/usr/src/cmd/sgs/libcrle/Makefile.targ (revision bdfc6d18da790deeec2e0eb09c625902defe2498)
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#ident	"%Z%%M%	%I%	%E% SMI"
24#
25# Copyright (c) 2001 by Sun Microsystems, Inc.
26# All rights reserved.
27
28pics64/%.o:	../common/%.c
29		$(COMPILE.c) -o $@ -D_ELF64 $<
30		$(POST_PROCESS_O)
31
32pics/%.o:	../common/%.c
33		$(COMPILE.c) -o $@ $<
34		$(POST_PROCESS_O)
35
36$(DYNLIB):	$(MAPFILES)
37
38$(LIBLINKS):
39		-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
40
41delete:
42		$(RM) $(DYNLIB)
43
44
45include		$(SRC)/lib/Makefile.targ
46include		$(SRC)/cmd/sgs/Makefile.targ
47
48# Derived source and header files (messaging).
49
50catalog:	$(BLTMESG)
51
52chkmsg:		$(LIBSRCS)
53		sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
54
55$(BLTDEFS) + \
56$(BLTDATA) + \
57$(BLTMESG) :	$(SGSMSGALL)
58		$(SGSMSG) $(SGSMSGFLAGS) $(SGSMSGALL)
59