# (C) Copyright Jens Maurer 2003. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) # The following #// line will be used by the regression test table generation # program as the column heading for HTML tables. Must not include version number. #//EDG
C++
# variables used to configure eccp-tools.jam # # ECCP - name of eccp executable ECCP ?= eccp ; flags edg C++FLAGS off : --no_exceptions ; flags edg C++FLAGS on : --exceptions ; flags edg CFLAGS off : --no_inlining ; flags edg CFLAGS on full : --inlining ; flags edg CFLAGS off : -O0 ; flags edg CFLAGS speed : -O3 ; flags edg CFLAGS size : -Os ; flags edg CFLAGS true : --pic ; flags edg CFLAGS on : -g ; flags edg LINKFLAGS on : -g ; flags edg CFLAGS on : -pg ; flags edg LINKFLAGS on : -pg ; flags edg CFLAGS ; flags edg C++FLAGS ; flags edg DEFINES ; flags edg UNDEFS ; flags edg HDRS ; flags edg SYSHDRS ; flags edg LINKFLAGS ; flags edg ARFLAGS ; flags edg LIBPATH ; flags edg NEEDLIBS ; flags edg FINDLIBS ; #### Link #### rule Link-action { edg-Link-action $(<) : $(>) ; } actions edg-Link-action bind NEEDLIBS { $(ECCP) $(LINKFLAGS) -tused -o "$(<[1])" "$(>)" "$(NEEDLIBS)" "$(FINDLIBS:S=.so)" } #### Cc ##### rule Cc-action { edg-Cc-action $(<) : $(>) ; } actions edg-Cc-action { $(ECCP) -c --c99 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -I"$(SYSHDRS)" -o "$(<)" "$(>)" } #### C++ #### rule C++-action { edg-C++-action $(<) : $(>) ; } actions edg-C++-action { $(ECCP) -tused -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -I"$(SYSHDRS)" -o "$(<)" "$(>)" } #### Archive #### rule Archive-action { edg-Archive-action $(<) : $(>) ; } actions updated together piecemeal edg-Archive-action { ar rc $(<) $(>) }