Lines Matching refs:Makefile

36 make(1) and are somewhat familiar with the ON Makefile standards outlined in
39 Makefile Overview
44 lib/<library>/Makefile:
46 This is your library's top-level Makefile. It should contain rules
51 lib/<library>/Makefile.com
53 This is your library's common Makefile. It should contain rules
54 and macros which are common to all ISAs. This Makefile should never
58 lib/<library>/<isa>/Makefile
62 Makefiles should include your common Makefile and then provide any
64 provided in your common Makefile.
71 lib/Makefile.lib:
75 lib/Makefile.lib.64
80 lib/Makefile.rootfs
85 lib/Makefile.targ
92 The Library Top-level Makefile
95 As described above, your top-level library Makefile should contain
118 The ROOTHDRS and CHECKHDRS targets are provided in lib/Makefile.lib to make
120 these targets, your Makefile must set the HDRS to the list of your library's
123 than $(ROOT)/usr/include, your Makefile must also set ROOTHDRDIR to the
125 ROOTHDRDIR have been set, your Makefile need only contain
133 Similar rules are provided (in $(SRC)/Makefile.msg.targ) to make it easy for
143 include ../Makefile.lib
155 include $(SRC)/Makefile.msg.targ
174 include ../Makefile.lib
190 include $(SRC)/Makefile.msg.targ
192 The Makefile above would work in conjunction with the following in its
203 include $(SRC)/Makefile.msg.targ
206 parent Makefile and that merged file will be installed into the proto area
207 via MSGDOMAINPOFILE, there is no need to use MSGDOMAINPOFILE in this Makefile
211 XGETFLAGS and TEXT_DOMAIN may also be set in your Makefile to override or
255 top-level library Makefile (license notice and copyright omitted):
257 include ../Makefile.lib
283 include ../Makefile.targ
285 The Common Makefile
288 In concept, your common Makefile should contain all of the rules and
296 The common Makefile can be conceptually split up into four sections:
304 Makefile.lib. This section is conceptually terminated by the
305 inclusion of Makefile.lib, followed, if necessary, by the
306 inclusion of Makefile.rootfs (only if the library is to be
310 of Makefile.lib (or which must be defined following the inclusion
311 of Makefile.lib, to override or augment its definitions). This
337 Makefile.lib, but it is good practice to do so since VERS and
368 $(ROOT)/usr/lib ($(ROOT)/lib if you included Makefile.rootfs),
376 Makefile.rootfs), you usually do not need to set this.
381 as `../common'. Because this Makefile is actually included from
388 This defaults to $(OBJECTS:%.o=$(SRCDIR)/%.c) in Makefile.lib, so
400 in your Makefile. Of course, you do not need to set this if your
420 Makefile.lib, so you only need to change this if you have additional
482 be the first real target in common Makefile. Since the
493 Use the `lintcheck' rule provided by lib/Makefile.targ to lint the
501 These targets are already provided by lib/Makefile.targ and thus should not
502 be provided by your common Makefile. Instead, your common Makefile should
506 Once again, here's libinetutil's common Makefile, which shows how many of
507 these directives go together. Note that Makefile.rootfs is included to
514 include ../../Makefile.lib
515 include ../../Makefile.rootfs
541 include ../../Makefile.targ
563 sparc/Makefile:
565 include ../Makefile.com
569 sparcv9/Makefile:
571 include ../Makefile.com
572 include ../../Makefile.lib.64
576 i386/Makefile:
578 include ../Makefile.com
582 amd64/Makefile:
584 include ../Makefile.com
585 include ../../Makefile.lib.64
590 of these Makefiles include libinetutil/Makefile.com, and it already has a
592 Makefile.lib.64, which overrides some of the definitions contained in the
593 higher level Makefiles included by the common Makefile so that 64-bit
606 CTF by setting CTFMERGE_LIB to ":"; see libw/Makefile.com for an example.
635 Example of a Makefile hierarchy for a library and a collection
640 Example of a Makefile hierarchy for a collection of related
643 Also an example of a Makefile hierarchy that supports the