ref: 56c2dd5196a5ca417f2893c374711b2c3ed003d9
parent: 0b296ffc4dfa7765a52a6f83e1dabb2aa81d5c2a
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Apr 14 14:03:15 EDT 2015
Remove dead 'mk' directory.
--- a/libbio/mk/myr.mk
+++ /dev/null
@@ -1,97 +1,0 @@
-ifneq ($(MYRLIB),)
- _LIBNAME=lib$(MYRLIB).a
-endif
-
-all: subdirs $(_LIBNAME) $(MYRBIN)
-
-subdirs:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) || \
- exit 1 \
- ) || exit 1; done
-
-subdirs-clean:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) clean|| \
- exit 1 \
- ); done
-
-subdirs-install:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) install|| \
- exit 1 \
- ); done
-
-subdirs-uninstall:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) uninstall|| \
- exit 1 \
- ); done
-
-$(_LIBNAME): $(MYRSRC) $(ASMSRC)
- myrbuild -l $(MYRLIB) $^
-
-$(MYRBIN): $(MYRSRC) $(ASMSRC)
- myrbuild -b $(MYRBIN) $^
-
-OBJ=$(MYRSRC:.myr=.o) $(ASMSRC:.s=.o)
-USE=$(MYRSRC:.myr=.use) $(MYRLIB)
-.PHONY: clean
-clean: subdirs-clean
- rm -f $(OBJ)
- rm -f $(USE)
- @if [ ! -z "$(MYRLIB)" ]; then \
- echo rm -f $(MYRLIB); \
- rm -f $(MYRLIB); \
- echo rm -f lib$(MYRLIB).a; \
- rm -f lib$(MYRLIB).a; \
- fi
- @if [ ! -z "$(MYRBIN)" ]; then \
- echo rm -f $(MYRBIN); \
- rm -f $(MYRBIN); \
- echo rm -f lib$(MYRBIN).a; \
- rm -f lib$(MYRBIN).a; \
- fi
-
-install: subdirs-install $(MYRBIN) $(_LIBNAME) $(MAN)
- @if [ ! -z "$(MYRBIN)" ]; then \
- echo install $(MYRBIN) $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
- install $(MYRBIN) $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
- fi
- @if [ ! -z "$(_LIBNAME)" ]; then \
- echo install -m 644 $(_LIBNAME) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- echo install -m 644 $(MYRLIB) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- install -m 644 $(_LIBNAME) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- install -m 644 $(MYRLIB) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- fi
- @for i in $(MAN); do \
- MANSECT=$$(echo $$i | awk -F. '{print $$NF}'); \
- echo mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$$MANSECT); \
- echo install -m 644 $(MAN) $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$$MANSECT); \
- install -m 644 $(MAN) $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}); \
- done \
-
-uninstall: subdirs-uninstall
- @for i in $(MYRBIN); do \
- echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/bin/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/bin/$$i); \
- done
- @for i in $(_LIBNAME) $(MYRLIB); do \
- echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr/$$i); \
- done
- @for i in $(MAN); do \
- MANSECT=$$(echo $$i | awk -F. '{print $$NF}'); \
- echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}/$$i); \
- done
-
-config.mk:
- ./configure
--- a/libregex/mk/myr.mk
+++ /dev/null
@@ -1,97 +1,0 @@
-ifneq ($(MYRLIB),)
- _LIBNAME=lib$(MYRLIB).a
-endif
-
-all: subdirs $(_LIBNAME) $(MYRBIN)
-
-subdirs:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) || \
- exit 1 \
- ) || exit 1; done
-
-subdirs-clean:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) clean|| \
- exit 1 \
- ); done
-
-subdirs-install:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) install|| \
- exit 1 \
- ); done
-
-subdirs-uninstall:
- @for i in $(SUB); do (\
- cd $$i && \
- $(MAKE) uninstall|| \
- exit 1 \
- ); done
-
-$(_LIBNAME): $(MYRSRC) $(ASMSRC)
- myrbuild -l $(MYRLIB) $^
-
-$(MYRBIN): $(MYRSRC) $(ASMSRC)
- myrbuild -b $(MYRBIN) $^
-
-OBJ=$(MYRSRC:.myr=.o) $(ASMSRC:.s=.o)
-USE=$(MYRSRC:.myr=.use) $(MYRLIB)
-.PHONY: clean
-clean: subdirs-clean
- rm -f $(OBJ)
- rm -f $(USE)
- @if [ ! -z "$(MYRLIB)" ]; then \
- echo rm -f $(MYRLIB); \
- rm -f $(MYRLIB); \
- echo rm -f lib$(MYRLIB).a; \
- rm -f lib$(MYRLIB).a; \
- fi
- @if [ ! -z "$(MYRBIN)" ]; then \
- echo rm -f $(MYRBIN); \
- rm -f $(MYRBIN); \
- echo rm -f lib$(MYRBIN).a; \
- rm -f lib$(MYRBIN).a; \
- fi
-
-install: subdirs-install $(MYRBIN) $(_LIBNAME) $(MAN)
- @if [ ! -z "$(MYRBIN)" ]; then \
- echo install $(MYRBIN) $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
- install $(MYRBIN) $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
- fi
- @if [ ! -z "$(_LIBNAME)" ]; then \
- echo install -m 644 $(_LIBNAME) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- echo install -m 644 $(MYRLIB) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- install -m 644 $(_LIBNAME) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- install -m 644 $(MYRLIB) $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr); \
- fi
- @for i in $(MAN); do \
- MANSECT=$$(echo $$i | awk -F. '{print $$NF}'); \
- echo mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$$MANSECT); \
- echo install -m 644 $(MAN) $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$$MANSECT); \
- install -m 644 $(MAN) $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}); \
- done \
-
-uninstall: subdirs-uninstall
- @for i in $(MYRBIN); do \
- echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/bin/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/bin/$$i); \
- done
- @for i in $(_LIBNAME) $(MYRLIB); do \
- echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/lib/myr/$$i); \
- done
- @for i in $(MAN); do \
- MANSECT=$$(echo $$i | awk -F. '{print $$NF}'); \
- echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${MANSECT}/$$i); \
- done
-
-config.mk:
- ./configure
--- a/mbld/mk/myr.mk
+++ /dev/null
@@ -1,42 +1,0 @@
-ifneq ($(MYRLIB),)
- _LIBNAME=lib$(MYRLIB).a
-endif
-
-all: $(_LIBNAME) $(MYRBIN)
-
-$(_LIBNAME): $(MYRSRC) $(ASMSRC)
- myrbuild -l $(MYRLIB) $^
-
-$(MYRBIN): $(MYRSRC) $(ASMSRC)
- myrbuild -b $(MYRBIN) $^
-
-OBJ=$(MYRSRC:.myr=.o) $(ASMSRC:.s=.o)
-JUNKASM=$(MYRSRC:.myr=.s)
-USE=$(MYRSRC:.myr=.use) $(MYRLIB)
-.PHONY: clean install install-bin install-lib
-clean:
- rm -f $(OBJ)
- rm -f $(USE)
- rm -f $(JUNKASM) $(CLEANEXTRA)
- rm -f $(_LIBNAME) $(MYRBIN)
-
-install: install-bin install-lib
-
-install-bin: $(MYRBIN)
- @if [ ! -z "$(MYRBIN)" ]; then \
- echo install $(MYRBIN) $(INST_ROOT)/bin; \
- mkdir -p $(INST_ROOT)/bin; \
- install $(MYRBIN) $(INST_ROOT)/bin; \
- fi
-
-install-lib: $(_LIBNAME)
- @if [ ! -z "$(_LIBNAME)" ]; then \
- echo install -m 644 $(_LIBNAME) $(INST_ROOT)/lib/myr; \
- echo install -m 644 $(MYRLIB) $(INST_ROOT)/lib/myr; \
- mkdir -p $(INST_ROOT)/lib/myr; \
- install -m 644 $(_LIBNAME) $(INST_ROOT)/lib/myr; \
- install -m 644 $(MYRLIB) $(INST_ROOT)/lib/myr; \
- fi
-
-config.mk:
- ./configure