2000-09-26 11:48:28 +00:00
|
|
|
#
|
|
|
|
# auto generated makefile for gcc compiler
|
|
|
|
#
|
|
|
|
# usage:
|
|
|
|
# make
|
|
|
|
# brings libraries up to date
|
|
|
|
# make clean
|
|
|
|
# deletes temporary object files (but not archives).
|
|
|
|
#
|
|
|
|
|
2001-03-03 11:31:04 +00:00
|
|
|
#
|
|
|
|
# the following environment variables are recognised:
|
|
|
|
# CXXFLAGS= extra compiler options - note applies to all build variants
|
|
|
|
# INCLUDES= additional include directories
|
|
|
|
# LDFLAGS= additional linker options
|
|
|
|
# LIBS= additional library files
|
|
|
|
|
|
|
|
# compiler:
|
|
|
|
CXX=g++
|
|
|
|
LINKER=g++ -shared
|
2004-05-01 10:33:47 +00:00
|
|
|
AR=ar
|
2001-03-03 11:31:04 +00:00
|
|
|
|
2000-09-26 11:48:28 +00:00
|
|
|
#
|
2000-11-16 11:29:03 +00:00
|
|
|
# compiler options for release build:
|
2000-09-26 11:48:28 +00:00
|
|
|
#
|
2000-11-16 11:29:03 +00:00
|
|
|
C1=-c -O2 -I../../../
|
2000-09-26 11:48:28 +00:00
|
|
|
#
|
2000-11-16 11:29:03 +00:00
|
|
|
# compiler options for debug build:
|
2000-09-26 11:48:28 +00:00
|
|
|
#
|
2000-11-16 11:29:03 +00:00
|
|
|
C2=-c -g -I../../../
|
2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-07-11 11:51:35 +00:00
|
|
|
ALL_HEADER= ../../../boost/regex/config.hpp ../../../boost/regex/pattern_except.hpp ../../../boost/regex/regex_traits.hpp ../../../boost/regex/user.hpp ../../../boost/regex/v3/cregex.hpp ../../../boost/regex/v3/fileiter.hpp ../../../boost/regex/v3/instances.hpp ../../../boost/regex/v3/regex.hpp ../../../boost/regex/v3/regex_compile.hpp ../../../boost/regex/v3/regex_cstring.hpp ../../../boost/regex/v3/regex_format.hpp ../../../boost/regex/v3/regex_fwd.hpp ../../../boost/regex/v3/regex_kmp.hpp ../../../boost/regex/v3/regex_library_include.hpp ../../../boost/regex/v3/regex_match.hpp ../../../boost/regex/v3/regex_raw_buffer.hpp ../../../boost/regex/v3/regex_split.hpp ../../../boost/regex/v3/regex_stack.hpp ../../../boost/regex/v3/regex_synch.hpp ../../../boost/regex/v3/regex_traits.hpp ../../../boost/regex/v4/basic_regex.hpp ../../../boost/regex/v4/char_regex_traits.hpp ../../../boost/regex/v4/cregex.hpp ../../../boost/regex/v4/fileiter.hpp ../../../boost/regex/v4/instances.hpp ../../../boost/regex/v4/iterator_category.hpp ../../../boost/regex/v4/iterator_traits.hpp ../../../boost/regex/v4/match_flags.hpp ../../../boost/regex/v4/match_results.hpp ../../../boost/regex/v4/mem_block_cache.hpp ../../../boost/regex/v4/perl_matcher.hpp ../../../boost/regex/v4/perl_matcher_common.hpp ../../../boost/regex/v4/perl_matcher_non_recursive.hpp ../../../boost/regex/v4/perl_matcher_recursive.hpp ../../../boost/regex/v4/regbase.hpp ../../../boost/regex/v4/regex.hpp ../../../boost/regex/v4/regex_compile.hpp ../../../boost/regex/v4/regex_cstring.hpp ../../../boost/regex/v4/regex_format.hpp ../../../boost/regex/v4/regex_fwd.hpp ../../../boost/regex/v4/regex_grep.hpp ../../../boost/regex/v4/regex_iterator.hpp ../../../boost/regex/v4/regex_kmp.hpp ../../../boost/regex/v4/regex_match.hpp ../../../boost/regex/v4/regex_merge.hpp ../../../boost/regex/v4/regex_raw_buffer.hpp ../../../boost/regex/v4/regex_replace.hpp ../../../boost/regex/v4/regex_search.hpp ../../../boost/regex/v4/regex_split.hpp ../../../boost/regex/v4/regex_stack.hpp ../../../boost/regex/v4/regex_synch.hpp ../../../boost/regex/v4/regex_token_iterator.hpp ../../../boost/regex/v4/regex_traits.hpp ../../../boost/regex/v4/states.hpp ../../../boost/regex/v4/sub_match.hpp ../../../boost/regex/config/borland.hpp ../../../boost/regex/config/cstring.hpp ../../../boost/regex/config/cwchar.hpp ../../../boost/regex/config/regex_library_include.hpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
all : gcc gcc gcc/boost_regex-gcc-1_31 ./gcc/libboost_regex-gcc-1_31.a gcc gcc/boost_regex-gcc-d-1_31 ./gcc/libboost_regex-gcc-d-1_31.a
|
2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
gcc :
|
|
|
|
mkdir -p gcc
|
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
clean : boost_regex-gcc-1_31_clean boost_regex-gcc-d-1_31_clean
|
2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
install : all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
#
|
2003-11-02 12:13:16 +00:00
|
|
|
# section for libboost_regex-gcc-1_31.a
|
2000-09-26 11:48:28 +00:00
|
|
|
#
|
|
|
|
########################################################
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/c_regex_traits.o $(C1) $(CXXFLAGS) ../src/c_regex_traits.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/c_regex_traits_common.o: ../src/c_regex_traits_common.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/c_regex_traits_common.o $(C1) $(CXXFLAGS) ../src/c_regex_traits_common.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/cpp_regex_traits.o $(C1) $(CXXFLAGS) ../src/cpp_regex_traits.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/cregex.o: ../src/cregex.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/cregex.o $(C1) $(CXXFLAGS) ../src/cregex.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/fileiter.o $(C1) $(CXXFLAGS) ../src/fileiter.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/instances.o: ../src/instances.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/instances.o $(C1) $(CXXFLAGS) ../src/instances.cpp
|
2002-04-24 10:50:23 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/posix_api.o $(C1) $(CXXFLAGS) ../src/posix_api.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/regex.o: ../src/regex.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/regex.o $(C1) $(CXXFLAGS) ../src/regex.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/regex_debug.o $(C1) $(CXXFLAGS) ../src/regex_debug.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/regex_synch.o: ../src/regex_synch.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/regex_synch.o $(C1) $(CXXFLAGS) ../src/regex_synch.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/w32_regex_traits.o $(C1) $(CXXFLAGS) ../src/w32_regex_traits.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/wide_posix_api.o $(C1) $(CXXFLAGS) ../src/wide_posix_api.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31/winstances.o: ../src/winstances.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-1_31/winstances.o $(C1) $(CXXFLAGS) ../src/winstances.cpp
|
2002-04-24 10:50:23 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-1_31 :
|
|
|
|
mkdir -p gcc/boost_regex-gcc-1_31
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
boost_regex-gcc-1_31_clean :
|
|
|
|
rm -f gcc/boost_regex-gcc-1_31/*.o
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
./gcc/libboost_regex-gcc-1_31.a : gcc/boost_regex-gcc-1_31/c_regex_traits.o gcc/boost_regex-gcc-1_31/c_regex_traits_common.o gcc/boost_regex-gcc-1_31/cpp_regex_traits.o gcc/boost_regex-gcc-1_31/cregex.o gcc/boost_regex-gcc-1_31/fileiter.o gcc/boost_regex-gcc-1_31/instances.o gcc/boost_regex-gcc-1_31/posix_api.o gcc/boost_regex-gcc-1_31/regex.o gcc/boost_regex-gcc-1_31/regex_debug.o gcc/boost_regex-gcc-1_31/regex_synch.o gcc/boost_regex-gcc-1_31/w32_regex_traits.o gcc/boost_regex-gcc-1_31/wide_posix_api.o gcc/boost_regex-gcc-1_31/winstances.o
|
2004-05-01 10:33:47 +00:00
|
|
|
$(AR) -r gcc/libboost_regex-gcc-1_31.a gcc/boost_regex-gcc-1_31/c_regex_traits.o gcc/boost_regex-gcc-1_31/c_regex_traits_common.o gcc/boost_regex-gcc-1_31/cpp_regex_traits.o gcc/boost_regex-gcc-1_31/cregex.o gcc/boost_regex-gcc-1_31/fileiter.o gcc/boost_regex-gcc-1_31/instances.o gcc/boost_regex-gcc-1_31/posix_api.o gcc/boost_regex-gcc-1_31/regex.o gcc/boost_regex-gcc-1_31/regex_debug.o gcc/boost_regex-gcc-1_31/regex_synch.o gcc/boost_regex-gcc-1_31/w32_regex_traits.o gcc/boost_regex-gcc-1_31/wide_posix_api.o gcc/boost_regex-gcc-1_31/winstances.o
|
|
|
|
-$(AR) -s gcc/libboost_regex-gcc-1_31.a
|
2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
#
|
2003-11-02 12:13:16 +00:00
|
|
|
# section for libboost_regex-gcc-d-1_31.a
|
2000-09-26 11:48:28 +00:00
|
|
|
#
|
|
|
|
########################################################
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/c_regex_traits.o $(C2) $(CXXFLAGS) ../src/c_regex_traits.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/c_regex_traits_common.o: ../src/c_regex_traits_common.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/c_regex_traits_common.o $(C2) $(CXXFLAGS) ../src/c_regex_traits_common.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/cpp_regex_traits.o $(C2) $(CXXFLAGS) ../src/cpp_regex_traits.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/cregex.o: ../src/cregex.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/cregex.o $(C2) $(CXXFLAGS) ../src/cregex.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/fileiter.o $(C2) $(CXXFLAGS) ../src/fileiter.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/instances.o: ../src/instances.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/instances.o $(C2) $(CXXFLAGS) ../src/instances.cpp
|
2002-04-24 10:50:23 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/posix_api.o $(C2) $(CXXFLAGS) ../src/posix_api.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/regex.o: ../src/regex.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/regex.o $(C2) $(CXXFLAGS) ../src/regex.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/regex_debug.o $(C2) $(CXXFLAGS) ../src/regex_debug.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/regex_synch.o: ../src/regex_synch.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/regex_synch.o $(C2) $(CXXFLAGS) ../src/regex_synch.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/w32_regex_traits.o $(C2) $(CXXFLAGS) ../src/w32_regex_traits.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/wide_posix_api.o $(C2) $(CXXFLAGS) ../src/wide_posix_api.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31/winstances.o: ../src/winstances.cpp $(ALL_HEADER)
|
|
|
|
$(CXX) $(INCLUDES) -o gcc/boost_regex-gcc-d-1_31/winstances.o $(C2) $(CXXFLAGS) ../src/winstances.cpp
|
2002-04-24 10:50:23 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
gcc/boost_regex-gcc-d-1_31 :
|
|
|
|
mkdir -p gcc/boost_regex-gcc-d-1_31
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
boost_regex-gcc-d-1_31_clean :
|
|
|
|
rm -f gcc/boost_regex-gcc-d-1_31/*.o
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
./gcc/libboost_regex-gcc-d-1_31.a : gcc/boost_regex-gcc-d-1_31/c_regex_traits.o gcc/boost_regex-gcc-d-1_31/c_regex_traits_common.o gcc/boost_regex-gcc-d-1_31/cpp_regex_traits.o gcc/boost_regex-gcc-d-1_31/cregex.o gcc/boost_regex-gcc-d-1_31/fileiter.o gcc/boost_regex-gcc-d-1_31/instances.o gcc/boost_regex-gcc-d-1_31/posix_api.o gcc/boost_regex-gcc-d-1_31/regex.o gcc/boost_regex-gcc-d-1_31/regex_debug.o gcc/boost_regex-gcc-d-1_31/regex_synch.o gcc/boost_regex-gcc-d-1_31/w32_regex_traits.o gcc/boost_regex-gcc-d-1_31/wide_posix_api.o gcc/boost_regex-gcc-d-1_31/winstances.o
|
2004-05-01 10:33:47 +00:00
|
|
|
$(AR) -r gcc/libboost_regex-gcc-d-1_31.a gcc/boost_regex-gcc-d-1_31/c_regex_traits.o gcc/boost_regex-gcc-d-1_31/c_regex_traits_common.o gcc/boost_regex-gcc-d-1_31/cpp_regex_traits.o gcc/boost_regex-gcc-d-1_31/cregex.o gcc/boost_regex-gcc-d-1_31/fileiter.o gcc/boost_regex-gcc-d-1_31/instances.o gcc/boost_regex-gcc-d-1_31/posix_api.o gcc/boost_regex-gcc-d-1_31/regex.o gcc/boost_regex-gcc-d-1_31/regex_debug.o gcc/boost_regex-gcc-d-1_31/regex_synch.o gcc/boost_regex-gcc-d-1_31/w32_regex_traits.o gcc/boost_regex-gcc-d-1_31/wide_posix_api.o gcc/boost_regex-gcc-d-1_31/winstances.o
|
|
|
|
-$(AR) -s gcc/libboost_regex-gcc-d-1_31.a
|
2000-11-16 11:29:03 +00:00
|
|
|
|