537 $(CGLOBALSTATIC) $(CCNOAUTOINLINE) $(CSOURCEDEBUGFLAGS) \
538 $(CUSERFLAGS64)
539 #
540 # Flags that are used to build parts of the code that are subsequently
541 # run on the build machine (also known as the NATIVE_BUILD).
542 #
543 NATIVE_CFLAGS= $(COPTFLAG) $($(NATIVE_MACH)_CFLAGS) $(CCMODE) \
544 $(ILDOFF) $(CERRWARN) $(C99MODE) $($(NATIVE_MACH)_CCUNBOUND) \
545 $(IROPTFLAG) $(CGLOBALSTATIC) $(CCNOAUTOINLINE) \
546 $(CSOURCEDEBUGFLAGS) $(CUSERFLAGS)
547
548 DTEXTDOM=-DTEXT_DOMAIN=\"$(TEXT_DOMAIN)\" # For messaging.
549 DTS_ERRNO=-D_TS_ERRNO
550 CPPFLAGS.master=$(DTEXTDOM) $(DTS_ERRNO) \
551 $(ENVCPPFLAGS1) $(ENVCPPFLAGS2) $(ENVCPPFLAGS3) $(ENVCPPFLAGS4) \
552 $(ADJUNCT_PROTO:%=-I%/usr/include)
553 CPPFLAGS.native=$(ENVCPPFLAGS1) $(ENVCPPFLAGS2) $(ENVCPPFLAGS3) \
554 $(ENVCPPFLAGS4) -I$(NATIVE_ADJUNCT)/include
555 CPPFLAGS= $(CPPFLAGS.master)
556 AS_CPPFLAGS= $(CPPFLAGS.master)
557 JAVAFLAGS= -deprecation
558
559 #
560 # For source message catalogue
561 #
562 .SUFFIXES: $(SUFFIXES) .i .po
563 MSGROOT= $(ROOT)/catalog
564 MSGDOMAIN= $(MSGROOT)/$(TEXT_DOMAIN)
565 MSGDOMAINPOFILE = $(MSGDOMAIN)/$(POFILE)
566 DCMSGDOMAIN= $(MSGROOT)/LC_TIME/$(TEXT_DOMAIN)
567 DCMSGDOMAINPOFILE = $(DCMSGDOMAIN)/$(DCFILE:.dc=.po)
568
569 CLOBBERFILES += $(POFILE) $(POFILES)
570 COMPILE.cpp= $(CC) -E -C $(CFLAGS) $(CPPFLAGS)
571 XGETTEXT= /usr/bin/xgettext
572 XGETFLAGS= -c TRANSLATION_NOTE
573 GNUXGETTEXT= /usr/gnu/bin/xgettext
574 GNUXGETFLAGS= --add-comments=TRANSLATION_NOTE --keyword=_ \
575 --strict --no-location --omit-header
576 BUILD.po= $(XGETTEXT) $(XGETFLAGS) -d $(<F) $<.i ;\
577 $(RM) $@ ;\
|
537 $(CGLOBALSTATIC) $(CCNOAUTOINLINE) $(CSOURCEDEBUGFLAGS) \
538 $(CUSERFLAGS64)
539 #
540 # Flags that are used to build parts of the code that are subsequently
541 # run on the build machine (also known as the NATIVE_BUILD).
542 #
543 NATIVE_CFLAGS= $(COPTFLAG) $($(NATIVE_MACH)_CFLAGS) $(CCMODE) \
544 $(ILDOFF) $(CERRWARN) $(C99MODE) $($(NATIVE_MACH)_CCUNBOUND) \
545 $(IROPTFLAG) $(CGLOBALSTATIC) $(CCNOAUTOINLINE) \
546 $(CSOURCEDEBUGFLAGS) $(CUSERFLAGS)
547
548 DTEXTDOM=-DTEXT_DOMAIN=\"$(TEXT_DOMAIN)\" # For messaging.
549 DTS_ERRNO=-D_TS_ERRNO
550 CPPFLAGS.master=$(DTEXTDOM) $(DTS_ERRNO) \
551 $(ENVCPPFLAGS1) $(ENVCPPFLAGS2) $(ENVCPPFLAGS3) $(ENVCPPFLAGS4) \
552 $(ADJUNCT_PROTO:%=-I%/usr/include)
553 CPPFLAGS.native=$(ENVCPPFLAGS1) $(ENVCPPFLAGS2) $(ENVCPPFLAGS3) \
554 $(ENVCPPFLAGS4) -I$(NATIVE_ADJUNCT)/include
555 CPPFLAGS= $(CPPFLAGS.master)
556 AS_CPPFLAGS= $(CPPFLAGS.master)
557 JAVAFLAGS= -source 1.6 -target 1.6 -Xlint:deprecation,-options
558
559 #
560 # For source message catalogue
561 #
562 .SUFFIXES: $(SUFFIXES) .i .po
563 MSGROOT= $(ROOT)/catalog
564 MSGDOMAIN= $(MSGROOT)/$(TEXT_DOMAIN)
565 MSGDOMAINPOFILE = $(MSGDOMAIN)/$(POFILE)
566 DCMSGDOMAIN= $(MSGROOT)/LC_TIME/$(TEXT_DOMAIN)
567 DCMSGDOMAINPOFILE = $(DCMSGDOMAIN)/$(DCFILE:.dc=.po)
568
569 CLOBBERFILES += $(POFILE) $(POFILES)
570 COMPILE.cpp= $(CC) -E -C $(CFLAGS) $(CPPFLAGS)
571 XGETTEXT= /usr/bin/xgettext
572 XGETFLAGS= -c TRANSLATION_NOTE
573 GNUXGETTEXT= /usr/gnu/bin/xgettext
574 GNUXGETFLAGS= --add-comments=TRANSLATION_NOTE --keyword=_ \
575 --strict --no-location --omit-header
576 BUILD.po= $(XGETTEXT) $(XGETFLAGS) -d $(<F) $<.i ;\
577 $(RM) $@ ;\
|