1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
# makefile for web-repl example, Time-stamp: <2007-07-25 19:52:29 feeley>
# Copyright (c) 1994-2007 by Marc Feeley, All Rights Reserved.
herefromroot = examples/web-repl
rootfromhere = ../..
SUBDIRS =
PACKAGE_SHORTNAME = @PACKAGE_SHORTNAME@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_SUBDIR = @PACKAGE_SUBDIR@
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
srcdirpfx = @srcdirpfx@
C_COMPILER = @C_COMPILER@
C_PREPROC = @C_PREPROC@
FLAGS_OBJ = @FLAGS_OBJ@
FLAGS_DYN = @FLAGS_DYN@
FLAGS_LIB = @FLAGS_LIB@
FLAGS_EXE = @FLAGS_EXE@
DEFS = @DEFS@
LIBS = @LIBS@
GAMBCLIB = @GAMBCLIB@
GAMBCCOMPLIB = @GAMBCCOMPLIB@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_LIB = @INSTALL_LIB@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LN_S = @LN_S@
RANLIB = @RANLIB@
HG = @HG@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = $(prefix)$(PACKAGE_SUBDIR)/include
libdir = $(prefix)$(PACKAGE_SUBDIR)/lib
bindir = $(prefix)$(PACKAGE_SUBDIR)/bin
docdir = $(prefix)$(PACKAGE_SUBDIR)/doc
infodir = $(prefix)$(PACKAGE_SUBDIR)/info
emacsdir = $(prefix)$(PACKAGE_SUBDIR)/share/emacs/site-lisp
.SUFFIXES: .scm .c @obj@ .o1
RCFILES = makefile.in README web-repl.scm Repl.java index.html
GENDISTFILES =
DISTFILES = $(RCFILES) $(GENDISTFILES)
all: all-pre all-recursive all-post
all-pre:
all-post:
examples: web-repl.o1 run
.scm.o1:
rm -f $*.o*
@SETDLPATH@ $(rootfromhere)/gsc/gsc -:=$(srcdirpfx)$(rootfromhere) $(srcdirpfx)$*.scm
run:
@SETDLPATH@ $(rootfromhere)/gsi/gsi web-repl &
javac Repl.java
java Repl
install-pre:
install-post: all
uninstall-pre:
uninstall-post:
mostlyclean-pre:
mostlyclean-post:
rm -f web-repl.c web-repl@obj@ web-repl.o1
clean-pre: mostlyclean-pre
clean-post: mostlyclean-post
distclean-pre: clean-pre
distclean-post: clean-post
rm -f makefile
realclean-pre: distclean-pre
realclean-post: distclean-post
hg-setup-pre:
$(HG) add $(RCFILES)
hg-setup-post:
all-recursive install-recursive uninstall-recursive mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive hg-setup-recursive:
@if test -n "$(SUBDIRS)"; then \
for subdir in ""$(SUBDIRS); do \
target=`echo $@ | sed 's/-recursive//'`; \
echo making $$target in $$subdir; \
(cd $$subdir && $(MAKE) $$target) || exit 1; \
done \
fi
install: install-pre install-recursive install-post
uninstall: uninstall-pre uninstall-recursive uninstall-post
mostlyclean: mostlyclean-pre mostlyclean-recursive mostlyclean-post
clean: clean-pre clean-recursive clean-post
distclean: distclean-pre distclean-recursive distclean-post
realclean: realclean-pre realclean-recursive realclean-post
hg-setup: hg-setup-pre hg-setup-recursive hg-setup-post
dist:
@if test -n "$(SUBDIRS)"; then \
for subdir in ""$(SUBDIRS); do \
echo making $@ in $$subdir; \
mkdir $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)/$$subdir; \
chmod 777 $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)/$$subdir; \
(cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
done \
fi
@echo "Copying distribution files"
@for file in $(DISTFILES); do \
ln $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot) 2> /dev/null \
|| cp -p $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot); \
done
makefile: makefile.in $(rootfromhere)/config.status
cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
|