~ubuntu-branches/ubuntu/maverick/clamav/maverick-updates

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-17 12:30:20 UTC
  • mfrom: (97.1.1 maverick-proposed)
  • Revision ID: james.westby@ubuntu.com-20101217123020-o02fhyzykv5z98ri
Tags: 0.96.5+dfsg-1ubuntu1.10.10.1
* Microversion update for Maverick (LP: #691414)
  - Improved database login times
  - Expanded use of new bytecode signatures
  - Other bugfixes/improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
ifeq ($(MAKECMDGOALS),install-clang)
66
66
  DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
67
 
          tools/clang/lib/Runtime tools/clang/docs
 
67
          tools/clang/runtime tools/clang/docs \
 
68
          tools/lto
 
69
  OPTIONAL_DIRS :=
 
70
  NO_INSTALL = 1
 
71
endif
 
72
 
 
73
ifeq ($(MAKECMDGOALS),install-clang-c)
 
74
  DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
 
75
          tools/clang/tools/libclang tools/clang/tools/c-index-test \
 
76
          tools/clang/include/clang-c
68
77
  OPTIONAL_DIRS :=
69
78
  NO_INSTALL = 1
70
79
endif
71
80
 
72
81
ifeq ($(MAKECMDGOALS),clang-only)
73
 
  DIRS := $(filter-out tools runtime docs unittests, $(DIRS)) tools/clang
 
82
  DIRS := $(filter-out tools runtime docs unittests, $(DIRS)) \
 
83
          tools/clang tools/lto
74
84
  OPTIONAL_DIRS :=
75
85
endif
76
86
 
102
112
                --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE); \
103
113
          cd .. ; \
104
114
        fi; \
105
 
        ($(MAKE) -C BuildTools \
 
115
        (unset SDKROOT; \
 
116
         $(MAKE) -C BuildTools \
106
117
          BUILD_DIRS_ONLY=1 \
107
118
          UNIVERSAL= \
108
119
          ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
110
121
          ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
111
122
          DISABLE_ASSERTIONS=$(DISABLE_ASSERTIONS) \
112
123
          ENABLE_EXPENSIVE_CHECKS=$(ENABLE_EXPENSIVE_CHECKS) \
 
124
          CFLAGS= \
 
125
          CXXFLAGS= \
113
126
        ) || exit 1;
114
127
endif
115
128
 
143
156
tools-only: all
144
157
libs-only: all
145
158
install-clang: install
 
159
install-clang-c: install
146
160
install-libs: install
147
161
 
148
162
#------------------------------------------------------------------------
156
170
  include/llvm/Config/AsmParsers.def \
157
171
  include/llvm/Config/Disassemblers.def \
158
172
  include/llvm/System/DataTypes.h \
159
 
  tools/llvmc/plugins/Base/Base.td
 
173
  tools/llvmc/src/Base.td
160
174
FilesToConfigPATH  := $(addprefix $(LLVM_OBJ_ROOT)/,$(FilesToConfig))
161
175
 
162
176
all-local:: $(FilesToConfigPATH)
169
183
# that it gets executed last.
170
184
ifneq ($(BUILD_DIRS_ONLY),1)
171
185
all::
172
 
        $(Echo) '*****' Completed $(BuildMode)$(AssertMode) Build
173
 
ifeq ($(BuildMode),Debug)
 
186
        $(Echo) '*****' Completed $(BuildMode) Build
 
187
ifneq ($(ENABLE_OPTIMIZED),1)
174
188
        $(Echo) '*****' Note: Debug build can be 10 times slower than an
175
189
        $(Echo) '*****' optimized build. Use 'make ENABLE_OPTIMIZED=1' to
176
190
        $(Echo) '*****' make an optimized build. Alternatively you can
181
195
check-llvm2cpp:
182
196
        $(Verb)$(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
183
197
 
184
 
check-one:
185
 
        $(Verb)$(MAKE) -C test check-one TESTONE=$(TESTONE)
186
 
 
187
198
srpm: $(LLVM_OBJ_ROOT)/llvm.spec
188
199
        rpmbuild -bs $(LLVM_OBJ_ROOT)/llvm.spec
189
200
 
214
225
        $(SVN) $(SVN-UPDATE-OPTIONS) update $(LLVM_SRC_ROOT)
215
226
        @ $(SVN) status $(LLVM_SRC_ROOT) | $(SUB-SVN-DIRS) | xargs $(SVN) $(SVN-UPDATE-OPTIONS) update
216
227
 
217
 
happiness: update all check unittests
 
228
happiness: update all check-all
218
229
 
219
230
.PHONY: srpm rpm update happiness
220
231