# Build scripts

srcdir		= @srcdir@
top_srcdir	= @top_srcdir@
top_builddir	= @top_builddir@

subdir          = sources/jamfiles

LIBDEST         = $(OPEN_DYLAN_USER_INSTALL)/lib

SCRIPTS         = \
                  $(srcdir)/mini-jambase.jam \
                  $(srcdir)/posix-build.jam \
                  $(srcdir)/ppc-darwin-build.jam \
                  $(srcdir)/x86-darwin-build.jam \
                  $(srcdir)/x86_64-darwin-build.jam \
                  $(srcdir)/x86-freebsd-build.jam \
                  $(srcdir)/x86_64-freebsd-build.jam \
                  $(srcdir)/x86-linux-build.jam \
                  $(srcdir)/x86_64-linux-build.jam \
                  $(srcdir)/arm-linux-build.jam

default:

install:
	cp config.jam $(SCRIPTS) $(LIBDEST)

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) && ./config.status $(subdir)/Makefile
