Source
197
197
198
198
tests_build: modules_build
199
199
$(MAKE) $(AM_MAKEFLAGS) && \
200
200
cd tests && \
201
201
$(MAKE) $(AM_MAKEFLAGS) LDFLAGS="$(LDFLAGS) $(COMMON_WRAP_FUNCS)" LIBS="$(LIBS)"
202
202
203
203
tests: tests_build
204
204
export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CMOCKA_LIBRARY_PATH):$(YAML_LIBRARY_PATH); \
205
205
tests/tests_run.pl
206
206
207
-
clean: clean-recursive modules_clean
207
+
clean: clean-recursive modules_clean build_test_zbxcommon_clean
208
208
cd tests && $(MAKE) clean
209
209
endif
210
210
211
-
badger:
211
+
build_test_zbxcommon:
212
212
$(MAKE) $(AM_MAKEFLAGS) && \
213
213
cd src/libs/test_zbxcommon && \
214
214
$(MAKE) $(AM_MAKEFLAGS)
215
215
216
+
build_test_zbxcommon_clean:
217
+
cd src/libs/test_zbxcommon && $(MAKE) clean
218
+
216
219
sbom: sbom-ui
217
220
218
221
sbom-ui: ui/sbom.json
219
222
220
223
ui/sbom.json:
221
224
(cd ${@D} && \
222
225
composer CycloneDX:make-sbom --omit=dev --no-interaction \
223
226
--spec-version=1.4 \
224
227
--output-reproducible --output-format=JSON --output-file="${@F}")
225
228