Makefile (7c478bd9) Makefile (5801b0f0)
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#

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

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#
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#

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

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 2004 Sun Microsystems, Inc. All rights reserved.
26# Use is subject to license terms.
27#
28# cmd/picl/plugins/common/frutree/Makefile
29#
30LIBRARY= libpiclfrutree.a
31VERS= .1
32

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

38include $(SRC)/cmd/picl/plugins/Makefile.com
39
40SRCS= $(OBJECTS:%.o=%.c)
41
42LIBS = $(DYNLIB)
43
44ROOTLIBDIR = $(USR_LIB_PLUGINDIR)
45
22# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25# cmd/picl/plugins/common/frutree/Makefile
26#
27LIBRARY= libpiclfrutree.a
28VERS= .1
29

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

35include $(SRC)/cmd/picl/plugins/Makefile.com
36
37SRCS= $(OBJECTS:%.o=%.c)
38
39LIBS = $(DYNLIB)
40
41ROOTLIBDIR = $(USR_LIB_PLUGINDIR)
42
46CLEANFILES= $(LINTOUT) $(LINTLIB)
47CLOBBERFILES += $(LIBLINKS)
48
49CPPFLAGS += -I../devtree
50CPPFLAGS += -I$(SRC)/cmd/picl/plugins/lib/picld_pluginutil
51CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
52LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
53LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
54LDLIBS += -L../devtree
55LDLIBS += -L../memcfg
56LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
43CLOBBERFILES += $(LIBLINKS)
44
45CPPFLAGS += -I../devtree
46CPPFLAGS += -I$(SRC)/cmd/picl/plugins/lib/picld_pluginutil
47CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
48LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
49LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
50LDLIBS += -L../devtree
51LDLIBS += -L../memcfg
52LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
57LDLIBS += -lc -lpicltree -lpicld_pluginutil -lpicldevtree
58LDLIBS += -lpiclmemcfg
59$(SPARC_BLD)LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins \
60 -R/usr/platform/sun4u/lib/picl/plugins
61LDLIBS += -R/usr/lib/picl/plugins
53LDLIBS += -lc -lpicltree -lpicld_pluginutil
54$(SPARC_BLD)LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins
55$(SPARC_BLD)LDLIBS += -R/usr/platform/sun4u/lib/picl/plugins
56$(SPARC_BLD)LDLIBS += -R/usr/lib/picl/plugins
62
63.KEEP_STATE:
64
65SUBDIRS=
66
67all := TARGET= all
68install := TARGET= install
69clean := TARGET= clean
70clobber := TARGET= clobber
57
58.KEEP_STATE:
59
60SUBDIRS=
61
62all := TARGET= all
63install := TARGET= install
64clean := TARGET= clean
65clobber := TARGET= clobber
71lint := TARGET= lint
72_msg := TARGET= _msg
73
74POFILE= piclfrutree.po
75
76all: $(LIBS) $(LIBLINKS)
77
78install: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
79

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

86
87$(LIBLINKS): FRC
88 $(RM) $@; $(SYMLINK) $(DYNLIB) $@
89
90# include library targets
91include $(SRC)/cmd/picl/plugins/Makefile.targ
92include $(SRC)/lib/Makefile.targ
93
66_msg := TARGET= _msg
67
68POFILE= piclfrutree.po
69
70all: $(LIBS) $(LIBLINKS)
71
72install: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
73

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

80
81$(LIBLINKS): FRC
82 $(RM) $@; $(SYMLINK) $(DYNLIB) $@
83
84# include library targets
85include $(SRC)/cmd/picl/plugins/Makefile.targ
86include $(SRC)/lib/Makefile.targ
87
94lint :
95 $(LINT.c) $(SRCS)
96
97$(SUBDIRS): FRC
98 @cd $@; pwd; $(MAKE) $(TARGET)
99
100FRC:
88$(SUBDIRS): FRC
89 @cd $@; pwd; $(MAKE) $(TARGET)
90
91FRC: