Makefile.lib (7b07063d906859b2be1e88791f801b3c96e432f6) Makefile.lib (6bb6b5762ca4b17cd5fb3c6c123f17489d5635aa)
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

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

106ROOTFS_LINKS64= $(ROOTFS_LIBDIR64)/$(LIBLINKS)
107ROOTLINKSCCC= $(ROOTLIBDIR)/$(LIBLINKSCCC)
108ROOTLINKSCCC64= $(ROOTLIBDIR64)/$(LIBLINKSCCC)
109ROOTFS_LINKSCCC= $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)
110ROOTFS_LINKSCCC64= $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)
111ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
112ROOTFS_LINT= $(LINTSRC:%=$(ROOTFS_LINTDIR)/%)
113ROOTFS_LINT64= $(LINTSRC:%=$(ROOTFS_LINTDIR64)/%)
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

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

106ROOTFS_LINKS64= $(ROOTFS_LIBDIR64)/$(LIBLINKS)
107ROOTLINKSCCC= $(ROOTLIBDIR)/$(LIBLINKSCCC)
108ROOTLINKSCCC64= $(ROOTLIBDIR64)/$(LIBLINKSCCC)
109ROOTFS_LINKSCCC= $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)
110ROOTFS_LINKSCCC64= $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)
111ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
112ROOTFS_LINT= $(LINTSRC:%=$(ROOTFS_LINTDIR)/%)
113ROOTFS_LINT64= $(LINTSRC:%=$(ROOTFS_LINTDIR64)/%)
114ROOTMAN3= $(ROOT)/usr/share/man/man3
115ROOTMAN3FILES= $(MAN3FILES:%=$(ROOTMAN3)/%)
116$(ROOTMAN3FILES) := FILEMODE= 444
117
118# Demo rules
119DEMOFILES=
120DEMOFILESRCDIR= common
121ROOTDEMODIRBASE= __nonexistent_directory__
122ROOTDEMODIRS=
123ROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
124$(ROOTDEMODIRS) := DIRMODE = 755

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

227 $(COMPILE.cc) -o $@ $<
228 $(POST_PROCESS_O)
229
230.PRECIOUS: $(LIBS)
231
232# Define the majority text domain in this directory.
233TEXT_DOMAIN= SUNW_OST_OSLIB
234
114
115# Demo rules
116DEMOFILES=
117DEMOFILESRCDIR= common
118ROOTDEMODIRBASE= __nonexistent_directory__
119ROOTDEMODIRS=
120ROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
121$(ROOTDEMODIRS) := DIRMODE = 755

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

224 $(COMPILE.cc) -o $@ $<
225 $(POST_PROCESS_O)
226
227.PRECIOUS: $(LIBS)
228
229# Define the majority text domain in this directory.
230TEXT_DOMAIN= SUNW_OST_OSLIB
231
235$(ROOTMAN3)/%: %.sunman
236 $(INS.rename)
237
238#
239# For library source code, we expect that some symbols may not be used or
240# may *appear* to be able to rescoped to static; shut lint up. Never add
241# a flag here unless you're *sure* that all libraries need to be linted
242# with it.
243#
244LINTCHECKFLAGS = -m -erroff=E_NAME_DEF_NOT_USED2
245LINTCHECKFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2
246
247#
248# Target Architecture
249#
250TARGETMACH= $(MACH)
251
252#
253# Allow people to define their own clobber rules. Normal makefiles
254# shouldn't override this - they should override $(CLOBBERFILES) instead.
255#
256CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)
232#
233# For library source code, we expect that some symbols may not be used or
234# may *appear* to be able to rescoped to static; shut lint up. Never add
235# a flag here unless you're *sure* that all libraries need to be linted
236# with it.
237#
238LINTCHECKFLAGS = -m -erroff=E_NAME_DEF_NOT_USED2
239LINTCHECKFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2
240
241#
242# Target Architecture
243#
244TARGETMACH= $(MACH)
245
246#
247# Allow people to define their own clobber rules. Normal makefiles
248# shouldn't override this - they should override $(CLOBBERFILES) instead.
249#
250CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)