Makefile.com (0eb822a1) Makefile.com (20c794b3)
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25#ident "%Z%%M% %I% %E% SMI"
26
27.SUFFIXES: .eft .esc
28
29ESC=$(SRC)/cmd/fm/eversholt/esc/$(MACH)/esc
30
31include $(SRC)/cmd/Makefile.cmd
32
33ROOT_EFT_ROOT= $(ROOT)/usr/lib/fm/eft
34ROOT_COMMON_EFT_FILES= $(EFT_COMMON_FILES:%=$(ROOT_EFT_ROOT)/%)
35USR_PLAT_FM_DIR= $(ROOT)/usr/platform/$(EFT_PLAT)/lib/fm
36USR_PLAT_EFT_DIR= $(USR_PLAT_FM_DIR)/eft
37USR_PLAT_EFT_FILES= $(EFT_PLAT_FILES:%=$(USR_PLAT_EFT_DIR)/%)
38
23# Use is subject to license terms.
24#
25#ident "%Z%%M% %I% %E% SMI"
26
27.SUFFIXES: .eft .esc
28
29ESC=$(SRC)/cmd/fm/eversholt/esc/$(MACH)/esc
30
31include $(SRC)/cmd/Makefile.cmd
32
33ROOT_EFT_ROOT= $(ROOT)/usr/lib/fm/eft
34ROOT_COMMON_EFT_FILES= $(EFT_COMMON_FILES:%=$(ROOT_EFT_ROOT)/%)
35USR_PLAT_FM_DIR= $(ROOT)/usr/platform/$(EFT_PLAT)/lib/fm
36USR_PLAT_EFT_DIR= $(USR_PLAT_FM_DIR)/eft
37USR_PLAT_EFT_FILES= $(EFT_PLAT_FILES:%=$(USR_PLAT_EFT_DIR)/%)
38
39#
40# Default target - specify before including Makefile.rootdirs which would
41# otherwise provide a default
42#
43install: all
44
39include $(SRC)/cmd/fm/eversholt/Makefile.rootdirs
40
41all:= FILEMODE = 0444
42
45include $(SRC)/cmd/fm/eversholt/Makefile.rootdirs
46
47all:= FILEMODE = 0444
48
43install: all
44
45all: $(ROOT_EFT_ROOT) $(USR_PLAT_EFT_FILES) $(ROOT_COMMON_EFT_FILES)
46
47install_h lint _msg:
48
49clean clobber:
50 $(RM) $(EFT_PLAT_FILES) $(EFT_COMMON_FILES) \
51 $(USR_PLAT_EFT_FILES) $(ROOT_COMMON_EFT_FILES)
52
53%.eft: ../common/%.esc
54 $(ESC) -I$(ROOT)/usr/include -o $@ $<
55
56%.eft: %.esc
57 $(ESC) -o $@ $<
49all: $(ROOT_EFT_ROOT) $(USR_PLAT_EFT_FILES) $(ROOT_COMMON_EFT_FILES)
50
51install_h lint _msg:
52
53clean clobber:
54 $(RM) $(EFT_PLAT_FILES) $(EFT_COMMON_FILES) \
55 $(USR_PLAT_EFT_FILES) $(ROOT_COMMON_EFT_FILES)
56
57%.eft: ../common/%.esc
58 $(ESC) -I$(ROOT)/usr/include -o $@ $<
59
60%.eft: %.esc
61 $(ESC) -o $@ $<