[12] | 1 | # |
---|
| 2 | # auto generated makefile for generic compiler |
---|
| 3 | # |
---|
| 4 | # usage: |
---|
| 5 | # make |
---|
| 6 | # brings libraries up to date |
---|
| 7 | # make clean |
---|
| 8 | # deletes temporary object files (but not archives). |
---|
| 9 | # |
---|
| 10 | |
---|
| 11 | # |
---|
| 12 | # the following environment variables are recognised: |
---|
| 13 | # CXXFLAGS= extra compiler options - note applies to all build variants |
---|
| 14 | # INCLUDES= additional include directories |
---|
| 15 | # LDFLAGS= additional linker options |
---|
| 16 | # LIBS= additional library files |
---|
| 17 | # CXX= compiler to use |
---|
| 18 | # LINKER= linker/archiver to use |
---|
| 19 | # name of subdirectory to use for object/archive files: |
---|
| 20 | DIRNAME=generic |
---|
| 21 | |
---|
| 22 | # |
---|
| 23 | # default compiler options for release build: |
---|
| 24 | # |
---|
| 25 | C1=-c -O2 -I../../../ |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | ALL_HEADER= ../../../boost/regex/concepts.hpp ../../../boost/regex/config.hpp ../../../boost/regex/icu.hpp ../../../boost/regex/mfc.hpp ../../../boost/regex/pattern_except.hpp ../../../boost/regex/regex_traits.hpp ../../../boost/regex/user.hpp ../../../boost/regex/v4/basic_regex.hpp ../../../boost/regex/v4/basic_regex_creator.hpp ../../../boost/regex/v4/basic_regex_parser.hpp ../../../boost/regex/v4/c_regex_traits.hpp ../../../boost/regex/v4/char_regex_traits.hpp ../../../boost/regex/v4/cpp_regex_traits.hpp ../../../boost/regex/v4/cregex.hpp ../../../boost/regex/v4/error_type.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/primary_transform.hpp ../../../boost/regex/v4/protected_call.hpp ../../../boost/regex/v4/regbase.hpp ../../../boost/regex/v4/regex.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_token_iterator.hpp ../../../boost/regex/v4/regex_traits.hpp ../../../boost/regex/v4/regex_traits_defaults.hpp ../../../boost/regex/v4/regex_workaround.hpp ../../../boost/regex/v4/states.hpp ../../../boost/regex/v4/sub_match.hpp ../../../boost/regex/v4/syntax_type.hpp ../../../boost/regex/v4/u32regex_iterator.hpp ../../../boost/regex/v4/u32regex_token_iterator.hpp ../../../boost/regex/v4/w32_regex_traits.hpp ../../../boost/regex/config/borland.hpp ../../../boost/regex/config/cwchar.hpp |
---|
| 30 | |
---|
| 31 | all : $(DIRNAME) $(DIRNAME) $(DIRNAME)/boost_regex ./$(DIRNAME)/libboost_regex.so |
---|
| 32 | |
---|
| 33 | $(DIRNAME) : |
---|
| 34 | mkdir -p $(DIRNAME) |
---|
| 35 | |
---|
| 36 | clean : boost_regex_clean |
---|
| 37 | |
---|
| 38 | install : all |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | ######################################################## |
---|
| 43 | # |
---|
| 44 | # section for libboost_regex.so |
---|
| 45 | # |
---|
| 46 | ######################################################## |
---|
| 47 | $(DIRNAME)/boost_regex/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER) |
---|
| 48 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/c_regex_traits.o $(C1) $(CXXFLAGS) ../src/c_regex_traits.cpp |
---|
| 49 | |
---|
| 50 | $(DIRNAME)/boost_regex/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER) |
---|
| 51 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/cpp_regex_traits.o $(C1) $(CXXFLAGS) ../src/cpp_regex_traits.cpp |
---|
| 52 | |
---|
| 53 | $(DIRNAME)/boost_regex/cregex.o: ../src/cregex.cpp $(ALL_HEADER) |
---|
| 54 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/cregex.o $(C1) $(CXXFLAGS) ../src/cregex.cpp |
---|
| 55 | |
---|
| 56 | $(DIRNAME)/boost_regex/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER) |
---|
| 57 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/fileiter.o $(C1) $(CXXFLAGS) ../src/fileiter.cpp |
---|
| 58 | |
---|
| 59 | $(DIRNAME)/boost_regex/icu.o: ../src/icu.cpp $(ALL_HEADER) |
---|
| 60 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/icu.o $(C1) $(CXXFLAGS) ../src/icu.cpp |
---|
| 61 | |
---|
| 62 | $(DIRNAME)/boost_regex/instances.o: ../src/instances.cpp $(ALL_HEADER) |
---|
| 63 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/instances.o $(C1) $(CXXFLAGS) ../src/instances.cpp |
---|
| 64 | |
---|
| 65 | $(DIRNAME)/boost_regex/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER) |
---|
| 66 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/posix_api.o $(C1) $(CXXFLAGS) ../src/posix_api.cpp |
---|
| 67 | |
---|
| 68 | $(DIRNAME)/boost_regex/regex.o: ../src/regex.cpp $(ALL_HEADER) |
---|
| 69 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/regex.o $(C1) $(CXXFLAGS) ../src/regex.cpp |
---|
| 70 | |
---|
| 71 | $(DIRNAME)/boost_regex/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER) |
---|
| 72 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/regex_debug.o $(C1) $(CXXFLAGS) ../src/regex_debug.cpp |
---|
| 73 | |
---|
| 74 | $(DIRNAME)/boost_regex/regex_raw_buffer.o: ../src/regex_raw_buffer.cpp $(ALL_HEADER) |
---|
| 75 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/regex_raw_buffer.o $(C1) $(CXXFLAGS) ../src/regex_raw_buffer.cpp |
---|
| 76 | |
---|
| 77 | $(DIRNAME)/boost_regex/regex_traits_defaults.o: ../src/regex_traits_defaults.cpp $(ALL_HEADER) |
---|
| 78 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/regex_traits_defaults.o $(C1) $(CXXFLAGS) ../src/regex_traits_defaults.cpp |
---|
| 79 | |
---|
| 80 | $(DIRNAME)/boost_regex/static_mutex.o: ../src/static_mutex.cpp $(ALL_HEADER) |
---|
| 81 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/static_mutex.o $(C1) $(CXXFLAGS) ../src/static_mutex.cpp |
---|
| 82 | |
---|
| 83 | $(DIRNAME)/boost_regex/usinstances.o: ../src/usinstances.cpp $(ALL_HEADER) |
---|
| 84 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/usinstances.o $(C1) $(CXXFLAGS) ../src/usinstances.cpp |
---|
| 85 | |
---|
| 86 | $(DIRNAME)/boost_regex/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER) |
---|
| 87 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/w32_regex_traits.o $(C1) $(CXXFLAGS) ../src/w32_regex_traits.cpp |
---|
| 88 | |
---|
| 89 | $(DIRNAME)/boost_regex/wc_regex_traits.o: ../src/wc_regex_traits.cpp $(ALL_HEADER) |
---|
| 90 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/wc_regex_traits.o $(C1) $(CXXFLAGS) ../src/wc_regex_traits.cpp |
---|
| 91 | |
---|
| 92 | $(DIRNAME)/boost_regex/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER) |
---|
| 93 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/wide_posix_api.o $(C1) $(CXXFLAGS) ../src/wide_posix_api.cpp |
---|
| 94 | |
---|
| 95 | $(DIRNAME)/boost_regex/winstances.o: ../src/winstances.cpp $(ALL_HEADER) |
---|
| 96 | $(CXX) $(INCLUDES) -o $(DIRNAME)/boost_regex/winstances.o $(C1) $(CXXFLAGS) ../src/winstances.cpp |
---|
| 97 | |
---|
| 98 | $(DIRNAME)/boost_regex : |
---|
| 99 | mkdir -p $(DIRNAME)/boost_regex |
---|
| 100 | |
---|
| 101 | boost_regex_clean : |
---|
| 102 | rm -f $(DIRNAME)/boost_regex/*.o |
---|
| 103 | |
---|
| 104 | ./$(DIRNAME)/libboost_regex.so : $(DIRNAME)/boost_regex/c_regex_traits.o $(DIRNAME)/boost_regex/cpp_regex_traits.o $(DIRNAME)/boost_regex/cregex.o $(DIRNAME)/boost_regex/fileiter.o $(DIRNAME)/boost_regex/icu.o $(DIRNAME)/boost_regex/instances.o $(DIRNAME)/boost_regex/posix_api.o $(DIRNAME)/boost_regex/regex.o $(DIRNAME)/boost_regex/regex_debug.o $(DIRNAME)/boost_regex/regex_raw_buffer.o $(DIRNAME)/boost_regex/regex_traits_defaults.o $(DIRNAME)/boost_regex/static_mutex.o $(DIRNAME)/boost_regex/usinstances.o $(DIRNAME)/boost_regex/w32_regex_traits.o $(DIRNAME)/boost_regex/wc_regex_traits.o $(DIRNAME)/boost_regex/wide_posix_api.o $(DIRNAME)/boost_regex/winstances.o |
---|
| 105 | $(LINKER) $(LDFLAGS) -o $(DIRNAME)/libboost_regex.so $(DIRNAME)/boost_regex/c_regex_traits.o $(DIRNAME)/boost_regex/cpp_regex_traits.o $(DIRNAME)/boost_regex/cregex.o $(DIRNAME)/boost_regex/fileiter.o $(DIRNAME)/boost_regex/icu.o $(DIRNAME)/boost_regex/instances.o $(DIRNAME)/boost_regex/posix_api.o $(DIRNAME)/boost_regex/regex.o $(DIRNAME)/boost_regex/regex_debug.o $(DIRNAME)/boost_regex/regex_raw_buffer.o $(DIRNAME)/boost_regex/regex_traits_defaults.o $(DIRNAME)/boost_regex/static_mutex.o $(DIRNAME)/boost_regex/usinstances.o $(DIRNAME)/boost_regex/w32_regex_traits.o $(DIRNAME)/boost_regex/wc_regex_traits.o $(DIRNAME)/boost_regex/wide_posix_api.o $(DIRNAME)/boost_regex/winstances.o $(LIBS) |
---|
| 106 | |
---|