2013-11-01 23:05:25 +05:30
|
|
|
-include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TEST)
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2013-11-02 16:14:54 +05:30
|
|
|
-rm -f $(TEST)
|
2013-11-01 23:05:25 +05:30
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install: all
|
|
|
|
install -d $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)
|
|
|
|
install -m755 $(TEST).sh $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)/$(TEST)
|
|
|
|
ifdef EXTRA_FILES
|
|
|
|
for f in $(EXTRA_FILES); do \
|
|
|
|
install -m644 $${f} $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR); \
|
|
|
|
done
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: uninstall
|
|
|
|
uninstall:
|
|
|
|
-rm -f $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)/$(TEST)
|