-# $Id: Makefile.in.in,v 1.7 2000/12/07 19:58:39 cph Exp $
+# $Id: Makefile.in.in,v 1.8 2000/12/07 20:15:19 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
bin_PROGRAMS = scheme bchscheme
aux_PROGRAMS = gcdrone
+aux_DATA = utabmd.bin
EXTRA_PROGRAMS = findprim bintopsb psbtobin
scheme_SOURCES = $(SHARED_SOURCES) $(STD_GC_SOURCES) usrdef.c
-rm -f $@
$(LINK) $(psbtobin_LDFLAGS) $(psbtobin_OBJECTS) $(psbtobin_LIBS)
+utabmd.bin: utabmd.scm
+ scheme -compiler -eval '(sf "utabmd")' < /dev/null
+
setup:
( cd cmpauxmd && $(MAKE) )
-rm -f $(MAINTAINER_CLEAN_FILES)
( cd cmpauxmd && $(MAKE) $@ )
-install: install-binPROGRAMS install-auxPROGRAMS
+install: install-binPROGRAMS install-auxPROGRAMS install-auxDATA
install-binPROGRAMS: $(bin_PROGRAMS)
$(mkinstalldirs) $(DESTDIR)$(bindir)
fi; \
done
+install-auxDATA: $(aux_DATA)
+ $(mkinstalldirs) $(DESTDIR)$(auxdir)
+ @list='$(aux_DATA)'; \
+ for p in $$list; do \
+ if test -f $$p; then \
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(auxdir)/."; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(auxdir)/.; \
+ fi; \
+ done
+
.PHONY: all tags TAGS mostlyclean clean distclean maintainer-clean
-.PHONY: install install_binPROGRAMS install_auxPROGRAMS
+.PHONY: install install_binPROGRAMS install_auxPROGRAMS install_auxDATA
# **** File dependencies ****