xref: /titanic_44/usr/src/cmd/fm/eversholt/files/Makefile.com (revision 28167c24ba5be8b7c1d05e02d053f4a55cd21cc9)
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 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27
28.SUFFIXES: .eft .esc
29
30ESC=$(SRC)/cmd/fm/eversholt/esc/$(MACH)/esc
31
32include $(SRC)/cmd/Makefile.cmd
33
34ROOT_EFT_ROOT=	$(ROOT)/usr/lib/fm/eft
35ROOT_COMMON_EFT_FILES= $(EFT_COMMON_FILES:%=$(ROOT_EFT_ROOT)/%)
36USR_PLAT_FM_DIR= $(ROOT)/usr/platform/$(EFT_PLAT)/lib/fm
37USR_PLAT_EFT_DIR= $(USR_PLAT_FM_DIR)/eft
38USR_PLAT_EFT_FILES= $(EFT_PLAT_FILES:%=$(USR_PLAT_EFT_DIR)/%)
39
40include $(SRC)/cmd/fm/eversholt/Makefile.rootdirs
41
42all:= FILEMODE =	0444
43
44install: all
45
46all: $(ROOT_EFT_ROOT) $(USR_PLAT_EFT_FILES) $(ROOT_COMMON_EFT_FILES)
47
48install_h lint _msg:
49
50clean clobber:
51	$(RM) $(EFT_PLAT_FILES) $(EFT_COMMON_FILES) \
52	$(USR_PLAT_EFT_FILES) $(ROOT_COMMON_EFT_FILES)
53
54%.eft: ../common/%.esc
55	$(ESC) -o $@ $<
56
57%.eft: %.esc
58	$(ESC) -o $@ $<
59