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

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

1.3     ! ohara       1: # $OpenXM: OpenXM/src/asir-gc/Makefile,v 1.2 2021/03/24 14:32:47 fujimoto 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.3     ! ohara       8: DISTNAME=gc-7.6.12
        !             9: DISTFILES=${DISTNAME}.tar.gz libatomic_ops-7.6.10.tar.gz
1.1       ohara      10:
                     11: ASIR_GC = ../../../OpenXM_contrib2/asir-gc
                     12:
                     13: all: configure
                     14:        @if [ ! -f .make_done ]; then \
                     15:                (cd ${ASIR_GC} ; ${MAKE} all) \
                     16:        fi
                     17:        @touch .make_done
                     18:
                     19: install: all
                     20:        (cd ${ASIR_GC} ; ${MAKE} install)
                     21:
                     22: clean:
                     23:        -(cd ${ASIR_GC} ; ${MAKE} clean)
                     24:        @rm -f .make_done .configure_done .fetch_done
                     25:
                     26: distclean: clean
                     27:
                     28: fetch:
                     29:        @if [ ! -f .fetch_done ]; then \
                     30:                for i in ${DISTFILES}; do \
                     31:                        ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}$$i ${DISTDIR}; \
                     32:                done \
                     33:        fi
                     34:        @touch .fetch_done
                     35:
                     36: configure: fetch
                     37:        @if [ ! -f .configure_done ]; then \
1.2       fujimoto   38:                if [ -z $TARGET_TYPE ]; then \
                     39:                  (cd $(ASIR_GC) ; \
                     40:                  ./configure --prefix="`cd ../../OpenXM; pwd`") \
                     41:                else \
                     42:                  (cd $(ASIR_GC) ; \
                     43:                  ./configure --host=${TARGET_TYPE} --prefix="`cd ../../OpenXM; pwd`") \
                     44:                fi ; \
1.1       ohara      45:        fi
                     46:        @touch .configure_done

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