Lines Matching defs:PACKAGE

57 set option=';recurse;sa;-;Set the recursive \b:MAKE:\b \aaction\a:;[action:=1]{[+combine?Combine all recursive makefiles into one rooted at the current directory. \b::\b, \b:PACKAGE:\b, \b.SOURCE\b*, and \bLDLIBRARIES\b are intercepted to adjust relative directory and library references. Complex makefile hierarchies may not be amenable to combination.][+implicit?All makefiles in all subdirectories are treated as if they contained \b:MAKE:\b.][+list?List the recursion directories, one per line, on the standard output and exit. A \b-\b prerequisite separates groups that may be made concurrently and a \b+\b prerequisite separates leaf directories from intermediate directories.][+only?Disable component closure and operate on explicit prerequisites only.][+prereqs?List the recursion directory dependencies as a makefile on the standard output and exit.][+\anumber\a?Set the directory recursion concurrency level to \anumber\a.]}'
244 LICENSEFILES = $(.PACKAGE.license) $(LICENSE:/,.*//:N!=*=*:/.*/$(.PACKAGE.)-& &) $(LICENSEFILE) $(LICENSEFILEDEFAULT) $(.PACKAGE.:X=$$(.PACKAGE.):C,/,-,) $(.PACKAGE.:X=$$(PWD:C,^$(INSTALLROOT)/[^/]*/[^/]*/,,:C,/.*,,:/^lib//:/lib$//):C,/,-,) $(.PACKAGE.)
457 PACKAGE =
459 PACKAGE_LOCAL = $(.PACKAGE.:O=1)_
460 PACKAGE_PATH = $(PACKAGE)
580 if ! ( T = "$(.PACKAGE.$(%:O=1).type)" )
596 .PACKAGE.$(.S.).library := -l
614 if "$(-lib-type)" && "$(.PACKAGE.$(%).type)" != "-"
615 for P $(.PACKAGE.$(%).type) $(CC.LIB.TYPE)
651 if ! "$(.LIBRARY.LIST.)" || "$(.PACKAGE.LIBRARY. $(B))" != "-l"
694 if ( "$(-static-link)" || "$(.PACKAGE.LIBRARY. $(B))" == "+l" ) && "$(<<)" != ".BIND.+l%"
700 if "$(T:D)" != "$(CC.STDLIB:/ /|/G)" && "$(T:D)" != "/usr/($(.PACKAGE.:/ /|/G))"
763 if ! "$(.PACKAGE.stdlib:N=$(T))"
925 if "$(.PACKAGE.$(B).rules)"
931 .PACKAGE.$(B).rules := $(R)
933 .PACKAGE.$(B).rules := -
969 .PACKAGE.$(B).library := +l
978 if ! "$(.PACKAGE.$(B).rules)"
982 .PACKAGE.$(B).rules := $(H)
984 .PACKAGE.$(B).rules := -
989 if "$(.PACKAGE.LIBRARY. $(B))" == "+l"
994 if "$(S:A=.VIRTUAL)" || "$(.PACKAGE.LIBRARY. $(L:/[-+]l//))" == "-l"
1013 if "$(S:A=.VIRTUAL)" || "$(.PACKAGE.LIBRARY. $(B:/[-+]l//))" == "-l"
1272 T := $(*.SOURCE.%.STD.INCLUDE:N=*/($(.PACKAGE.build:A!=.TARGET:/ /|/G)):T=FD:U!)
1669 .PACKAGE.$(T1:/+l//).library.$(<:B) := +l
2086 P := $(.PACKAGE.plugin)
2170 .PACKAGE.soname := $(N)
2200 S := $(Q) $(>:V:N=[-+]l*::N!=[-+]l$(Q)) $(.PACKAGE.LIBRARIES. $(.PACKAGE.build:A!=.TARGET):N!=[-+]l$(Q)) $(LDLIBRARIES:N=[-+]l*:N!=[-+]l$(Q))
2308 if ! "$(.PACKAGE.$(B).private)"
2340 if ! "$(.PACKAGE.$(B).private)"
2431 if "$(R:N=$(D))" || ! "$(-all-static)" && "$(CC.STDLIB:N=$(D:T=F:P=D))" && "$(.PACKAGE.$(L:/+l//).library)" != "+l"
2498 .PACKAGE.$(F:/+l//).library.$(P) := +l
2674 .PACKAGE.build.$(<:O=1) := $(.PACKAGE.build)
2719 OP := $(.PACKAGE.)
2720 .PACKAGE. = -
2721 OB := $(.PACKAGE.build)
2722 .PACKAGE.build = -
2726 for P $(.PACKAGE.build)
2734 .PACKAGE.build := $(INS) $(OB) $(APP)
2737 for P $(.PACKAGE.)
2745 .PACKAGE. := $(INS) $(OP) $(APP)
2750 .NONRECURSIVE.PACKAGE.LIBRARIES. : .FUNCTION
2751 $(@.PACKAGE.LIBRARIES.:V)
2753 .PACKAGE.LIBRARIES. : .FUNCTION
2755 return $(.NONRECURSIVE.PACKAGE.LIBRARIES. $(.PACKAGE.build.$(<<:O=1)))
2757 LDLIBRARIES += $$(.PACKAGE.LIBRARIES.)
2815 * the most recent :PACKAGE: assertion takes highest precedence
2816 * .PACKAGE. is the ordered package list used to alter
2818 * .PACKAGE.build is the package list to build against
2838 .PACKAGE. =
2839 .PACKAGE.build =
2840 .PACKAGE.install =
2841 .PACKAGE.libraries =
2842 .PACKAGE.license =
2843 .PACKAGE.plugin =
2844 .PACKAGE.registry = 1
2845 .PACKAGE.soname =
2846 .PACKAGE.stdlib = $(*.SOURCE.a) $(CC.STDLIB) /usr/lib /lib
2847 .PACKAGE.strip =
2849 .PACKAGE.LIBRARY. : .FUNCTION
2855 if R = "$(.PACKAGE.$(%).library.$(P))"
2858 if R = "$(.PACKAGE.$(%).library.weak.$(P))"
2862 return $(.PACKAGE.$(%).library)
2864 .PACKAGE.LIBRARIES. : .FUNCTION
2867 if P = "$(.PACKAGE.LIBRARY. $(L))"
2875 R += $(.PACKAGE.libraries)
2885 * .PACKAGE.$(P).found 1 if at least one package lib or header found
2889 .PACKAGE.CONFIG. = lib/pkgconfig
2890 .PACKAGE.GLOBAL. =
2891 .PACKAGE.LOCAL. =
2892 .PACKAGE.PROBE. =
2894 .PACKAGE.INIT. : .FUNCTION .PROBE.INIT
2897 if ! .PACKAGE.GLOBAL.
2898 .PACKAGE.GLOBAL. := $(PATH:/:/ /G:D:N!=$(USRDIRS:/:/|/G)|/usr/*([!/])) $(INSTALLROOT:T=F:P=L=*) $(CC.STDLIB:D:N!=$(USRDIRS:/:/|/G)|/usr/*([!/])) $(PATH:/:/ /G:D) $(OPTDIRS:/:/ /G)
2899 .PACKAGE.GLOBAL. := $(.PACKAGE.GLOBAL.:N!=$(PACKAGE_IGNORE):T=F:U)
2900 .PACKAGE.CONFIG. := $(.PACKAGE.GLOBAL.:X=$(.PACKAGE.CONFIG.):T=F:U)
2901 : $(.PACKAGE.PROBE.:V:R)
2908 .PACKAGE.$(P).found := $(PACKAGE_$(P)_found)
2910 if "$(.PACKAGE.$(P).found)" != ""
2922 EP := $(.PACKAGE.$(P).bin)
2933 IP := $(.PACKAGE.$(P).include)
2944 LP := $(.PACKAGE.$(P).lib)
2954 if ( I && L || "$(.PACKAGE.$(P).rules)" != "-" && ( "$(I:T=F)" || "$(L:T=F)" ) )
2958 if T1 = "$(.PACKAGE.CONFIG.:L!~?(lib)($(P)|$(P)-*).pc:O=1)"
3009 T4 := $(PACKAGE_PATH:/:/ /G) $(.PACKAGE.DIRS.) $(.PACKAGE.GLOBAL.) $(.PACKAGE.GLOBAL.:/:/ /G:C%$%/$(P)%)
3011 T4 += $(.PACKAGE.GLOBAL.:/:/ /G:C%$%/$(P:C,[0-9]*$,,)%)
3053 if ! .PACKAGE.LOCAL.
3054 .PACKAGE.LOCAL. := $(PKGDIRS:T=F:P=A:U)
3056 for X $(.PACKAGE.LOCAL.)
3110 .PACKAGE.DIRS. += $(T1)
3128 if ! "$(.PACKAGE.stdlib:N=$(L))"
3157 return $(.PACKAGE.INIT. $(P))
3170 .PACKAGE.$(P).found := $(FOUND)
3184 M := $(.PACKAGE.:/ /|/G)
3187 : $(.PACKAGE.INIT. $(P))
3191 for P $(.PACKAGE.)
3194 return $(X:/\([A-Za-z_.][A-Za-z0-9_.]*\)/"$$(.PACKAGE.\1.found)"=="1"/G:@/" *"/" \&\& "/G:E)
3196 ":PACKAGE:" : .MAKE .OPERATOR
3221 .PACKAGE.build += $(T)
3246 .PACKAGE.strip = $(CC.LD.STRIP)
3258 .PACKAGE.strip = $(CC.LD.STRIP)
3275 if V && ! .PACKAGE.license
3277 .PACKAGE.license := $(P)
3279 .PACKAGE.license := $(V)
3297 .PACKAGE.$(N) := $(V)
3326 .PACKAGE.libraries += $(T)
3331 if .PACKAGE.GLOBAL.
3336 .PACKAGE.PROBE. += $("\n")$(T:V)
3361 .PACKAGE.$(P).rules := $(H)
3377 if ! "$(.PACKAGE.$(P).rules)"
3378 .PACKAGE.$(P).rules := -
3380 .PACKAGE.$(P).library := $(library)
3381 .PACKAGE.$(P).private := $(private)
3422 .PACKAGE.$(P).dontcare := 1
3425 .PACKAGE.$(P).library := -l
3427 .PACKAGE.$(P).type := -
3430 .PACKAGE.$(P).library := +l
3433 .PACKAGE.$(P).library := -l
3435 .PACKAGE.$(P).library :=
3439 .PACKAGE.$(P).library := +l
3440 .PACKAGE.$(P).private := 1
3442 .PACKAGE.$(P).private :=
3449 .PACKAGE.$(P).$(N) := $(V)
3452 if V && ! .PACKAGE.license
3454 .PACKAGE.license := $(P)
3456 .PACKAGE.license := $(V)
3461 .PACKAGE.$(P).include := -
3462 .PACKAGE.$(P).lib := -
3463 .PACKAGE.$(P).library :=
3465 .PACKAGE.$(P) := $(V)
3469 .PACKAGE.$(P).type := $(V)
3471 .PACKAGE.$(P).type := -
3483 .PACKAGE.$(N) := $(P)
3501 .PACKAGE.$(P).option.$(N) := $(V)
3508 if this_install && ! .PACKAGE.install
3510 .PACKAGE.install = 1
3511 .PACKAGE.$(P).dontcare := 1
3515 if ! "$(.PACKAGE.:N=$(P))"
3517 .PACKAGE. := $(P) $(.PACKAGE.)
3518 .PACKAGE.build := $(P) $(.PACKAGE.build)
3520 .PACKAGE. += $(P)
3521 .PACKAGE.build += $(P)
3536 * rhs appear in $(BINDIR) for .LIST.PACKAGE.BINARY
3537 * lhs for pre-installed $(BINDIR) files listed by .LIST.PACKAGE.BINARY
3542 .LIST.PACKAGE.BINARY : .LIST.PACKAGE.INIT
3544 .LIST.PACKAGE.INIT : .MAKE
3565 .LIST.PACKAGE.INIT : $(B)
4163 if T1 = "$(.PACKAGE.build:A!=.TARGET)"
4165 LDLIBRARIES += $$(.PACKAGE.LIBRARIES. $(T1))
4194 P := $(.PACKAGE.INIT. $(P))
4197 if "$(.PACKAGE.$(P).found)" == "1"
4201 elif ! K && ! "$(.PACKAGE.$(P).dontcare)"
4202 if ! "$(PKGDIRS:X=package/$(P).lic package/$(P).pkg:T=F)" && ! "$(.PACKAGE.$(P).library)"
4205 .PACKAGE.$(P).dontcare := 1
4286 T3 = $(PACKAGE_PATH:/:/ /G) $(.PACKAGE.DIRS.) $(.PACKAGE.GLOBAL.)
4287 .SOURCE.a : $(T3:X=lib:N!=$(.PACKAGE.stdlib:/ /|/G):T=F)
4424 .PACKAGE.strip = $(CC.LD.STRIP)
4426 CCLDFLAGS += $$(.PACKAGE.strip)
4784 if ( R = "$(<<:B:C%\..*%%)" ) && ( E = "$(.PACKAGE.soname)" ) && "$(CC.DIALECT:N=DYNAMIC)" && ( "$(CCLDFLAGS:V:N=$(CC.DYNAMIC)|$\(CC.DYNAMIC\))" || ! "$(CCLDFLAGS:V:N=$(CC.STATIC)|$\(CC.STATIC\))" )
4796 if ( R = "$(<<:B:C%\..*%%)" ) && .PACKAGE.registry && "$(CC.DIALECT:N=DYNAMIC)" && ( "$(CCLDFLAGS:V:N=$(CC.DYNAMIC)|$\(CC.DYNAMIC\))" || ! "$(CCLDFLAGS:V:N=$(CC.STATIC)|$\(CC.STATIC\))" )
4904 .LIST.PACKAGE.DIRS. = $(VROOT:T=F:P=L=*) $(INSTALLROOT) $(PACKAGEROOT)
4906 .LIST.PACKAGE.BINARY.EDIT. = $(.LIST.PACKAGE.DIRS.:T=F:P=A:C%\(.*\)/arch/$(CC.HOSTTYPE)$%\1%:C%\(.*\)/arch$%\1%:H=RU:C,.*,C%^&/%%,:C, ,:,G)
4907 .LIST.PACKAGE.SOURCE.EDIT. = $(.LIST.PACKAGE.DIRS.:T=F:P=A:H=RU:C,.*,C%^&/%%,:C, ,:,G)
4909 .LIST.PACKAGE.LICENSE : .ONOBJECT .MAKE
4919 E := $(.LIST.PACKAGE.SOURCE.EDIT.)
4931 .LIST.PACKAGE.LOCAL : .ONOBJECT .COMMON.SAVE .MAKE
4933 E := $(.LIST.PACKAGE.SOURCE.EDIT.)
4938 .LIST.PACKAGE.BINARY : .ONOBJECT .MAKE .LIST.PACKAGE.LICENSE
4941 E := $(.LIST.PACKAGE.BINARY.EDIT.)
4956 .LIST.PACKAGE.RUNTIME : .ONOBJECT .MAKE .LIST.PACKAGE.LICENSE
4960 E := $(.LIST.PACKAGE.BINARY.EDIT.)
4977 if .PACKAGE.license || LICENSE == "*=*"
4988 .LIST.PACKAGE.SOURCE : .ONOBJECT .COMMON.SAVE .MAKE .LIST.PACKAGE.LICENSE
4991 E := $(.LIST.PACKAGE.SOURCE.EDIT.)
5004 E := $(.LIST.PACKAGE.SOURCE.EDIT.)