Lines Matching defs:CC
54 set option=';prefix-include;b;-;Override the C preprocessor prefix include option. \b--noprefix-include\b may be needed for some compilers that misbehave when \b$$(CC.INCLUDE.LOCAL)\b is set and \b#include "..."\b assumes the subdirectory of the including file. The default value is based on the \bprobe\b(1) information.'
61 set option=';separate-include;b;-;Allow \b$$(CC.INCLUDE.LOCAL)\b to be used with compilers that support it. On by default. If \b--noseparate-include\b is set then \b$$(CC.INCLUDE.LOCAL)\b will not be used, even if the current compiler supports it.'
79 set preserve:=$$(CC.SUFFIX.SHARED:+$$(CC.PREFIX.SHARED)*$$(CC.SUFFIX.SHARED).*)|$$(CC.SUFFIX.DYNAMIC:+$$(CC.PREFIX.DYNAMIC)*$$(CC.SUFFIX.DYNAMIC))
225 DLLDIR = $(CC.DLL.DIR)
258 .COMMAND.CC = g++ CC c++ cxx
311 INSTRUMENT_insight = command=CC root=INSIGHT bin=bin.$(_hosttype_)
312 INSTRUMENT_purecov = command=CCLD root=PURE_HOME CCFLAGS=$(CC.DEBUG)
314 INSTRUMENT_quantify = command=CCLD root=PURE_HOME CCFLAGS=$(CC.DEBUG)
315 INSTRUMENT_sentinel = command=CCLD root=SE_HOME CCFLAGS=$(CC.DEBUG)
346 AR = $(CC.AR) $(CC.AR.ARFLAGS)
362 CC = cc
363 CCFLAGS = $(CC.OPTIMIZE)
364 CCLD = $(CC)
390 HOSTCC = $(CC)
395 IFFECC = $(CC)
400 LD = $(CC.LD)
402 LDSHARED = $(CC.SHARED.LD|CC.LD)
403 LDRUNPATH = $(CC.RUNPATH)
418 LINTLIBRARIES = libc$(CC.SUFFIX.ARCHIVE)
454 NM = $(CC.NM)
455 NMEDIT = $(CC.NMEDIT) -e '/^$(CC.PREFIX.SYMBOL)_STUB_/d' -e '/$(CC.PREFIX.SYMBOL)_already_defined$/d'
456 NMFLAGS = $(CC.NMFLAGS)
477 SHELLMAGIC = $(CC.SHELLMAGIC)
480 STRIP = $(CC.STRIP)
481 STRIPFLAGS = $(CC.STRIP.FLAGS)
514 (AR) (ARFLAGS) (AS) (ASFLAGS) (CPP) (CC) (CCFLAGS) (CCLD) \
565 if "$(CC.DLL)"
569 L := $(CC.PREFIX.SHARED)$(%:O=1)$(CC.SUFFIX.SHARED)
581 T := $(CC.LIB.TYPE)
586 return $(CC.PREFIX.ARCHIVE)$(%:O=1)$(T)$(CC.SUFFIX.ARCHIVE)
604 if CC.PREFIX.DYNAMIC || CC.SUFFIX.DYNAMIC
605 T := $(%:D)/$(CC.PREFIX.DYNAMIC)$(%:B)$(CC.SUFFIX.DYNAMIC)
607 T := $(%:D)/$(CC.PREFIX.SHARED)$(%:B)$(CC.SUFFIX.SHARED)
615 for P $(.PACKAGE.$(%).type) $(CC.LIB.TYPE)
617 T := $(CC.PREFIX.ARCHIVE)$(%)$(P)$(CC.SUFFIX.ARCHIVE)
619 T := $(CC.PREFIX.ARCHIVE)$(%)(P:/-/_/)$(CC.SUFFIX.ARCHIVE)
621 T := lib$(P:/-//)/$(CC.PREFIX.ARCHIVE)$(%)$(CC.SUFFIX.ARCHIVE)
634 A := $(CC.PREFIX.ARCHIVE)$(B)$(CC.SUFFIX.ARCHIVE)
684 elif T = "$(%:/-l\(.*\)/$(CC.PREFIX.ARCHIVE)\1$(CC.SUFFIX.ARCHIVE)/:A=.TARGET)"
695 V := $(CC.PREFIX.ARCHIVE)$(B)$(CC.SUFFIX.ARCHIVE)
700 if "$(T:D)" != "$(CC.STDLIB:/ /|/G)" && "$(T:D)" != "/usr/($(.PACKAGE.:/ /|/G))"
706 if "$(CC.DIALECT:N=DYNAMIC)" && ( "$(CCLDFLAGS:N=$(CC.DYNAMIC))" || ! "$(CCLDFLAGS:N=$(CC.STATIC))" )
707 if ( CC.SUFFIX.DYNAMIC || ! "$(-local-static)" ) && CC.SUFFIX.SHARED && ! "$(.PLUGIN.$(B))"
708 if CC.SUFFIX.DYNAMIC
709 T := $(*$(B):N=*$(CC.SUFFIX.DYNAMIC))
710 if "$(CC.PREFIX.DYNAMIC)" != "$(CC.PREFIX.SHARED)"
711 if CC.PREFIX.DYNAMIC
712 T := $(T:D:B=$(T:B:/$(CC.PREFIX.DYNAMIC)/$(CC.PREFIX.SHARED)/):S=$(CC.SUFFIX.SHARED))
714 T := $(T:D:B=$(T:B:/^/$(CC.PREFIX.SHARED)/):S=$(CC.SUFFIX.SHARED))
717 T := $(T:D:B:S=$(CC.SUFFIX.SHARED))
720 T := $(*$(B):N=*$(CC.SUFFIX.SHARED)*(.+([0-9])))
731 if ( T = "$(T:B:S=$(CC.SUFFIX.SHARED):A=.TARGET)" )
740 if ( T = "$(%:/-l\(.*\)/$(CC.PREFIX.ARCHIVE)\1$(CC.SUFFIX.ARCHIVE)/:A=.TARGET)" )
741 if "$(PACKAGE_OPTIONS:N=optimize-space)" && "$(CC.SUFFIX.SHARED)"
742 if ( V = "$(*$(B):N=*$(CC.SUFFIX.SHARED)*:A=.TARGET)" )
743 A := $(V:/\(.*$(CC.SUFFIX.SHARED)\).*/\1/)
767 for J $(CC.PREFIX.SHARED) ''
769 if "$(CC.SUFFIX.DYNAMIC)"
770 if T = "$(*.SOURCE.%.ARCHIVE:L>$(CC.PREFIX.ARCHIVE)$(B)$(I)$(CC.SUFFIX.ARCHIVE)|$(J)$(B)$(I)$(CC.SUFFIX.SHARED))"
771 if "$(CC.SUFFIX.SHARED)"
772 if T != "*$(CC.SUFFIX.SHARED)" && T == "*$(CC.SUFFIX.ARCHIVE)"
773 if S = "$(T:D:B=$(J)$(T:B:/$(CC.PREFIX.ARCHIVE)//):S=$(CC.SUFFIX.SHARED):T=F)"
780 if ! "$(-force-shared)" && ! "$(-static-link)" && ! "$(CC.SUFFIX.DYNAMIC)" && "$(CC.SUFFIX.SHARED)" && T == "*$(CC.SUFFIX.SHARED)"
786 elif "$(J)" || ! "$(CC.PREFIX.SHARED)"
788 if "$(CC.SUFFIX.STATIC)"
789 S = |$(CC.SUFFIX.STATIC)
791 if "$(CC.SUFFIX.SHARED)"
792 S := $(S:V)|$(CC.SUFFIX.SHARED)
793 if "$(CC.SUFFIX.SHARED)" != "$(CC.SUFFIX.OBJECT)"
795 if "$(CC.DIALECT:N=VERSION)"
802 T := $(*.SOURCE.%.ARCHIVE:L!>$(L:/-l\(.*\)/$(CC.PREFIX.ARCHIVE)\1/)$(I)@($(V)$(CC.SUFFIX.ARCHIVE)$(S)))
804 T := $(*.SOURCE.%.ARCHIVE:L!>$(L:/-l\(.*\)/$(CC.PREFIX.ARCHIVE)\1/)$(I)@($(V)$(CC.SUFFIX.ARCHIVE)$(S)$(V)*))
807 if ! "$(CC.SUFFIX.SHARED)" || T != "*$(CC.SUFFIX.SHARED)"
808 if T == "*$(CC.SUFFIX.ARCHIVE)"
809 if "$(CC.STDLIB:N=$(T:D))"
814 if "$(CC.SUFFIX.STATIC)" && T == "*$(CC.SUFFIX.STATIC)"
820 if ! "$(-force-shared)" && ! "$(-static-link)" && ! "$(CC.SUFFIX.DYNAMIC)" && "$(CC.SUFFIX.SHARED)" && T == "*$(CC.SUFFIX.SHARED)"
838 T := $(CC.PREFIX.ARCHIVE)$(B)$(CC.SUFFIX.ARCHIVE)
846 if T = "$(CC.REQUIRE.$(B))"
875 T := $(CC.PREFIX.ARCHIVE)$(L)$(CC.SUFFIX.ARCHIVE)
910 if ( T = "$(CC.REQUIRE.$(B))" )
1035 .LD.KEEP. = $(CC.SUFFIX.LD) $(-ld-script)
1036 .ARCHIVE.OMIT. = $(CC.LD.STATIC)|$(CC.LD.DYNAMIC)$(.LD.KEEP.:/^/|*/:/ //G)
1077 % : %$(.S.) (CC) (CCFLAGS) (CCLDFLAGS) $$(LDLIBRARIES)
1078 $(CC) $(CCFLAGS) $(CCLDFLAGS) -o $(<) $(.SHARED.LIST. $(.SHARED.LIST.LIBS.))
1090 $(CC) $(ASFLAGS) $(LDFLAGS) -o $(<) $(.SHARED.LIST. $(.SHARED.LIST.LIBS.))
1164 %.o : %$(.S.) (CC) (CCFLAGS)
1165 $(CC) $(CCFLAGS) -c $(>)
1176 %.o : %.S (CC) (CCFLAGS)
1177 $(CC) $(CCFLAGS) -c $(>)
1206 %.c : %.l .LEX.SEMAPHORE (LEX) (LEXFLAGS) (CC)
1223 if CC.SUFFIX.DYNAMIC
1224 .SOURCE.%$(CC.SUFFIX.SHARED) : $(<:/-L//)
1236 $(MAKE) --file=$(MAKEFILE) --keepgoing $(-) --errorid=$(<:V:Q) .ATTRIBUTE.$(IFFEGENDIR)/%:.ACCEPT MAKEPATH=..:$(MAKEPATH) $(=:V:N!=MAKEPATH=*) $(.RECURSE.ARGS.:N!=.CC-*:/^\.INSTALL$/.CC-INSTALL/) $(%:Y;$$(INSTRUMENT_$$(%:/,.*//):@?--instrument=$$(%:/,.*//)?$$(%:V:/,/ /G:/~/,/G:N!=[!-+]*=*:@/^./CCFLAGS=-&/:@Q) $$(%:V:/,/ /G:/~/,/G:N=[!-+]*=*)?);;) $(.VARIANT.$(<))
1276 return ref $(*.SOURCE.%.ARCHIVE:I=$$(T:N=${mam_lib+([a-zA-Z0-9_])}:P=D):$(.CC.NOSTDLIB.):/.*/${mam_cc_L+-L&}/) $(T) $(IFFEREFS:N!=-l*) :
1278 return ref $(*.SOURCE.%.ARCHIVE:I=$$(T:N=-l*:P=D):$(.CC.NOSTDLIB.):P=A:/^/-L/) $(IFFEREFS:N!=-l*) $(T) :
1288 CIA = $(CC.ALTPP.ENV) $(CC.DIALECT:N=C++:?CIA?cia?)
1292 CIAFILES = $(CC.DIALECT:N=C++:?Ref.db Sym.db?reference.db symbol.db?)
1295 DAGGER = $(CC.DIALECT:N=C++:?Dagger?dagger?)
1311 T += $(.SOURCES.:G=%$(S):B:S=$(CC.SUFFIX.OBJECT))
1363 .DO.INSTALL : .USE $$(<:N=*$$(CC.SUFFIX.ARCHIVE):?.ARCOPY??)
1404 .NOOPTIMIZE.c .CC.NOOPTIMIZE /* drop .CC.* in 2004 */ : .MAKE .LOCAL
1405 CCFLAGS := $(.MAM.CC.FLAGS|CCFLAGS:VP:N!=-O*|$(CC.OPTIMIZE)|$\(CC.OPTIMIZE\))
1409 CCFLAGS := $(CC.DEBUG) $(CCFLAGS:VP:N!=-g|$(CC.DEBUG)|$\(CC.DEBUG\))
1416 CCFLAGS += $(CC.NOPROTECT)
1431 return $$(CC) $$(CCFLAGS:N!=$(CC.DEBUG)) $(RO) -c $(.ROSRC.)
1434 $(.READONLY. $(>) $(<) $(CC.READONLY))
1437 $(CC) $(CCFLAGS:N!=$(CC.DEBUG)) -S $(.ROSRC.)
1464 $(".ROSRC.=2.$(tmp).c":R)$(".ROOBJ.=2.$(tmp)$(CC.SUFFIX.OBJECT)":R)$(@.DO.READONLY.c.$(CC.READONLY))
1465 $(CC) $(CCFLAGS) -c 1.$(tmp).c
1466 $(LD) -r $(LDFLAGS) $(&:T=D:N=-[!DIOUl]*) -o $(<:B:S) 1.$(tmp)$(CC.SUFFIX.OBJECT) 2.$(tmp)$(CC.SUFFIX.OBJECT)
1592 P := $(D:N!=-|.|.CC-*|cc-*)
1647 if "$(>:V:G=%$(CC.SUFFIX.OBJECT))"
1650 if ! "$(<:N=*$(CC.SUFFIX.OBJECT))"
1658 if T1 == "$(CC.LD.STATIC)"
1660 if CC.SUFFIX.DYNAMIC == ".dll"
1663 elif T1 == "$(CC.LD.DYNAMIC)"
1665 if CC.SUFFIX.DYNAMIC == ".dll"
1683 elif OBJ && ( T2 = "$(T1:G=%$(CC.SUFFIX.OBJECT))" )
1684 if CC.SUFFIX.OBJECT == "$(T1:S)"
1695 if T2 != "$(<)?($(CC.SUFFIX.COMMAND))"
1697 $(T2) : .SPECIAL CC.DLL= CC.DLLBIG=
1698 if CC.SUFFIX.DYNAMIC == ".dll"
1706 elif "$(T1:N=*.*:G=%)" && T1 != "$(<)?($(CC.SUFFIX.COMMAND))"
1707 if "$(T1:G=$(<))" || "$(T1:G=$(<)$(CC.SUFFIX.COMMAND))"
1720 TP += .ARCHIVE$(CC.SUFFIX.OBJECT)
1725 if "$(T3:N=$(<)?($(CC.SUFFIX.COMMAND)))"
1728 if "$(T0:N=*$(CC.SUFFIX.OBJECT))"
1729 TP += .OBJECT$(CC.SUFFIX.OBJECT)
1731 if ! "$(<:S)" && CC.SUFFIX.COMMAND
1732 $(T0) : .VIRTUAL $(T0)$(CC.SUFFIX.COMMAND)
1733 T0 := $(T0)$(CC.SUFFIX.COMMAND)
1735 TP += .COMMAND$(CC.SUFFIX.OBJECT)
1743 TL := CC.SHARED.LIBS.$(T0)
1756 .LIBRARY.STATIC.$(<:B:/^$(CC.PREFIX.ARCHIVE)//) : $(CC.LD.STATIC) $(TS) $(CC.LD.DYNAMIC)
1835 if .DLL.TOP. && ! "$(-mam:N=static*,port*)" && ! "$(.SHARED.ON.)" && ( CC.SUFFIX.DYNAMIC || CC.SUFFIX.SHARED )
1851 OPT := $(CC.OPTIMIZE)
1854 OPT += $(CC.DLLBIG)
1856 OPT += $(CC.DLL)
2149 $(L) : .ARCHIVE$(CC.SUFFIX.OBJECT)
2158 if I && CC.SHARED.REGISTRY
2159 .CC.SHARED.REGISTRY.$(X) := $(LIBDIR)/$(P)/registry.ld
2160 $(.DLL.NAME. $(B) $(V)) : .CC.DLL.DIR.INIT
2161 .CC.DLL.DIR.INIT : .VIRTUAL .IGNORE $(LIBDIR)/$(P)
2164 .CC.DLL.DIR.$(X) := $(LIBDIR)/$(P)
2168 if CC.SHARED.NAME && N != "-"
2179 .CC.SHARED.NAME.$(X) := $(CC.SHARED.NAME)$(N)
2181 if "$(>:G=%$(CC.SUFFIX.OBJECT):O=1)"
2208 $(Q).req : (CC) (CCFLAGS) (LDFLAGS) (.REQUIRE.$(Q))
2211 $$(CC) $$(CCFLAGS) -c 1.$(tmp).c &&
2212 x=`$$(CC) $$(CCFLAGS) $$(LDFLAGS) -o 1.$(tmp).x 1.$(tmp)$(CC.SUFFIX.OBJECT) -l'*' 2>&1 | $(SED) -e 's/[][()+@?]/#/g' || :` &&
2219 "$(Q)"$(...:A=.ARCHIVE:A=.TARGET:N=$(CC.PREFIX.ARCHIVE)*$(CC.SUFFIX.ARCHIVE):/^$(CC.PREFIX.ARCHIVE)\(.*\)$(CC.SUFFIX.ARCHIVE)/|\1/:@/ //G))
2227 elif test ! -f $$(LIBDIR)/$(CC.PREFIX.ARCHIVE)$i$(CC.SUFFIX.ARCHIVE)
2228 then case `{ $$(CC) $$(CCFLAGS) $$(*.SOURCE.%.ARCHIVE:$$(.CC.NOSTDLIB.):N=*/$(CC.PREFIX.ARCHIVE)*:P=L:/^/-L/) $$(LDFLAGS) -o 1.$(tmp).x 1.$(tmp)$(CC.SUFFIX.OBJECT) $(D) -l$i 2>&1 || echo '' $x ;} | $(SED) -e 's/[][()+@?]/#/g' || :` in
2229 *$x*) case `{ $$(CC) $$(CCFLAGS) $$(LDFLAGS) -o 1.$(tmp).x 1.$(tmp)$(CC.SUFFIX.OBJECT) $(D) -l$i 2>&1 || echo '' $x ;} | $(SED) -e 's/[][()+@?]/#/g' || :` in
2242 $(Q).req : (CC) (.REQUIRE.$(Q)) .PREQUIRE
2356 .SHARED.DEF. = .SHARED.DEF$(CC.SUFFIX.SHARED)
2357 .SHARED.USE. = .SHARED$(CC.SUFFIX.SHARED)
2361 if ! "$(-static-link)" && ! "$(CC.LIB.DLL:N=broken)" && "$(CC.DLL)" && ! "$(-mam:N=static*,port*)" && ( "$(-shared)" || "$(.SHARED.FLAGS.:@N=* ($(CC.DLL)|$(CC.DLLBIG)) *)" || "$(.SHARED.FLAGS.:V:@N=* ($\(CC.DLL\)|$\(CC.DLLBIG\)) *)" )
2372 if CC.SUFFIX.ARCHIVE && "$(A:N=*@($(CC.SUFFIX.ARCHIVE)))"
2374 if CC.PREFIX.ARCHIVE
2375 L := $(L:/^$(CC.PREFIX.ARCHIVE)//)
2379 if CC.SUFFIX.DYNAMIC && "$(T:N=*@($(CC.SUFFIX.DYNAMIC)))"
2381 if CC.PREFIX.DYNAMIC
2382 L := $(L:/$(CC.PREFIX.DYNAMIC)//)
2384 elif CC.SUFFIX.SHARED && "$(T:N=*@($(CC.SUFFIX.SHARED)))"
2386 if CC.PREFIX.SHARED
2387 L := $(L:/$(CC.PREFIX.SHARED)//)
2394 if CC.SUFFIX.DYNAMIC
2395 X := $(X)|?(*/)$(CC.PREFIX.DYNAMIC)$(L)*([0-9._])$(CC.SUFFIX.DYNAMIC)
2397 if CC.SUFFIX.SHARED
2398 X := $(X)|?(*/)$(CC.PREFIX.SHARED)$(L)*([0-9._])$(CC.SUFFIX.SHARED)
2409 M := [-+]l*|*$(CC.SUFFIX.ARCHIVE)|*$(CC.SUFFIX.SHARED)
2411 A := $(%:O>1:$(X):/^$(CC.PREFIX.ARCHIVE)\(.*\)\$(CC.SUFFIX.ARCHIVE)/+l\1/)
2431 if "$(R:N=$(D))" || ! "$(-all-static)" && "$(CC.STDLIB:N=$(D:T=F:P=D))" && "$(.PACKAGE.$(L:/+l//).library)" != "+l"
2450 B := $(CC.PREFIX.SHARED)$(%:O=2)$(CC.SUFFIX.SHARED)
2460 if ! ( D = "$(.CC.DLL.DIR.$(S:C%\..*%%))" )
2464 $(LD_PRELOAD:N=$(<:C%\$(CC.SUFFIX.SHARED)\..*%$(CC.SUFFIX.SHARED)%):?LD_PRELOAD=""; _RLD_LIST=DEFAULT;?)if $(SILENT) test -f $(<:C%\$(CC.SUFFIX.SHARED)\.%.oo.%)
2465 then $(STDRM) $(RMFLAGS) $(<:C%\$(CC.SUFFIX.SHARED)\.%.oo.%)
2468 then $(STDMV) $(<) $(<:C%\$(CC.SUFFIX.SHARED)\.%.oo.%)
2471 if $(SILENT) test "$(<)" != "$(<:C%\$(CC.SUFFIX.SHARED)\..*%$(CC.SUFFIX.SHARED)%)"
2472 then if $(SILENT) test -f $(<:C%\$(CC.SUFFIX.SHARED)\..*%$(CC.SUFFIX.SHARED)%)
2473 then $(STDRM) $(RMFLAGS) $(<:C%\$(CC.SUFFIX.SHARED)\..*%$(CC.SUFFIX.SHARED)%)
2475 $(STDLN) $(<) $(<:C%\$(CC.SUFFIX.SHARED)\..*%$(CC.SUFFIX.SHARED)%)
2490 if "$(CC.SHARED)"
2495 P := $(<:T=M:B:S:N=$(CC.PREFIX.ARCHIVE)*$(CC.SUFFIX.ARCHIVE)|$(CC.PREFIX.SHARED)*$(CC.SUFFIX.SHARED)*:O=1)
2503 if L == "-l*|*$(CC.SUFFIX.DYNAMIC|CC.SUFFIX.SHARED|"..")|*/libm.a" /* XXX: probe!!! */
2505 if CC.SUFFIX.STATIC
2506 if A = "$(L:P=B:/\(.*\)\$(CC.SUFFIX.SHARED)\([0-9.]*\)$/\1$(CC.SUFFIX.STATIC)\2/)"
2513 P := lib/$(L:B:/$(CC.PREFIX.SHARED)//)
2522 if L == "*$(CC.SUFFIX.ARCHIVE)"
2534 $(LDSHARED) $(LDFLAGS) $(CC.SHARED) -o $(<) $(.CC.LIB.DLL.$(CC.LIB.DLL) $(.SHARED.LIST. $(.SHARED.LIST.LIBS.:$(CC.SHARED:@??:T=F:N=*$(CC.SUFFIX.ARCHIVE)?)))) $(CC.DLL.LIBRARIES)
2540 D := $(CC.PREFIX.DYNAMIC)$(B:B)$(CC.SUFFIX.DYNAMIC)
2542 L := $(CC.PREFIX.SHARED)$(Y:B)$(CC.SUFFIX.SHARED)
2543 S := $(CC.PREFIX.SHARED)$(B:B)$(CC.SUFFIX.SHARED)
2553 if CC.DLL.DIR == "$\(BINDIR)"
2557 if CC.SUFFIX.DEBUG
2558 G := $(D:D:B:S=$(CC.SUFFIX.DEBUG))
2564 if CC.HOSTTYPE == "win32.*" && ! "$(.NO.INSTALL.)" && "$(.INSTALL.$(S))" != "." && "$(ARFLAGS)" != "*I*" && ! "$(*$(A):G=%.def)"
2573 if ! ( I = "$(.CC.DLL.DIR.$(X))" )
2591 L := $(%:N=*$(CC.SUFFIX.ARCHIVE):O=1)
2592 return $(CC.LIB.ALL) $(L) $(CC.LIB.UNDEF) $(%:N=$(K):T=F) $(*.LIBRARY.STATIC.$(L:B:/^$(CC.PREFIX.ARCHIVE)//):T=*) $(.SHARED.LIST. $(%:N!=*$(L)|$(K)))
2596 $(LDSHARED) $(LDFLAGS) $(CCFLAGS:N=-[gG]*) $(CC.SHARED) -o $(<:O=1) $(.SHARED.REF.lib $(.SHARED.LIST.LIBS.)) $(CC.DLL.LIBRARIES)
2600 L := $(%:N=*$(CC.SUFFIX.ARCHIVE):O=1)
2601 return $(.CC.LIB.DLL.symbol $(L)) $(.SHARED.LIST. $(*.LIBRARY.STATIC.$(L:B:/^$(CC.PREFIX.ARCHIVE)//):T=*) $(%:N!=$(L)|*$(CC.SUFFIX.OBJECT)))
2604 $(LDSHARED) $(LDFLAGS) $(CCFLAGS:N=-[gG]*) $(CC.SHARED) -o $(<:O=1:B:S) $(.SHARED.REF.x $(.SHARED.LIST.LIBS.)) $(CC.DLL.LIBRARIES)
2762 * lhs is CC.HOSTTYPE match pattern list to match
2770 if ! "$(P)" || "$(-mam:N=static*)" || CC.HOSTTYPE == "$(P)"
2773 $(T:B:S=$(CC.SUFFIX.OBJECT)) : .SPECIAL .NOOPTIMIZE$(T:S)
2784 if ! "$(P)" || "$(-mam:N=static*)" || CC.HOSTTYPE == "$(P)"
2787 $(T:B:S=$(CC.SUFFIX.OBJECT)) : .SPECIAL .NOPROTECT$(T:S)
2835 * :soname: link dll with $(CC.SHARED.NAME), =-1 for :B: edit
2846 .PACKAGE.stdlib = $(*.SOURCE.a) $(CC.STDLIB) /usr/lib /lib
2852 P := $(<:T=M:B:S:N=$(CC.PREFIX.ARCHIVE)*$(CC.SUFFIX.ARCHIVE)|$(CC.PREFIX.SHARED)*$(CC.SUFFIX.SHARED)*:O=1)
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)
2952 LP := $(CC.STDLIB.BASE)
2957 if ! "$(CC.REQUIRE.$(P))"
2971 CC.REQUIRE.$(P) := $(~Libs:N=[-+]l*)
2998 T1 = $(INSTALLROOT)/$(T3)/$(CC.PREFIX.$(K))$(P)$(CC.SUFFIX.$(K))
3041 LPL := $(CC.STDLIB:B) $(T1) $(LP)
3047 SFX := $(CC.SUFFIX.$(K))
3048 PFX := $(CC.PREFIX.$(K))
3061 Y := $(X)/$(PFX)$(P)$(CC.LIB.TYPE)$(SFX)
3246 .PACKAGE.strip = $(CC.LD.STRIP)
3258 .PACKAGE.strip = $(CC.LD.STRIP)
3327 elif T == "CC.*=*|noCC.*"
3572 * lhs is CC.HOSTTYPE match pattern to match
3578 if ! "$(<)" || "$(-mam:N=static*)" || CC.HOSTTYPE == "$(<)"
3581 $(T:B:S=$(CC.SUFFIX.OBJECT)) : .SPECIAL .READONLY$(T:S)
3626 $$(MAKE) --file=$$(MAKEFILE) --keepgoing $$(-) --errorid=$$(<) _BLD_$$(<:/cc-//:/[^a-zA-Z0-9_]/_/G)==1 VARIANT=$$(<:/cc-//) VARIANTID=$$(<:/cc-//:N=[a-zA-Z]*:?-??)$$(<:/cc-//) .ATTRIBUTE.$(IFFEGENDIR)/%:.ACCEPT MAKEPATH=..:$$(MAKEPATH) $$(=:V:N!=MAKEPATH=*) $$(.RECURSE.ARGS.:N!=.CC-*) $(@:V:@Q)
3631 for V $(>|CC.DLL.VARIANTS)
3635 CC = cc $(O)
3740 * rhs are compiled using $(cc) rather than $(CC)
3746 if "$(CC)" != "$(cc)"
3748 for S $(.SUFFIX.$(CC.DIALECT:N=C++:?c?C?))
3751 O += $(T:B:S=$(CC.SUFFIX.OBJECT))
3762 $(-exec:?silent ??)$(MAKE) --file=/dev/null --file=$(MAKEFILE) $(-) --errorid=$(cc:N!=*=*:B) '.null : $(<)' .null $(=) CC=$(cc:@Q) CCFLAGS=$(CCFLAGS:VP:@Q)
3864 return $(*.INSTALL:N=$(INSTALLROOT)/*) $(*.INSTALL:N=$(INSTALLROOT)/*$(CC.SUFFIX.SHARED).+([0-9.]):/\.[0-9.]*$//)
3867 .PROBE.SPECIAL. = CC.HOSTTYPE CC.LD.DYNAMIC CC.LD.STATIC CC.STDLIB.BASE
3875 if "$(.COMMAND.CC:N=$(CC))"
3876 if ! "$(PATH:/:/ /G:X=$(CC):P=X)"
3877 for I $(.COMMAND.CC:N!=$(CC))
3879 CC := $(I)
3886 if "$(-base)" || ! "$(CC)" || "$(-cctype)" == "[-0]"
3888 .CC.PROBE. =
3891 set cctype:="$(CC:N!=*=*)"
3898 if ! ( .CC.PROBE. = "$(CC.PROBE)" )
3899 .CC.PROBE. := $(-cctype|"cc":@P=P=C)
3901 .CC.PROBE. : .VIRTUAL $(.CC.PROBE.)
3902 $(.CC.PROBE.) : .SPECIAL .ACCEPT .DONTCARE
3903 (AR) (AS) (CPP) (CC) (LD) : .CC.PROBE.
3904 if .CC.PROBE.
3905 include "$(.CC.PROBE.)"
3906 if ! "$(CC.HOSTTYPE)"
3907 CC.HOSTTYPE := $(_hosttype_)
3913 if ! CC.STDINCLUDE
3914 CC.STDINCLUDE = /usr/include
3916 if ! CC.MAKE.OPTIONS
3917 CC.MAKE.OPTIONS = nativepp=-1
3921 if CC.MAKE.OPTIONS
3922 set $(CC.MAKE.OPTIONS)
3924 $(CC.LD.DYNAMIC) $(CC.LD.STATIC) : .MULTIPLE .ARCHIVE .IGNORE .DO.NOTHING
3925 if ! CC.SUFFIX.ARCHIVE
3926 CC.SUFFIX.ARCHIVE = .a
3928 .ATTRIBUTE.%$(CC.SUFFIX.ARCHIVE) : .ARCHIVE
3929 if CC.SUFFIX.STATIC
3930 .ATTRIBUTE.%$(CC.SUFFIX.STATIC) : .ARCHIVE
3932 if CC.SUFFIX.DYNAMIC && CC.SUFFIX.SHARED
3933 .ATTRIBUTE.%$(CC.SUFFIX.SHARED) : .ARCHIVE .SCAN.IGNORE
3934 .SOURCE.%$(CC.SUFFIX.SHARED) : .FORCE $$(*.SOURCE.%.ARCHIVE)
3936 if ! CC.SUFFIX.OBJECT
3937 CC.SUFFIX.OBJECT = .o
3939 if ! CC.STDLIB.BASE
3940 CC.STDLIB.BASE := $(CC.STDLIB:N=?(/usr)/lib?(64):B) lib
3941 CC.STDLIB.BASE := $(CC.STDLIB.BASE:U)
3944 CC.OPTIMIZE := $(CCSPECIALIZE)
3946 .ATTRIBUTE.%$(CC.SUFFIX.OBJECT) : .OBJECT
3947 if CC.SHARED.REGISTRY
3948 CC.SHARED += $$(.CC.SHARED.REGISTRY.)
3950 if CC.SHARED.NAME
3951 CC.SHARED += $$(.CC.SHARED.NAME.)
3965 if "$(-debug-symbols)" || "$(CCFLAGS:N=$(CC.DEBUG))" && ! "$(CCFLAGS:N=-O*|$(CC.OPTIMIZE))"
3988 CC.LIB.TYPE := $(I)$(J)
3990 .REQUIRE.$(CC.PREFIX.ARCHIVE)%$(CC.SUFFIX.ARCHIVE) : .FUNCTION
3995 elif ! "$(%:A=.TARGET)" && CC.PREFIX.ARCHIVE && "$(%:B:S:N=$(CC.PREFIX.ARCHIVE)*.$(CC.SUFFIX.ARCHIVE))"
3996 return $(.REQUIRE.-l% -l$(%:B:S:/^$(CC.PREFIX.ARCHIVE)//:/$(CC.SUFFIX.ARCHIVE)$//:/$(CC.LIB.TYPE)$//))
4004 * export _MAKE_PROBE_WORKAROUND_='CC.LIB.DLL=broken --static=1'
4049 TI = CC
4050 CCFLAGS := $(CCFLAGS:N!=-g|-O*|-p*|$(CC.DEBUG)|$(CC.OPTIMIZE)) $(CC.DEBUG)
4078 CC.READONLY =
4088 if "$(-debug-symbols)" && ! "$(CCFLAGS:N=$(CC.DEBUG))"
4089 CCFLAGS := $(CCFLAGS:V:N!=-O*|$(CC.OPTIMIZE)|$\(CC.OPTIMIZE\)) $(CC.DEBUG)
4091 if "$(-profile)" && ! "$(CCFLAGS:N=$(CC.PROFILE))"
4092 CCFLAGS += $(CC.PROFILE)
4094 if ! CC.LIB.THREADS
4095 CC.LIB.THREADS = -lpthreads
4097 $(CC.LIB.THREADS) : .DONTCARE
4158 if CC.PREROOT && "$(CC.PREROOT:P!=I=/)"
4159 T1 := $(CC.PREROOT) /
4160 CC.STDINCLUDE := $(T1:X=$$(CC.STDINCLUDE:C@^/@@))
4161 CC.STDLIB := $(T1:X=$$(CC.STDLIB:C@^/@@))
4227 if ! "$(CC.STDINCLUDE:N=$(I))"
4229 if "$(I:B)" == "$(P)" && ! "$(CC.STDINCLUDE:N=$(I:D))"
4234 CC.STDINCLUDE := $(CC.STDINCLUDE:N!=$(I))
4237 CC.STDINCLUDE := $(CC.STDINCLUDE:N!=$(I:D))
4248 if ! "$(CC.STDLIB:N=$(L))"
4252 CC.STDLIB := $(CC.STDLIB:N!=$(L))
4263 .SOURCE.h : $(CC.STDINCLUDE) $(LCLDIRS:/:/ /G:C,$,/include,)
4265 .SOURCE.a : $(CC.STDLIB)
4275 .SOURCE.h : $(CC.STDINCLUDE)
4277 .SOURCE.a : $(CC.STDLIB)
4280 .CC.NOSTDINCLUDE. := $(CC.STDINCLUDE:V:N!=*[()]*|$(T3:@C@ @|@G):C@ @|@G:C@^@N!=@)
4281 .CC.NOSTDLIB. := $(CC.STDLIB:V:N!=*[()]*|$(T4:@C@ @|@G):C@ @|@G:C@^@N!=@)
4283 .CC.NOSTDINCLUDE. := $(CC.STDINCLUDE:N!=$(T3:@C@ @|@G):C@ @|@G:C@^@N!=@)
4284 .CC.NOSTDLIB. := $(CC.STDLIB:N!=$(T4:@C@ @|@G):C@ @|@G:C@^@N!=@)
4289 if ! "$(CC.DIALECT:N=ANSI)"
4292 if "$(CC.REPOSITORY)"
4295 .SOURCE.ptr : $(CC.REPOSITORY)
4299 if ! "$(CC.INCLUDE.LOCAL)" && "$(CC.DIALECT:N=-I-)" /* pre 2005-05-25 courtesy */
4300 CC.INCLUDE.LOCAL = -I-
4303 CC.SEPARATEINCLUDE := $(CC.INCLUDE.LOCAL)
4311 elif "$(CC.SEPARATEINCLUDE)" && !CC.ALTPP.FLAGS && !CC.ALTPP.ENV
4316 if CC.CC && ! ( T4 = "$(CC.PROBEPP)" )
4319 if ! "$(CC.DIALECT:N=LIBPP)" || CPP != "$\(MAKEPP\)"
4323 (CC) : (CPP)
4324 if CC.ALTPP.FLAGS || CC.ALTPP.ENV
4325 T5 := $(CC.ALTPP.FLAGS)
4327 if CC.ALTPP.ENV
4328 .BIND : (CC)
4329 CC := $$(CC.ALTPP.ENV) $(CC:V)
4332 .BIND : (CC)
4333 if "$(CCLD:V)" == "$$(CC)"
4334 CCLD := $(CC:V)
4336 CC := $(CC:N=*=*) $$(PPCC) $$(PPCCFLAGS) $$(CC.DIALECT:/^/-o /) $$(CPP) $(TI:@N=CC:?$(-instrument)?$(-cctype)?)
4343 elif ! "$(-?prefix-include)" && ! "$(CC.SEPARATEINCLUDE)"
4346 if ! "$(-?prefix-include)" && "$(CCFLAGS:N=$(CC.INCLUDE.LOCAL)|-I-)"
4349 if "$(-prefix-include)" || ! "$(-separate-include)" || "$(-nativepp)" && ! "$(CC.SEPARATEINCLUDE)"
4350 T3 += $$(*:A=.SCAN.c:@?$$$(*.SOURCE.%.LCL.INCLUDE:I=$$$$(!$$$$(*):A=.LCL.INCLUDE|.STD.INCLUDE:P=D:U):$(.CC.NOSTDINCLUDE.):/^/-I/)??) $$(&:T=D)
4358 T3 += $$(*:A=.SCAN.c:@?$$$(*.SOURCE.%.LCL.INCLUDE:I=$$$$(!$$$$(*):A=.LCL.INCLUDE:P=D):$(.CC.NOSTDINCLUDE.):/^/-I/) $$(.PREFIX.SOURCE. $$(*):/^/-I/) $(CC.INCLUDE.LOCAL:--I-) $$$(!$$$(*):A=.STD.INCLUDE:A=.LCL.INCLUDE:@+-I.) $$$(*.SOURCE.%.STD.INCLUDE:I=$$$$(!$$$$(*):A=.STD.INCLUDE:P=D):$(.CC.NOSTDINCLUDE.):/^/-I/)??) $$(&:T=D)
4360 if "$(CC.DIALECT:N=TOUCHO)"
4362 .REBIND : $(*$(<<):N=*$(CC.SUFFIX.OBJECT))
4365 if "$(CCFLAGS:N=-g|$(CC.DEBUG))"
4374 if "$(-shared)" && ! "$(CCFLAGS:VP:N=$\(CC.DLL\))"
4375 T4 = $(CC.DLL)
4380 T4 += $$(-target-context:?$$$(!$$$(*):A=.PFX.INCLUDE:@Y%$$$(<:P=U:D:T=*:P=L=*:/^/-I/) %%)??)$$(-target-prefix:?$$$(<:O=1:N=$$$(*:O=1:B:S=$$$(CC.SUFFIX.OBJECT)):Y%%-o $$$$(<) %)??)$(T3:V)
4387 if "$(CC.REPOSITORY)"
4388 T3 += $(T5:V) $$(CCFLAGS:N=-[D]*) $$(.PTR.PREREQS:A=.SCAN.c:@?$$$(*.SOURCE.%.LCL.INCLUDE:I=$$$$(.PTR.PREREQS:A=.LCL.INCLUDE:P=D):/^/-I/) $(CC.SEPARATEINCLUDE) $$$(*.SOURCE.%.LCL.INCLUDE:I=$$$$(.PTR.PREREQS:A=.LCL.INCLUDE|.STD.INCLUDE:P=D):$(.CC.NOSTDINCLUDE.):/^/-I/)??) $$(&.PTR.CHECK:T=D)
4390 T3 := $$(@:V:N=*$\(CC*(LD)\)*:@?$(T3:V)??)
4392 if "$(CC.ARFLAGS)"
4393 .ARCHIVE.o : .CLEAR .USE .ARPREVIOUS (CC) (AR)
4394 $(.ARPREVIOUS.$(<:B:S):@?$(IGNORE) $$(AR) $$(ARHYPHEN)d $$(<) $$(.ARPREVIOUS.$$(<:B:S))$$("\n")??)$(CC) $(CC.ARFLAGS) $(CCLDFLAGS) -o $(<) $(*)
4396 $(LDSHARED) $(CC.SHARED) $(CCLDFLAGS) -o $(<) $(*$(**):N!=*$(CC.SUFFIX.ARCHIVE))
4399 IFFEFLAGS += -c '$$(IFFECC) $$(IFFECCFLAGS) $$(IFFELDFLAGS)' $$(-mam:N=(regress|static)*:??-S '$$(CC.STATIC)')
4400 if "$(-cross)" || "$(CC.EXECTYPE)" && "$(CC.HOSTTYPE)" != "$(CC.EXECTYPE)"
4402 IFFEFLAGS += -x $(CC.HOSTTYPE)
4413 if "$(CC.LD.ORIGIN:V)"
4414 T4 += $$(CC.LD.ORIGIN)
4416 if "$(CC.LD.RUNPATH:V)"
4417 T4 += $$(.CC.LD.RUNPATH.)
4419 LDFLAGS &= $$(*.SOURCE.%.ARCHIVE:I=$$$(*:N=-l*:P=D):$(.CC.NOSTDLIB.):P=A:/^/-L/) $(T3:V)
4421 CCLDFLAGS &= $$(CCFLAGS:N!=-[DIU]*:@C@$$(CC.ALTPP.FLAGS)@@) $$(LDFLAGS) $(T4:V)
4422 if "$(CC.LD.STRIP:V)"
4424 .PACKAGE.strip = $(CC.LD.STRIP)
4500 return $(*.UNION:@N!=$(CC.REPOSITORY):$(CC.DIALECT:N=PTRIMPLICIT:?D??):/^/-ptr/)
4511 if "$(CC.DIALECT:N=PTRMKDIR)"
4517 if "$(CC.DIALECT:N=PTRCOPY)"
4537 .UNION : $(D:T=F:L<=*@(.[cChH]*|$(CC.SUFFIX.SOURCE)|$(CC.SUFFIX.OBJECT)|$(CC.SUFFIX.ARCHIVE)):D=$(D):B:S)
4541 $(D:D:B:S=$(CC.SUFFIX.OBJECT)) : $(D)
4673 O += $(*$(A):N=*$(CC.SUFFIX.OBJECT):T=F)
4679 .CC- .VARIANTS : .ONOBJECT $$(*.SOURCE:L<=cc-*:$$(-variants:+N=$$(-variants))) $$(.VARIANTS.:$$(-variants:+N=$$(-variants)))
4681 .CC-INSTALL : .ONOBJECT .ALL $$(CC.LIB.TYPE:+$$$(*.INSTALL:N=*$$$(CC.LIB.TYPE)$$$(CC.SUFFIX.ARCHIVE)))
4683 .CC.LD.RUNPATH. : .FUNCTION
4684 if "$(LDRUNPATH)" && CC.LD.RUNPATH && "$(CC.DIALECT:N=DYNAMIC)" && ( "$(CCLDFLAGS:V:N=$(CC.DYNAMIC)|$\(CC.DYNAMIC\))" || ! "$(CCLDFLAGS:V:N=$(CC.STATIC)|$\(CC.STATIC\))" )
4686 T := $(LDRUNPATH:N!=.) $(*.SOURCE.%.ARCHIVE:I=$$(**:N=-l*:P=D):N!=.:$(.CC.NOSTDLIB.):P=A:N!=$(LIBDIR))
4688 return $(CC.LD.RUNPATH)$(T)
4692 .CC.LIB.DLL. : .FUNCTION
4695 .CC.LIB.DLL.export : .FUNCTION
4699 F := _$(%:O=1:B:/^$(CC.PREFIX.ARCHIVE)//:/$(CC.LIB.TYPE)$//:/[^a-zA-Z0-9_]/_/G)_
4710 .CC.LIB.DLL.object : .FUNCTION
4714 F := _$(%:O=1:B:/^$(CC.PREFIX.ARCHIVE)//:/$(CC.LIB.TYPE)$//:/[^a-zA-Z0-9_]/_/G)_
4730 .CC.LIB.DLL.option : .FUNCTION
4731 return $(CC.LIB.ALL) $(%:O=1) $(CC.LIB.UNDEF) $(%:O>1)
4733 .CC.LIB.DLL.symbol : .FUNCTION
4737 F := _$(%:O=1:B:/^$(CC.PREFIX.ARCHIVE)//:/$(CC.LIB.TYPE)$//:/[^a-zA-Z0-9_]/_/G)_
4743 $(SED) $(NMEDIT) -e '/^[ ]*$/d' $(CC.PREFIX.SYMBOL:?-e 's/^$(CC.PREFIX.SYMBOL)//'??) |
4775 .MAKE : $(F)$(CC.SUFFIX.OBJECT)
4777 return $(F)$(CC.SUFFIX.OBJECT) $(%)
4779 .CC.LIB.DLL.undef : .FUNCTION
4782 .CC.SHARED.NAME. : .FUNCTION
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\))" )
4785 if R = "$(.CC.SHARED.NAME.$(R))"
4794 .CC.SHARED.REGISTRY. : .FUNCTION
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\))" )
4797 if R = "$(.CC.SHARED.REGISTRY.$(R))"
4798 local CC.SHARED.REGISTRY.PATH
4799 CC.SHARED.REGISTRY.PATH := $(R)
4801 return $(CC.SHARED.REGISTRY)
4807 $(IGNORE) $(RM) $(RMFLAGS) $(.BUILT.:A=.REGULAR:A!=.ARCHIVE|.COMMAND:N!=*.(m[klos]|db$(CC.SUFFIX.SHARED:?|$(CC.SUFFIX.SHARED:/\.//).*??))$(-clean-ignore:+|($(-clean-ignore))))
4869 cat $(<:B:S=.ln) $(.LINTLIBRARIES.:B:S=.ln:/$(CC.PREFIX.ARCHIVE)\(.*\)/& llib-l\1/:T=F) > $(TMPDIR)/l$$.ln
4876 cat $(<:B:S=.ln) $(.LINTLIBRARIES.:B:S=.ln:/$(CC.PREFIX.ARCHIVE)\(.*\)/& llib-l\1/:T=F) > $(TMPDIR)/l$$.ln
4883 cat $(<:B:S=.ln) $(.LINTLIBRARIES.:B:S=.ln:/$(CC.PREFIX.ARCHIVE)\(.*\)/& llib-l\1/:T=F) > $(TMPDIR)/l$$.ln
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)
4943 for I $(*.UNION:T=F:P=A:$(PACKAGE_OPTIONS:N=optimize-space:Y%:N=$(INSTALLROOT)/(bin|fun|lib)/*:N!=*$(CC.SUFFIX.ARCHIVE)|$(INSTALLROOT)/lib/lib?(/*)%%))
4958 X := /lib/lib*(/*) $(CC.SUFFIX.ARCHIVE) $(CC.SUFFIX.DYNAMIC) $(CC.SUFFIX.SHARED:?$(CC.SUFFIX.SHARED)+([-.0-9])??) $(CC.SUFFIX.STATIC)
5018 do $(NM) $(NMFLAGS) $lib | $(SED) $(NMEDIT) $(CC.PREFIX.SYMBOL:?-e 's/^$(CC.PREFIX.SYMBOL)//'??) | $(SORT) -u
5108 for T $("<VARIABLES>":L=CC.+([[:upper:].]))
5111 CC.DEBUG = ${mam_cc_DEBUG}
5112 CC.DIALECT =
5113 CC.DLL = ${mam_cc_DLL}
5114 CC.DLLBIG = ${mam_cc_DLLBIG}
5115 CC.DYNAMIC =
5116 CC.EXPORT.DYNAMIC = ${mam_cc_EXPORT_DYNAMIC}
5117 CC.HOSTTYPE = ${mam_cc_HOSTTYPE}
5118 CC.OPTIMIZE = ${mam_cc_OPTIMIZE}
5119 CC.PIC = ${mam_cc_PIC}
5120 CC.PICBIG = ${mam_cc_PICBIG}
5121 CC.PREFIX.ARCHIVE = lib
5122 CC.PREFIX.DYNAMIC = ${mam_cc_PREFIX_DYNAMIC}
5123 CC.PREFIX.SHARED = ${mam_cc_PREFIX_SHARED}
5124 CC.SHARED =
5125 CC.SHELLMAGIC = ${mam_cc_SHELLMAGIC}
5126 CC.STATIC =
5127 CC.SUFFIX.ARCHIVE = .a
5128 CC.SUFFIX.DYNAMIC = ${mam_cc_SUFFIX_DYNAMIC}
5129 CC.SUFFIX.SHARED = ${mam_cc_SUFFIX_SHARED}
5143 print -um setv CC $(-mam:N=static*,port*:?$(-cctype:O=1:B:S)?$(CC)?)
5144 CC = ${CC}
5145 .MAM.CC.FLAGS := $(CCFLAGS:VP:N!=-O*|$(CC.OPTIMIZE)|$\(CC.OPTIMIZE\)|-g|$(CC.DEBUG)|$\(CC.DEBUG\))
5146 print -um setv mam_cc_FLAGS $(.MAM.CC.FLAGS)
5148 if "$(T:N=-O*|$(CC.OPTIMIZE))"
5150 elif "$(T:N=-g|$(CC.DEBUG))"
5158 CC.NATIVE = ${CC}
5165 print -um setv CPP "${CC} -E"
5169 print -um setv HOSTCC ${CC}
5177 LDFLAGS &= $$(*.SOURCE.%.ARCHIVE:I=$$$(*:N=${mam_lib+([a-zA-Z0-9_])}:P=D):$(.CC.NOSTDLIB.):/.*/${mam_cc_L+-L&}/)
5215 $(<<:N=*$(CC.SUFFIX.ARCHIVE):?(ranlib $$(<<)) >/dev/null 2>&1 || true??)