| 1 |
srcdir = @srcdir@ |
| 2 |
VPATH = $(srcdir) |
| 3 |
top_builddir = @top_builddir@ |
| 4 |
top_srcdir = @top_srcdir@ |
| 5 |
|
| 6 |
TARGET = sample-repl sample-repl-nogdbm sample-repl-nombed |
| 7 |
CLEANFILES = *.c |
| 8 |
CONFIG_GENERATED = Makefile |
| 9 |
|
| 10 |
all: $(TARGET) |
| 11 |
|
| 12 |
clean: |
| 13 |
rm -f core *~ $(TARGET) $(CLEANFILES) |
| 14 |
|
| 15 |
distclean: clean |
| 16 |
rm -f $(CONFIG_GENERATED) |
| 17 |
|
| 18 |
maintainer-clean: clean |
| 19 |
rm -f $(CONFIG_GENERATED) |
| 20 |
|
| 21 |
sample-repl: sample-repl.scm |
| 22 |
$(top_builddir)/src/gosh -ftest build-standalone \ |
| 23 |
--header-dir $(top_srcdir)/src \ |
| 24 |
--header-dir $(top_srcdir)/gc/include \ |
| 25 |
--library-dir $(top_builddir)/src \ |
| 26 |
-o sample-repl sample-repl.scm |
| 27 |
|
| 28 |
sample-repl-nogdbm: sample-repl.scm |
| 29 |
$(top_builddir)/src/gosh -ftest build-standalone \ |
| 30 |
-D GAUCHE_STATIC_EXCLUDE_GDBM \ |
| 31 |
--header-dir $(top_srcdir)/src \ |
| 32 |
--header-dir $(top_srcdir)/gc/include \ |
| 33 |
--library-dir $(top_builddir)/src \ |
| 34 |
-o sample-repl-nogdbm sample-repl.scm |
| 35 |
|
| 36 |
sample-repl-nombed: sample-repl.scm |
| 37 |
$(top_builddir)/src/gosh -ftest build-standalone \ |
| 38 |
-D GAUCHE_STATIC_EXCLUDE_GDBM \ |
| 39 |
-D GAUCHE_STATIC_EXCLUDE_MBEDTLS \ |
| 40 |
--header-dir $(top_srcdir)/src \ |
| 41 |
--header-dir $(top_srcdir)/gc/include \ |
| 42 |
--library-dir $(top_builddir)/src \ |
| 43 |
-o sample-repl-nombed sample-repl.scm |