-# Versioned install...
-# We rename each of the tool with a suffix corresponding to the version
-# of WE it was compiled with. We use "iwredir" for the redirection...
-
-vinstall:: iwredir install
- @wev=$(FORCE_WEXT_VERSION) ; \
- if [ "$$wev" == "" ] ; then \
- wev=`./iwredir -wev`; \
- else :; fi ; \
- echo "Installing tools for WE-$$wev..." ; \
- for f in $(PROGS); do \
- mv $(INSTALL_DIR)/$$f $(INSTALL_DIR)/$$f$$wev; \
- done;
- install -m 755 iwredir $(INSTALL_DIR)
- for f in $(PROGS); do \
- ln $(INSTALL_DIR)/iwredir $(INSTALL_DIR)/$$f; \
- done;
-
-vuninstall:: uninstall
- @wev=$(FORCE_WEXT_VERSION) ; \
- if [ "$$wev" == "" ] ; then \
- wev=`./iwredir -wev`; \
- else :; fi ; \
- for f in $(PROGS); do \
- rm $(INSTALL_DIR)/$$f$$wev; \
- done;
- $(RM) $(INSTALL_DIR)/iwredir;
-
-depend::
- makedepend -s "# DO NOT DELETE" -- $(INCLUDES) -- $(SRCS)
-# DO NOT DELETE