Makefile

changeset 766
e59b76889f00
parent 755
255ee4abf2ec
child 769
b53e0e003d7e
equal deleted inserted replaced
765:b5128bb44459 766:e59b76889f00
21 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 21 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 23
24 include config.mk 24 include config.mk
25 25
26 all: compile 26 all: compile test-compile
27 27
28 install: 28 install:
29 @cd src && $(MAKE) install 29 @cd src && $(MAKE) install
30 30
31 dist: FORCE 31 dist: FORCE
55 55
56 static: FORCE 56 static: FORCE
57 @cd src && $(MAKE) static 57 @cd src && $(MAKE) static
58 58
59 check: test-compile FORCE 59 check: test-compile FORCE
60 test "$(WITH_TESTS)" = "yes" && $(build_dir)/tests/ucxtest 60 $(build_dir)/tests/ucxtest
61 61
62 test-compile: 62 test-compile:
63 @(test "$(WITH_TESTS)" = "yes" && cd tests && $(MAKE)) \ 63 cd tests && $(MAKE)
64 || echo "[ Tests disabled - skipped ]"
65 64
66 docs: FORCE 65 docs: FORCE
67 @(test "$(WITH_DOCS_API)" = "yes" && cd docs && $(MAKE) all-api) \ 66 @(test "$(WITH_DOCS_API)" = "yes" && cd docs && $(MAKE) all-api) \
68 || echo "[ Generation of API Docs disabled - skipped ]" 67 || echo "[ Generation of API Docs disabled - skipped ]"
69 @(test "$(WITH_DOCS_HTML)" = "yes" && cd docs && $(MAKE) all-html) \ 68 @(test "$(WITH_DOCS_HTML)" = "yes" && cd docs && $(MAKE) all-html) \
70 || echo "[ Generation of HTML Docs disabled - skipped ]" 69 || echo "[ Generation of HTML Docs disabled - skipped ]"
71 70
72 update-rules: 71 update-rules:
73 make/update-rules.sh src 72 make/update-rules.sh src
73 CFLAGS='$(CFLAGS) -I../src' make/update-rules.sh tests '$$(TEST_DIR)'
74 74
75 FORCE: 75 FORCE:

mercurial