Wed, 27 Dec 2023 16:18:10 +0100
fix missing LDFLAGS when linking ucxtest
universe@753 | 1 | # Copyright 2023 Mike Becker. All rights reserved. |
universe@753 | 2 | # |
universe@753 | 3 | # Redistribution and use in source and binary forms, with or without |
universe@753 | 4 | # modification, are permitted provided that the following conditions are met: |
universe@753 | 5 | # |
universe@753 | 6 | # 1. Redistributions of source code must retain the above copyright |
universe@753 | 7 | # notice, this list of conditions and the following disclaimer. |
universe@753 | 8 | # |
universe@753 | 9 | # 2. Redistributions in binary form must reproduce the above copyright |
universe@753 | 10 | # notice, this list of conditions and the following disclaimer in the |
universe@753 | 11 | # documentation and/or other materials provided with the distribution. |
universe@753 | 12 | # |
universe@753 | 13 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
universe@753 | 14 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
universe@753 | 15 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
universe@753 | 16 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
universe@753 | 17 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
universe@753 | 18 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
universe@753 | 19 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
universe@753 | 20 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
universe@753 | 21 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
universe@753 | 22 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
universe@753 | 23 | |
universe@753 | 24 | include ../config.mk |
universe@753 | 25 | |
universe@753 | 26 | PAGES = index features install license modules-ucx2 |
universe@754 | 27 | DOCS_HTML = $(PAGES:%=$(docs_dir)/web/%.html) |
universe@754 | 28 | DOCS_CSS = $(docs_dir)/web/ucx.css |
universe@753 | 29 | |
universe@753 | 30 | all: all-html all-api |
universe@753 | 31 | |
universe@754 | 32 | all-html: $(docs_dir)/web $(DOCS_HTML) $(DOCS_CSS) FORCE |
universe@753 | 33 | @echo "[ HTML Docs Generated ]" |
universe@753 | 34 | |
universe@754 | 35 | all-api: $(docs_dir)/web $(docs_dir)/web/api-2.1 $(docs_dir)/web/api FORCE |
universe@753 | 36 | @echo "[ API Docs Generated ]" |
universe@753 | 37 | |
universe@754 | 38 | $(docs_dir)/web/api-2.1: api-2.1 FORCE |
universe@765 | 39 | $(MKDIR) $@ |
universe@765 | 40 | $(COPYALL) $< "$@/.." |
universe@753 | 41 | |
universe@754 | 42 | $(docs_dir)/web/api: FORCE |
universe@753 | 43 | cd $(src_dir); $(DOXYGEN) |
universe@753 | 44 | |
universe@754 | 45 | $(docs_dir)/web: |
universe@753 | 46 | $(MKDIR) $@ |
universe@753 | 47 | |
universe@753 | 48 | $(DOCS_CSS): src/ucx.css |
universe@753 | 49 | $(COPYFILE) $< $@ |
universe@753 | 50 | |
universe@754 | 51 | $(docs_dir)/web/modules-ucx2.html: src/modules-ucx2.md |
universe@753 | 52 | $(PANDOC) -c ucx.css -B src/header-ucx2.html -A src/footer.html \ |
universe@753 | 53 | -T 'UAP Common Extensions' -o $@ $< |
universe@753 | 54 | |
universe@754 | 55 | $(docs_dir)/web/%.html: src/%.md |
universe@753 | 56 | $(PANDOC) -c ucx.css -B src/header.html -A src/footer.html \ |
universe@753 | 57 | -T 'UAP Common Extensions' -o $@ $< |
universe@753 | 58 | |
universe@753 | 59 | FORCE: |