nDPI/tests/Makefile.am
Ivan Nardi b2357c29c3
Build system: Standardize and improve clean/distclean targets (#3039)
This commit improves the nDPI build system by standardizing cleanup
targets, improving portability, and ensuring complete removal of
generated files during `make distclean`.

Changes:

1. Standardize clean targets (replace /bin/rm with portable $(RM))

2. Add distclean-local targets for complete cleanup

3. Add missing clean/distclean targets

4. Remove obsolete commented-out curl detection code

5. fuzz/Makefile.am: Fix out-of-tree build compatibility by replacing hardcoded
   relative paths (../example/fuzz_*.o) with proper $(top_builddir) variables.
   Add distclean-local target.
2025-11-24 18:42:03 +01:00

16 lines
378 B
Makefile

TESTS = do.sh do-dga.sh
if BUILD_UNITTESTS
TESTS += do-unit.sh
endif
EXTRA_DIST = cfgs/*/pcap cfgs/*/result cfgs/*/*.txt performance \
unit/unit.c unit/Makefile.in \
dga/dga_evaluate.c dga/Makefile.in dga/README.md dga/test_dga.csv dga/test_non_dga.csv do-dga.sh.in \
do-unit.sh.in do.sh.in ossfuzz.sh
all:
@echo -n ""
distclean-local:
$(RM) do.sh do-dga.sh do-unit.sh