Cross Reference: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/Makefile
Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
563N/A#
563N/A# CDDL HEADER START
563N/A#
563N/A# The contents of this file are subject to the terms of the
563N/A# Common Development and Distribution License (the "License").
563N/A# You may not use this file except in compliance with the License.
563N/A#
563N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
563N/A# or http://www.opensolaris.org/os/licensing.
563N/A# See the License for the specific language governing permissions
563N/A# and limitations under the License.
563N/A#
563N/A# When distributing Covered Code, include this CDDL HEADER in each
563N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
563N/A# If applicable, add the following below this CDDL HEADER, with the
563N/A# fields enclosed by brackets "[]" replaced with your own identifying
563N/A# information: Portions Copyright [yyyy] [name of copyright owner]
563N/A#
563N/A# CDDL HEADER END
563N/A#
563N/A#
563N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
563N/A# Use is subject to license terms.
563N/A#
563N/A
563N/ALIBRARY= libpiclfrudata.a
563N/AVERS= .1
563N/AOBJECTS= fru_data.o
563N/A
662N/A# include library definitions
563N/Ainclude $(SRC)/Makefile.psm
563N/Ainclude $(SRC)/lib/Makefile.lib
563N/A
563N/AROOT_PLATFORM = $(USR_PLAT_DIR)/sun4u
563N/A
563N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
563N/A
563N/ALIBLINKS= libpiclfrudata.so
563N/A
563N/ASRCS= $(OBJECTS:%.o=%.c)
563N/A
563N/ALIBS = $(DYNLIB)
563N/A
563N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
563N/A
563N/ACLEANFILES= $(LINTOUT) $(LINTLIB)
563N/ACLOBBERFILES += $(LIBLINKS)
563N/ACSTYLE = cstyle -p -P
563N/AHDRCHK = hdrchk
563N/A
623N/A
623N/ACPPFLAGS += -I$(SRC)/lib/libfru/include -I../lib/fruaccess
580N/ACPPFLAGS += -I$(SRC)/cmd/picl/plugins/lib/picld_pluginutil
563N/ACPPFLAGS += -I$(SRC)/lib/libfruutils/
563N/ACFLAGS += $(CCVERBOSE)
563N/ALDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/lib/fruaccess
563N/ALDLIBS += -L$(SRC)/lib/libfruutils/$(MACH)
563N/ALDLIBS += -L$(SRC)/cmd/picl/plugins/common/frutree
563N/ALDLIBS += -L$(ROOT)/usr/lib/picl/plugins
563N/ALDLIBS += -lc -lnvpair -lfruutils
563N/ALDLIBS += -lpicltree -lpiclfrutree -lfruaccess -lpicld_pluginutil
563N/ALDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/\$$PLATFORM/lib:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins:/usr/platform/sun4u/lib
563N/A.KEEP_STATE:
563N/A
563N/A
563N/ASUBDIRS=
563N/A
563N/Aall := TARGET= all
563N/Ainstall := TARGET= install
563N/Aclean := TARGET= clean
563N/Aclobber := TARGET= clobber
563N/Alint := TARGET= lint
563N/A_msg := TARGET= _msg
563N/A
563N/APOFILE= $(LIBRARY:.a=.po)
563N/APOFILES= frudata.po
563N/A
563N/Aall: $(LIBS) $(LIBLINKS) $(CONF)
563N/A
563N/Ainstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
563N/A
563N/Acheck-style :
563N/A $(CSTYLE) *.c *.h
563N/A $(HDRCHK) *.h
563N/A
563N/A_msg: $(MSGDOMAIN) $(POFILE)
563N/A $(RM) $(MSGDOMAIN)/$(POFILE)
563N/A $(CP) $(POFILE) $(MSGDOMAIN)
563N/A
563N/A$(MSGDOMAIN):
662N/A $(INS.dir)
662N/A
563N/A$(POFILE): .WAIT $(POFILES)
563N/A $(RM) $@
563N/A $(CAT) $(POFILES) > $@
563N/A
563N/A$(POFILES):
563N/A $(RM) messages.po
563N/A $(XGETTEXT) $(XGETFLAGS) *.[ch]* */*.[ch]*
563N/A $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
563N/A $(RM) messages.po
563N/A
563N/A$(LIBLINKS): FRC
563N/A $(RM) $@; $(SYMLINK) $(DYNLIB) $@
563N/A
563N/A# include library targets
563N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.targ
563N/Ainclude $(SRC)/lib/Makefile.targ
563N/A
623N/Alint :
563N/A $(LINT.c) $(SRCS)
563N/A
563N/A$(SUBDIRS): FRC
563N/A @cd $@; pwd; $(MAKE) $(TARGET)
563N/A
563N/AFRC:
563N/A