1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 include $(topsrcdir
)/config
/rules.mk
7 $(OBJS
): $(CLANG_PLUGIN
)
9 # Because building the objects doesn't actually build anything, create
10 # a stamp file to avoid re-running the tests unless the test files or
11 # the plugin changed. And since no objects are created, and not having
12 # the files around makes the rule always, we create dummy files here too.
13 tests-ok
: $(OBJS
) $(CSRCS
) $(CPPSRCS
) $(CLANG_PLUGIN
)
16 target-objects
: tests-ok
18 # Don't actually build a library, since we don't actually build objects.
19 $(LIBRARY
): EXPAND_LIBS_GEN
=true