cmd: remove sparc-only virtinfo
[unleashed.git] / usr / src / cmd / picl / plugins / sun4u / littleneck / psvcplugin / Makefile
blob519eb7cf093018e4e91899c43d9b47998bf7cb34
2 # CDDL HEADER START
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.
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.
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]
20 # CDDL HEADER END
23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # ident "%Z%%M% %I% %E% SMI"
29 LIBRARY= libpsvcplugin_psr.a
30 VERS= .1
32 OBJECTS= psvcplugin.o
34 # include library definitions
35 include $(SRC)/lib/Makefile.lib
36 include $(SRC)/Makefile.psm
38 include $(SRC)/cmd/picl/plugins/Makefile.com
40 SRCS= $(OBJECTS:%.o=%.c)
42 LIBS = $(DYNLIB)
44 ROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-280R
46 ROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
48 CPPFLAGS += -I$(SRC)/uts/sun4u
49 CPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
51 LDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
52 LDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
53 LDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
54 DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins:/usr/platform/sun4u/lib
56 LDLIBS += -lc -lpicltree -lpicl -lpsvcobj -lpsvcplugin
58 .KEEP_STATE:
60 SUBDIRS=
62 POFILE= psvcplugin.po
63 POFILE_RENAME= psvcplugin_lneck.po
65 all := TARGET= all
66 install := TARGET= install
67 clean := TARGET= clean
68 clobber := TARGET= clobber
69 _msg := TARGET= _msg
71 all: $(LIBS) $(LIBLINKS)
73 install: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
75 _msg: $(MSGDOMAIN) $(POFILE)
76 $(RM) $(MSGDOMAIN)/$(POFILE)
77 $(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE_RENAME)
79 $(MSGDOMAIN):
80 $(INS.dir)
82 $(LIBLINKS): FRC
83 $(RM) $(LIBLINKS); $(SYMLINK) $(DYNLIB) $(LIBLINKS)
85 # include library targets
86 include $(SRC)/cmd/picl/plugins/Makefile.targ
87 include $(SRC)/lib/Makefile.targ
89 $(SUBDIRS): FRC
90 @cd $@; pwd; $(MAKE) $(TARGET)
92 FRC: