aboutsummaryrefslogtreecommitdiffstats
path: root/tapset/Makefile.am
blob: a07a3b1d8d3693bfdc165e187e86cbbe52e25338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: clean-local install-data-hook uninstall-local

EXTRA_DIST = libosmocore.stp
TAPSET_FILES = $(EXTRA_DIST)
TAPSET_INSTALL_DIR = $(DESTDIR)@ABS_TAPSET_DIR@

if ENABLE_SYSTEMTAP
all-local: $(TAPSET_FILES)

clean-local:

install-data-hook:
	$(MKDIR_P) $(TAPSET_INSTALL_DIR)
	$(INSTALL_DATA) $(TAPSET_FILES) $(TAPSET_INSTALL_DIR)

uninstall-local:
	@list='$(TAPSET_FILES)'; for p in $$list; do \
	  echo " rm -f '$(TAPSET_INSTALL_DIR)/$$p'"; \
	  rm -f "$(TAPSET_INSTALL_DIR)/$$p"; \
	done

endif