blob: a07a3b1d8d3693bfdc165e187e86cbbe52e25338 [file] [log] [blame]
Harald Welte433005c2020-09-26 11:51:32 +02001.PHONY: clean-local install-data-hook uninstall-local
2
3EXTRA_DIST = libosmocore.stp
4TAPSET_FILES = $(EXTRA_DIST)
5TAPSET_INSTALL_DIR = $(DESTDIR)@ABS_TAPSET_DIR@
6
7if ENABLE_SYSTEMTAP
8all-local: $(TAPSET_FILES)
9
10clean-local:
11
12install-data-hook:
13 $(MKDIR_P) $(TAPSET_INSTALL_DIR)
14 $(INSTALL_DATA) $(TAPSET_FILES) $(TAPSET_INSTALL_DIR)
15
16uninstall-local:
17 @list='$(TAPSET_FILES)'; for p in $$list; do \
18 echo " rm -f '$(TAPSET_INSTALL_DIR)/$$p'"; \
19 rm -f "$(TAPSET_INSTALL_DIR)/$$p"; \
20 done
21
22endif