[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-gc

Annotation of OpenXM/src/asir-gc/Makefile, Revision 1.4

1.4     ! ohara       1: # $OpenXM: OpenXM/src/asir-gc/Makefile,v 1.3 2021/03/24 18:52:34 ohara Exp $
1.1       ohara       2:
                      3: OpenXM_HOME=../..
                      4: PREFIX=${OpenXM_HOME}
                      5: DISTDIR=${OpenXM_HOME}/../OpenXM_dist
                      6: MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/
                      7: # Original. http://www.hboehm.info/gc/gc_source
1.4     ! ohara       8: #           https://github.com/ivmai/bdwgc/wiki/Download
        !             9: DISTNAME=gc-8.0.6
        !            10: DISTFILES=${DISTNAME}.tar.gz libatomic_ops-7.6.12.tar.gz
1.1       ohara      11:
                     12: ASIR_GC = ../../../OpenXM_contrib2/asir-gc
                     13:
                     14: all: configure
                     15:        @if [ ! -f .make_done ]; then \
                     16:                (cd ${ASIR_GC} ; ${MAKE} all) \
                     17:        fi
                     18:        @touch .make_done
                     19:
                     20: install: all
                     21:        (cd ${ASIR_GC} ; ${MAKE} install)
                     22:
                     23: clean:
                     24:        -(cd ${ASIR_GC} ; ${MAKE} clean)
                     25:        @rm -f .make_done .configure_done .fetch_done
                     26:
                     27: distclean: clean
                     28:
                     29: fetch:
                     30:        @if [ ! -f .fetch_done ]; then \
                     31:                for i in ${DISTFILES}; do \
                     32:                        ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}$$i ${DISTDIR}; \
                     33:                done \
                     34:        fi
                     35:        @touch .fetch_done
                     36:
                     37: configure: fetch
                     38:        @if [ ! -f .configure_done ]; then \
1.2       fujimoto   39:                if [ -z $TARGET_TYPE ]; then \
                     40:                  (cd $(ASIR_GC) ; \
                     41:                  ./configure --prefix="`cd ../../OpenXM; pwd`") \
                     42:                else \
                     43:                  (cd $(ASIR_GC) ; \
                     44:                  ./configure --host=${TARGET_TYPE} --prefix="`cd ../../OpenXM; pwd`") \
                     45:                fi ; \
1.1       ohara      46:        fi
                     47:        @touch .configure_done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>