annotate Makefile.in @ 1441:8524a1709821

'--without-emacs' configure option
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Mar 2011 13:47:39 -0400
parents 6064ddd90ca6
children 156b8e8c25d8
rev   line source
adamc@1138 1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
adamc@1132 2 # @configure_input@
adamc@1132 3
adamc@1132 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
adamc@1132 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
adamc@1132 6 # Inc.
adamc@1132 7 # This Makefile.in is free software; the Free Software Foundation
adamc@1132 8 # gives unlimited permission to copy and/or distribute it,
adamc@1132 9 # with or without modifications, as long as this notice is preserved.
adamc@1132 10
adamc@1132 11 # This program is distributed in the hope that it will be useful,
adamc@1132 12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
adamc@1132 13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
adamc@1132 14 # PARTICULAR PURPOSE.
adamc@1132 15
adamc@1132 16 @SET_MAKE@
adamc@1132 17 VPATH = @srcdir@
adamc@1132 18 pkgdatadir = $(datadir)/@PACKAGE@
adamc@1132 19 pkgincludedir = $(includedir)/@PACKAGE@
adamc@1132 20 pkglibdir = $(libdir)/@PACKAGE@
adamc@1132 21 pkglibexecdir = $(libexecdir)/@PACKAGE@
adamc@1132 22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
adamc@1132 23 install_sh_DATA = $(install_sh) -c -m 644
adamc@1132 24 install_sh_PROGRAM = $(install_sh) -c
adamc@1132 25 install_sh_SCRIPT = $(install_sh) -c
adamc@1132 26 INSTALL_HEADER = $(INSTALL_DATA)
adamc@1132 27 transform = $(program_transform_name)
adamc@1132 28 NORMAL_INSTALL = :
adamc@1132 29 PRE_INSTALL = :
adamc@1132 30 POST_INSTALL = :
adamc@1132 31 NORMAL_UNINSTALL = :
adamc@1132 32 PRE_UNINSTALL = :
adamc@1132 33 POST_UNINSTALL = :
adamc@1132 34 build_triplet = @build@
adamc@1132 35 host_triplet = @host@
adamc@1132 36 subdir = .
adamc@1132 37 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
adamc@1263 38 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
adamc@1263 39 $(top_srcdir)/configure $(top_srcdir)/src/config.sml.in \
adamc@1263 40 config.guess config.sub depcomp install-sh ltmain.sh missing
adamc@1132 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
adam@1368 42 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_openssl.m4 \
adam@1368 43 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
adam@1368 44 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
adam@1368 45 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
adamc@1132 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
adamc@1132 47 $(ACLOCAL_M4)
adamc@1132 48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
adamc@1132 49 configure.lineno config.status.lineno
adamc@1132 50 mkinstalldirs = $(install_sh) -d
adamc@1263 51 CONFIG_HEADER = config.h
adamc@1132 52 CONFIG_CLEAN_FILES = src/config.sml
adamc@1132 53 CONFIG_CLEAN_VPATH_FILES =
adamc@1132 54 SOURCES =
adamc@1132 55 DIST_SOURCES =
adamc@1132 56 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
adamc@1132 57 html-recursive info-recursive install-data-recursive \
adamc@1132 58 install-dvi-recursive install-exec-recursive \
adamc@1132 59 install-html-recursive install-info-recursive \
adamc@1132 60 install-pdf-recursive install-ps-recursive install-recursive \
adamc@1132 61 installcheck-recursive installdirs-recursive pdf-recursive \
adamc@1132 62 ps-recursive uninstall-recursive
adamc@1132 63 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
adamc@1132 64 distclean-recursive maintainer-clean-recursive
adamc@1132 65 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
adamc@1132 66 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
adamc@1132 67 distdir dist dist-all distcheck
adamc@1132 68 ETAGS = etags
adamc@1132 69 CTAGS = ctags
adamc@1132 70 DIST_SUBDIRS = $(SUBDIRS)
adamc@1132 71 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
adamc@1132 72 distdir = $(PACKAGE)-$(VERSION)
adamc@1132 73 top_distdir = $(distdir)
adamc@1132 74 am__remove_distdir = \
adamc@1132 75 { test ! -d "$(distdir)" \
adamc@1132 76 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
adamc@1132 77 && rm -fr "$(distdir)"; }; }
adamc@1132 78 am__relativize = \
adamc@1132 79 dir0=`pwd`; \
adamc@1132 80 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
adamc@1132 81 sed_rest='s,^[^/]*/*,,'; \
adamc@1132 82 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
adamc@1132 83 sed_butlast='s,/*[^/]*$$,,'; \
adamc@1132 84 while test -n "$$dir1"; do \
adamc@1132 85 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
adamc@1132 86 if test "$$first" != "."; then \
adamc@1132 87 if test "$$first" = ".."; then \
adamc@1132 88 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
adamc@1132 89 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
adamc@1132 90 else \
adamc@1132 91 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
adamc@1132 92 if test "$$first2" = "$$first"; then \
adamc@1132 93 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
adamc@1132 94 else \
adamc@1132 95 dir2="../$$dir2"; \
adamc@1132 96 fi; \
adamc@1132 97 dir0="$$dir0"/"$$first"; \
adamc@1132 98 fi; \
adamc@1132 99 fi; \
adamc@1132 100 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
adamc@1132 101 done; \
adamc@1132 102 reldir="$$dir2"
adamc@1132 103 DIST_ARCHIVES = $(distdir).tar.gz
adamc@1132 104 GZIP_ENV = --best
adamc@1132 105 distuninstallcheck_listfiles = find . -type f -print
adamc@1132 106 distcleancheck_listfiles = find . -type f -print
adamc@1132 107 ACLOCAL = @ACLOCAL@
adamc@1132 108 AMTAR = @AMTAR@
adamc@1132 109 AR = @AR@
adamc@1132 110 AUTOCONF = @AUTOCONF@
adamc@1132 111 AUTOHEADER = @AUTOHEADER@
adamc@1132 112 AUTOMAKE = @AUTOMAKE@
adamc@1132 113 AWK = @AWK@
adamc@1132 114 BIN := @BIN@
adamc@1132 115 CC = @CC@
adamc@1132 116 CCDEPMODE = @CCDEPMODE@
adamc@1132 117 CFLAGS = @CFLAGS@
adamc@1132 118 CPP = @CPP@
adamc@1132 119 CPPFLAGS = @CPPFLAGS@
adamc@1132 120 CYGPATH_W = @CYGPATH_W@
adamc@1132 121 DEFS = @DEFS@
adamc@1132 122 DEPDIR = @DEPDIR@
adamc@1132 123 DSYMUTIL = @DSYMUTIL@
adamc@1132 124 DUMPBIN = @DUMPBIN@
adamc@1132 125 ECHO_C = @ECHO_C@
adamc@1132 126 ECHO_N = @ECHO_N@
adamc@1132 127 ECHO_T = @ECHO_T@
adamc@1132 128 EGREP = @EGREP@
adamc@1132 129 EXEEXT = @EXEEXT@
adamc@1132 130 FGREP = @FGREP@
adamc@1132 131 GCCARGS = @GCCARGS@
adamc@1132 132 GREP = @GREP@
adamc@1132 133 INCLUDE := @INCLUDE@
adamc@1132 134 INSTALL = @INSTALL@
adamc@1132 135 INSTALL_DATA = @INSTALL_DATA@
adamc@1132 136 INSTALL_PROGRAM = @INSTALL_PROGRAM@
adamc@1132 137 INSTALL_SCRIPT = @INSTALL_SCRIPT@
adamc@1132 138 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
adamc@1132 139 LD = @LD@
adamc@1132 140 LDFLAGS = @LDFLAGS@
adamc@1132 141 LIB := @LIB@
adamc@1132 142 LIBOBJS = @LIBOBJS@
adamc@1132 143 LIBS = @LIBS@
adamc@1132 144 LIBTOOL = @LIBTOOL@
adamc@1132 145 LIPO = @LIPO@
adamc@1132 146 LN_S = @LN_S@
adamc@1132 147 LTLIBOBJS = @LTLIBOBJS@
adamc@1132 148 MAKEINFO = @MAKEINFO@
adamc@1132 149 MKDIR_P = @MKDIR_P@
adamc@1165 150 MLLEX = @MLLEX@
adamc@1165 151 MLTON := mlton
adamc@1165 152 MLYACC = @MLYACC@
adamc@1132 153 NM = @NM@
adamc@1132 154 NMEDIT = @NMEDIT@
adamc@1132 155 OBJDUMP = @OBJDUMP@
adamc@1132 156 OBJEXT = @OBJEXT@
adam@1368 157 OPENSSL_INCLUDES = @OPENSSL_INCLUDES@
adam@1368 158 OPENSSL_LDFLAGS = @OPENSSL_LDFLAGS@
adam@1368 159 OPENSSL_LIBS = @OPENSSL_LIBS@
adamc@1132 160 OTOOL = @OTOOL@
adamc@1132 161 OTOOL64 = @OTOOL64@
adamc@1132 162 PACKAGE = @PACKAGE@
adamc@1132 163 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
adamc@1132 164 PACKAGE_NAME = @PACKAGE_NAME@
adamc@1132 165 PACKAGE_STRING = @PACKAGE_STRING@
adamc@1132 166 PACKAGE_TARNAME = @PACKAGE_TARNAME@
adamc@1132 167 PACKAGE_URL = @PACKAGE_URL@
adamc@1132 168 PACKAGE_VERSION = @PACKAGE_VERSION@
adamc@1132 169 PATH_SEPARATOR = @PATH_SEPARATOR@
adam@1368 170 PKG_CONFIG = @PKG_CONFIG@
adamc@1132 171 RANLIB = @RANLIB@
adamc@1132 172 SED = @SED@
adamc@1132 173 SET_MAKE = @SET_MAKE@
adamc@1132 174 SHELL = @SHELL@
adamc@378 175 SITELISP := @SITELISP@
adamc@1132 176 STRIP = @STRIP@
adamc@1132 177 VERSION = @VERSION@
adamc@1132 178 abs_builddir = @abs_builddir@
adamc@1132 179 abs_srcdir = @abs_srcdir@
adamc@1132 180 abs_top_builddir = @abs_top_builddir@
adamc@1132 181 abs_top_srcdir = @abs_top_srcdir@
adamc@1132 182 ac_ct_CC = @ac_ct_CC@
adamc@1132 183 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
adamc@1132 184 am__include = @am__include@
adamc@1132 185 am__leading_dot = @am__leading_dot@
adamc@1132 186 am__quote = @am__quote@
adamc@1132 187 am__tar = @am__tar@
adamc@1132 188 am__untar = @am__untar@
adamc@1132 189 bindir = @bindir@
adamc@1132 190 build = @build@
adamc@1132 191 build_alias = @build_alias@
adamc@1132 192 build_cpu = @build_cpu@
adamc@1132 193 build_os = @build_os@
adamc@1132 194 build_vendor = @build_vendor@
adamc@1132 195 builddir = @builddir@
adamc@1132 196 datadir = @datadir@
adamc@1132 197 datarootdir = @datarootdir@
adamc@1132 198 docdir = @docdir@
adamc@1132 199 dvidir = @dvidir@
adamc@1132 200 exec_prefix = @exec_prefix@
adamc@1132 201 host = @host@
adamc@1132 202 host_alias = @host_alias@
adamc@1132 203 host_cpu = @host_cpu@
adamc@1132 204 host_os = @host_os@
adamc@1132 205 host_vendor = @host_vendor@
adamc@1132 206 htmldir = @htmldir@
adamc@1132 207 includedir = @includedir@
adamc@1132 208 infodir = @infodir@
adamc@1132 209 install_sh = @install_sh@
adamc@1132 210 libdir = @libdir@
adamc@1132 211 libexecdir = @libexecdir@
adamc@1132 212 localedir = @localedir@
adamc@1132 213 localstatedir = @localstatedir@
adamc@1132 214 lt_ECHO = @lt_ECHO@
adamc@1132 215 mandir = @mandir@
adamc@1132 216 mkdir_p = @mkdir_p@
adamc@1132 217 oldincludedir = @oldincludedir@
adamc@1132 218 pdfdir = @pdfdir@
adamc@1132 219 prefix = @prefix@
adamc@1132 220 program_transform_name = @program_transform_name@
adamc@1132 221 psdir = @psdir@
adamc@1132 222 sbindir = @sbindir@
adamc@1132 223 sharedstatedir = @sharedstatedir@
adamc@1132 224 srcdir = @srcdir@
adamc@1132 225 sysconfdir = @sysconfdir@
adamc@1132 226 target_alias = @target_alias@
adamc@1132 227 top_build_prefix = @top_build_prefix@
adamc@1132 228 top_builddir = @top_builddir@
adamc@1132 229 top_srcdir = @top_srcdir@
adamc@1141 230 ACLOCAL_AMFLAGS = -I m4
adamc@1132 231 LIB_UR := $(LIB)/ur
adamc@1132 232 LIB_C := $(LIB)/c
adamc@1132 233 LIB_JS := $(LIB)/js
adamc@1132 234 SUBDIRS = src/c
adamc@1263 235 all: config.h
adamc@1263 236 $(MAKE) $(AM_MAKEFLAGS) all-recursive
adamc@378 237
adamc@1132 238 .SUFFIXES:
adamc@1132 239 am--refresh:
adamc@1132 240 @:
adamc@1132 241 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
adamc@1132 242 @for dep in $?; do \
adamc@1132 243 case '$(am__configure_deps)' in \
adamc@1132 244 *$$dep*) \
adamc@1132 245 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
adamc@1132 246 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
adamc@1132 247 && exit 0; \
adamc@1132 248 exit 1;; \
adamc@1132 249 esac; \
adamc@1132 250 done; \
adamc@1132 251 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
adamc@1132 252 $(am__cd) $(top_srcdir) && \
adamc@1132 253 $(AUTOMAKE) --foreign Makefile
adamc@1132 254 .PRECIOUS: Makefile
adamc@1132 255 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
adamc@1132 256 @case '$?' in \
adamc@1132 257 *config.status*) \
adamc@1132 258 echo ' $(SHELL) ./config.status'; \
adamc@1132 259 $(SHELL) ./config.status;; \
adamc@1132 260 *) \
adamc@1132 261 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
adamc@1132 262 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
adamc@1132 263 esac;
adamc@1095 264
adamc@1132 265 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
adamc@1132 266 $(SHELL) ./config.status --recheck
adamc@378 267
adamc@1132 268 $(top_srcdir)/configure: $(am__configure_deps)
adamc@1132 269 $(am__cd) $(srcdir) && $(AUTOCONF)
adamc@1132 270 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
adamc@1132 271 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
adamc@1132 272 $(am__aclocal_m4_deps):
adamc@1263 273
adamc@1263 274 config.h: stamp-h1
adamc@1263 275 @if test ! -f $@; then \
adamc@1263 276 rm -f stamp-h1; \
adamc@1263 277 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
adamc@1263 278 else :; fi
adamc@1263 279
adamc@1263 280 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
adamc@1263 281 @rm -f stamp-h1
adamc@1263 282 cd $(top_builddir) && $(SHELL) ./config.status config.h
adamc@1263 283 $(srcdir)/config.h.in: $(am__configure_deps)
adamc@1263 284 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
adamc@1263 285 rm -f stamp-h1
adamc@1263 286 touch $@
adamc@1263 287
adamc@1263 288 distclean-hdr:
adamc@1263 289 -rm -f config.h stamp-h1
adamc@1132 290 src/config.sml: $(top_builddir)/config.status $(top_srcdir)/src/config.sml.in
adamc@1132 291 cd $(top_builddir) && $(SHELL) ./config.status $@
adamc@378 292
adamc@1132 293 mostlyclean-libtool:
adamc@1132 294 -rm -f *.lo
adamc@1132 295
adamc@1132 296 clean-libtool:
adamc@1132 297 -rm -rf .libs _libs
adamc@1132 298
adamc@1132 299 distclean-libtool:
adamc@1132 300 -rm -f libtool config.lt
adamc@1132 301
adamc@1132 302 # This directory's subdirectories are mostly independent; you can cd
adamc@1132 303 # into them and run `make' without going through this Makefile.
adamc@1132 304 # To change the values of `make' variables: instead of editing Makefiles,
adamc@1132 305 # (1) if the variable is set in `config.status', edit `config.status'
adamc@1132 306 # (which will cause the Makefiles to be regenerated when you run `make');
adamc@1132 307 # (2) otherwise, pass the desired values on the `make' command line.
adamc@1132 308 $(RECURSIVE_TARGETS):
adamc@1138 309 @fail= failcom='exit 1'; \
adamc@1132 310 for f in x $$MAKEFLAGS; do \
adamc@1132 311 case $$f in \
adamc@1132 312 *=* | --[!k]*);; \
adamc@1132 313 *k*) failcom='fail=yes';; \
adamc@1132 314 esac; \
adamc@1132 315 done; \
adamc@1132 316 dot_seen=no; \
adamc@1132 317 target=`echo $@ | sed s/-recursive//`; \
adamc@1132 318 list='$(SUBDIRS)'; for subdir in $$list; do \
adamc@1132 319 echo "Making $$target in $$subdir"; \
adamc@1132 320 if test "$$subdir" = "."; then \
adamc@1132 321 dot_seen=yes; \
adamc@1132 322 local_target="$$target-am"; \
adamc@1132 323 else \
adamc@1132 324 local_target="$$target"; \
adamc@1132 325 fi; \
adamc@1132 326 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
adamc@1132 327 || eval $$failcom; \
adamc@1132 328 done; \
adamc@1132 329 if test "$$dot_seen" = "no"; then \
adamc@1132 330 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
adamc@1132 331 fi; test -z "$$fail"
adamc@1132 332
adamc@1132 333 $(RECURSIVE_CLEAN_TARGETS):
adamc@1138 334 @fail= failcom='exit 1'; \
adamc@1132 335 for f in x $$MAKEFLAGS; do \
adamc@1132 336 case $$f in \
adamc@1132 337 *=* | --[!k]*);; \
adamc@1132 338 *k*) failcom='fail=yes';; \
adamc@1132 339 esac; \
adamc@1132 340 done; \
adamc@1132 341 dot_seen=no; \
adamc@1132 342 case "$@" in \
adamc@1132 343 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
adamc@1132 344 *) list='$(SUBDIRS)' ;; \
adamc@1132 345 esac; \
adamc@1132 346 rev=''; for subdir in $$list; do \
adamc@1132 347 if test "$$subdir" = "."; then :; else \
adamc@1132 348 rev="$$subdir $$rev"; \
adamc@1132 349 fi; \
adamc@1132 350 done; \
adamc@1132 351 rev="$$rev ."; \
adamc@1132 352 target=`echo $@ | sed s/-recursive//`; \
adamc@1132 353 for subdir in $$rev; do \
adamc@1132 354 echo "Making $$target in $$subdir"; \
adamc@1132 355 if test "$$subdir" = "."; then \
adamc@1132 356 local_target="$$target-am"; \
adamc@1132 357 else \
adamc@1132 358 local_target="$$target"; \
adamc@1132 359 fi; \
adamc@1132 360 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
adamc@1132 361 || eval $$failcom; \
adamc@1132 362 done && test -z "$$fail"
adamc@1132 363 tags-recursive:
adamc@1132 364 list='$(SUBDIRS)'; for subdir in $$list; do \
adamc@1132 365 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
adamc@1132 366 done
adamc@1132 367 ctags-recursive:
adamc@1132 368 list='$(SUBDIRS)'; for subdir in $$list; do \
adamc@1132 369 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
adamc@1132 370 done
adamc@1132 371
adamc@1132 372 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
adamc@1132 373 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
adamc@1132 374 unique=`for i in $$list; do \
adamc@1132 375 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
adamc@1132 376 done | \
adamc@1132 377 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
adamc@1132 378 END { if (nonempty) { for (i in files) print i; }; }'`; \
adamc@1132 379 mkid -fID $$unique
adamc@1132 380 tags: TAGS
adamc@1132 381
adamc@1263 382 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
adamc@1132 383 $(TAGS_FILES) $(LISP)
adamc@1132 384 set x; \
adamc@1132 385 here=`pwd`; \
adamc@1132 386 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
adamc@1132 387 include_option=--etags-include; \
adamc@1132 388 empty_fix=.; \
adamc@1132 389 else \
adamc@1132 390 include_option=--include; \
adamc@1132 391 empty_fix=; \
adamc@1132 392 fi; \
adamc@1132 393 list='$(SUBDIRS)'; for subdir in $$list; do \
adamc@1132 394 if test "$$subdir" = .; then :; else \
adamc@1132 395 test ! -f $$subdir/TAGS || \
adamc@1132 396 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
adamc@1132 397 fi; \
adamc@1132 398 done; \
adamc@1263 399 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
adamc@1132 400 unique=`for i in $$list; do \
adamc@1132 401 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
adamc@1132 402 done | \
adamc@1132 403 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
adamc@1132 404 END { if (nonempty) { for (i in files) print i; }; }'`; \
adamc@1132 405 shift; \
adamc@1132 406 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
adamc@1132 407 test -n "$$unique" || unique=$$empty_fix; \
adamc@1132 408 if test $$# -gt 0; then \
adamc@1132 409 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
adamc@1132 410 "$$@" $$unique; \
adamc@1132 411 else \
adamc@1132 412 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
adamc@1132 413 $$unique; \
adamc@1132 414 fi; \
adamc@1132 415 fi
adamc@1132 416 ctags: CTAGS
adamc@1263 417 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
adamc@1132 418 $(TAGS_FILES) $(LISP)
adamc@1263 419 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
adamc@1132 420 unique=`for i in $$list; do \
adamc@1132 421 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
adamc@1132 422 done | \
adamc@1132 423 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
adamc@1132 424 END { if (nonempty) { for (i in files) print i; }; }'`; \
adamc@1132 425 test -z "$(CTAGS_ARGS)$$unique" \
adamc@1132 426 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
adamc@1132 427 $$unique
adamc@1132 428
adamc@1132 429 GTAGS:
adamc@1132 430 here=`$(am__cd) $(top_builddir) && pwd` \
adamc@1132 431 && $(am__cd) $(top_srcdir) \
adamc@1132 432 && gtags -i $(GTAGS_ARGS) "$$here"
adamc@1132 433
adamc@1132 434 distclean-tags:
adamc@1132 435 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
adamc@1132 436
adamc@1132 437 distdir: $(DISTFILES)
adamc@1132 438 $(am__remove_distdir)
adamc@1132 439 test -d "$(distdir)" || mkdir "$(distdir)"
adamc@1132 440 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
adamc@1132 441 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
adamc@1132 442 list='$(DISTFILES)'; \
adamc@1132 443 dist_files=`for file in $$list; do echo $$file; done | \
adamc@1132 444 sed -e "s|^$$srcdirstrip/||;t" \
adamc@1132 445 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
adamc@1132 446 case $$dist_files in \
adamc@1132 447 */*) $(MKDIR_P) `echo "$$dist_files" | \
adamc@1132 448 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
adamc@1132 449 sort -u` ;; \
adamc@1132 450 esac; \
adamc@1132 451 for file in $$dist_files; do \
adamc@1132 452 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
adamc@1132 453 if test -d $$d/$$file; then \
adamc@1132 454 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
adamc@1132 455 if test -d "$(distdir)/$$file"; then \
adamc@1132 456 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
adamc@1132 457 fi; \
adamc@1132 458 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
adamc@1132 459 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
adamc@1132 460 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
adamc@1132 461 fi; \
adamc@1132 462 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
adamc@1132 463 else \
adamc@1132 464 test -f "$(distdir)/$$file" \
adamc@1132 465 || cp -p $$d/$$file "$(distdir)/$$file" \
adamc@1132 466 || exit 1; \
adamc@1132 467 fi; \
adamc@1132 468 done
adamc@1132 469 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
adamc@1132 470 if test "$$subdir" = .; then :; else \
adamc@1132 471 test -d "$(distdir)/$$subdir" \
adamc@1132 472 || $(MKDIR_P) "$(distdir)/$$subdir" \
adamc@1132 473 || exit 1; \
adamc@1132 474 fi; \
adamc@1132 475 done
adamc@1132 476 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
adamc@1132 477 if test "$$subdir" = .; then :; else \
adamc@1132 478 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
adamc@1132 479 $(am__relativize); \
adamc@1132 480 new_distdir=$$reldir; \
adamc@1132 481 dir1=$$subdir; dir2="$(top_distdir)"; \
adamc@1132 482 $(am__relativize); \
adamc@1132 483 new_top_distdir=$$reldir; \
adamc@1132 484 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
adamc@1132 485 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
adamc@1132 486 ($(am__cd) $$subdir && \
adamc@1132 487 $(MAKE) $(AM_MAKEFLAGS) \
adamc@1132 488 top_distdir="$$new_top_distdir" \
adamc@1132 489 distdir="$$new_distdir" \
adamc@1132 490 am__remove_distdir=: \
adamc@1132 491 am__skip_length_check=: \
adamc@1132 492 am__skip_mode_fix=: \
adamc@1132 493 distdir) \
adamc@1132 494 || exit 1; \
adamc@1132 495 fi; \
adamc@1132 496 done
adamc@1132 497 -test -n "$(am__skip_mode_fix)" \
adamc@1138 498 || find "$(distdir)" -type d ! -perm -755 \
adamc@1138 499 -exec chmod u+rwx,go+rx {} \; -o \
adamc@1132 500 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
adamc@1132 501 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
adamc@1132 502 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
adamc@1132 503 || chmod -R a+r "$(distdir)"
adamc@1132 504 dist-gzip: distdir
adamc@1132 505 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
adamc@1132 506 $(am__remove_distdir)
adamc@1132 507
adamc@1132 508 dist-bzip2: distdir
adamc@1132 509 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
adamc@1132 510 $(am__remove_distdir)
adamc@1132 511
adamc@1132 512 dist-lzma: distdir
adamc@1132 513 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
adamc@1132 514 $(am__remove_distdir)
adamc@1132 515
adamc@1132 516 dist-xz: distdir
adamc@1132 517 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
adamc@1132 518 $(am__remove_distdir)
adamc@1132 519
adamc@1132 520 dist-tarZ: distdir
adamc@1132 521 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
adamc@1132 522 $(am__remove_distdir)
adamc@1132 523
adamc@1132 524 dist-shar: distdir
adamc@1132 525 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
adamc@1132 526 $(am__remove_distdir)
adamc@1132 527
adamc@1132 528 dist-zip: distdir
adamc@1132 529 -rm -f $(distdir).zip
adamc@1132 530 zip -rq $(distdir).zip $(distdir)
adamc@1132 531 $(am__remove_distdir)
adamc@1132 532
adamc@1132 533 dist dist-all: distdir
adamc@1132 534 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
adamc@1132 535 $(am__remove_distdir)
adamc@1132 536
adamc@1132 537 # This target untars the dist file and tries a VPATH configuration. Then
adamc@1132 538 # it guarantees that the distribution is self-contained by making another
adamc@1132 539 # tarfile.
adamc@1132 540 distcheck: dist
adamc@1132 541 case '$(DIST_ARCHIVES)' in \
adamc@1132 542 *.tar.gz*) \
adamc@1138 543 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
adamc@1132 544 *.tar.bz2*) \
adamc@1138 545 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
adamc@1132 546 *.tar.lzma*) \
adamc@1138 547 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
adamc@1132 548 *.tar.xz*) \
adamc@1132 549 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
adamc@1132 550 *.tar.Z*) \
adamc@1132 551 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
adamc@1132 552 *.shar.gz*) \
adamc@1138 553 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
adamc@1132 554 *.zip*) \
adamc@1132 555 unzip $(distdir).zip ;;\
adamc@1132 556 esac
adamc@1132 557 chmod -R a-w $(distdir); chmod a+w $(distdir)
adamc@1132 558 mkdir $(distdir)/_build
adamc@1132 559 mkdir $(distdir)/_inst
adamc@1132 560 chmod a-w $(distdir)
adamc@1132 561 test -d $(distdir)/_build || exit 0; \
adamc@1132 562 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
adamc@1132 563 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
adamc@1132 564 && am__cwd=`pwd` \
adamc@1132 565 && $(am__cd) $(distdir)/_build \
adamc@1132 566 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
adamc@1132 567 $(DISTCHECK_CONFIGURE_FLAGS) \
adamc@1132 568 && $(MAKE) $(AM_MAKEFLAGS) \
adamc@1132 569 && $(MAKE) $(AM_MAKEFLAGS) dvi \
adamc@1132 570 && $(MAKE) $(AM_MAKEFLAGS) check \
adamc@1132 571 && $(MAKE) $(AM_MAKEFLAGS) install \
adamc@1132 572 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
adamc@1132 573 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
adamc@1132 574 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
adamc@1132 575 distuninstallcheck \
adamc@1132 576 && chmod -R a-w "$$dc_install_base" \
adamc@1132 577 && ({ \
adamc@1132 578 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
adamc@1132 579 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
adamc@1132 580 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
adamc@1132 581 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
adamc@1132 582 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
adamc@1132 583 } || { rm -rf "$$dc_destdir"; exit 1; }) \
adamc@1132 584 && rm -rf "$$dc_destdir" \
adamc@1132 585 && $(MAKE) $(AM_MAKEFLAGS) dist \
adamc@1132 586 && rm -rf $(DIST_ARCHIVES) \
adamc@1132 587 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
adamc@1132 588 && cd "$$am__cwd" \
adamc@1132 589 || exit 1
adamc@1132 590 $(am__remove_distdir)
adamc@1132 591 @(echo "$(distdir) archives ready for distribution: "; \
adamc@1132 592 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
adamc@1132 593 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
adamc@1132 594 distuninstallcheck:
adamc@1132 595 @$(am__cd) '$(distuninstallcheck_dir)' \
adamc@1132 596 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
adamc@1132 597 || { echo "ERROR: files left after uninstall:" ; \
adamc@1132 598 if test -n "$(DESTDIR)"; then \
adamc@1132 599 echo " (check DESTDIR support)"; \
adamc@1132 600 fi ; \
adamc@1132 601 $(distuninstallcheck_listfiles) ; \
adamc@1132 602 exit 1; } >&2
adamc@1132 603 distcleancheck: distclean
adamc@1132 604 @if test '$(srcdir)' = . ; then \
adamc@1132 605 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
adamc@1132 606 exit 1 ; \
adamc@1132 607 fi
adamc@1132 608 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
adamc@1132 609 || { echo "ERROR: files left in build directory after distclean:" ; \
adamc@1132 610 $(distcleancheck_listfiles) ; \
adamc@1132 611 exit 1; } >&2
adamc@1132 612 check-am: all-am
adamc@1132 613 check: check-recursive
adamc@1263 614 all-am: Makefile config.h all-local
adamc@1132 615 installdirs: installdirs-recursive
adamc@1132 616 installdirs-am:
adamc@1132 617 install: install-recursive
adamc@1132 618 install-exec: install-exec-recursive
adamc@1132 619 install-data: install-data-recursive
adamc@1132 620 uninstall: uninstall-recursive
adamc@1132 621
adamc@1132 622 install-am: all-am
adamc@1132 623 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
adamc@1132 624
adamc@1132 625 installcheck: installcheck-recursive
adamc@1132 626 install-strip:
adamc@1132 627 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
adamc@1132 628 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
adamc@1132 629 `test -z '$(STRIP)' || \
adamc@1132 630 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
adamc@1132 631 mostlyclean-generic:
adamc@1132 632
adamc@1132 633 clean-generic:
adamc@1132 634
adamc@1132 635 distclean-generic:
adamc@1132 636 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
adamc@1132 637 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
adamc@1132 638
adamc@1132 639 maintainer-clean-generic:
adamc@1132 640 @echo "This command is intended for maintainers to use"
adamc@1132 641 @echo "it deletes files that may require special tools to rebuild."
adamc@1132 642 clean: clean-recursive
adamc@1132 643
adamc@1132 644 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
adamc@1132 645
adamc@1132 646 distclean: distclean-recursive
adamc@1132 647 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
adamc@1132 648 -rm -f Makefile
adamc@1263 649 distclean-am: clean-am distclean-generic distclean-hdr \
adamc@1263 650 distclean-libtool distclean-tags
adamc@1132 651
adamc@1132 652 dvi: dvi-recursive
adamc@1132 653
adamc@1132 654 dvi-am:
adamc@1132 655
adamc@1132 656 html: html-recursive
adamc@1132 657
adamc@1132 658 html-am:
adamc@1132 659
adamc@1132 660 info: info-recursive
adamc@1132 661
adamc@1132 662 info-am:
adamc@1132 663
adamc@1132 664 install-data-am:
adamc@1132 665
adamc@1132 666 install-dvi: install-dvi-recursive
adamc@1132 667
adamc@1132 668 install-dvi-am:
adamc@1132 669
adamc@1132 670 install-exec-am: install-exec-local
adamc@1132 671
adamc@1132 672 install-html: install-html-recursive
adamc@1132 673
adamc@1132 674 install-html-am:
adamc@1132 675
adamc@1132 676 install-info: install-info-recursive
adamc@1132 677
adamc@1132 678 install-info-am:
adamc@1132 679
adamc@1132 680 install-man:
adamc@1132 681
adamc@1132 682 install-pdf: install-pdf-recursive
adamc@1132 683
adamc@1132 684 install-pdf-am:
adamc@1132 685
adamc@1132 686 install-ps: install-ps-recursive
adamc@1132 687
adamc@1132 688 install-ps-am:
adamc@1132 689
adamc@1132 690 installcheck-am:
adamc@1132 691
adamc@1132 692 maintainer-clean: maintainer-clean-recursive
adamc@1132 693 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
adamc@1132 694 -rm -rf $(top_srcdir)/autom4te.cache
adamc@1132 695 -rm -f Makefile
adamc@1132 696 maintainer-clean-am: distclean-am maintainer-clean-generic
adamc@1132 697
adamc@1132 698 mostlyclean: mostlyclean-recursive
adamc@1132 699
adamc@1132 700 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
adamc@1132 701
adamc@1132 702 pdf: pdf-recursive
adamc@1132 703
adamc@1132 704 pdf-am:
adamc@1132 705
adamc@1132 706 ps: ps-recursive
adamc@1132 707
adamc@1132 708 ps-am:
adamc@1132 709
adam@1399 710 uninstall-am: uninstall-local
adamc@1132 711
adamc@1263 712 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
adamc@1263 713 ctags-recursive install-am install-strip tags-recursive
adamc@1132 714
adamc@1132 715 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
adamc@1132 716 all all-am all-local am--refresh check check-am clean \
adamc@1132 717 clean-generic clean-libtool clean-local ctags ctags-recursive \
adamc@1132 718 dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \
adamc@1132 719 dist-tarZ dist-xz dist-zip distcheck distclean \
adamc@1263 720 distclean-generic distclean-hdr distclean-libtool \
adamc@1263 721 distclean-tags distcleancheck distdir distuninstallcheck dvi \
adamc@1263 722 dvi-am html html-am info info-am install install-am \
adamc@1263 723 install-data install-data-am install-dvi install-dvi-am \
adamc@1263 724 install-exec install-exec-am install-exec-local install-html \
adamc@1132 725 install-html-am install-info install-info-am install-man \
adamc@1132 726 install-pdf install-pdf-am install-ps install-ps-am \
adamc@1132 727 install-strip installcheck installcheck-am installdirs \
adamc@1132 728 installdirs-am maintainer-clean maintainer-clean-generic \
adamc@1132 729 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
adam@1399 730 ps ps-am tags tags-recursive uninstall uninstall-am \
adam@1399 731 uninstall-local
adamc@1132 732
adamc@1132 733
adamc@1132 734 all-local: smlnj mlton
adamc@1132 735
adamc@1133 736 .PHONY: smlnj mlton package reauto
adamc@378 737
adamc@378 738 smlnj: src/urweb.cm
adamc@378 739 mlton: bin/urweb
adamc@855 740
adamc@1132 741 clean-local:
adamc@378 742 rm -f src/*.mlton.grm.* src/*.mlton.lex.* \
adamc@1132 743 src/urweb.cm src/urweb.mlb
adamc@378 744 rm -rf .cm src/.cm
adamc@378 745
adamc@378 746 src/urweb.cm: src/prefix.cm src/sources
adamc@378 747 cat src/prefix.cm src/sources \
adamc@378 748 >src/urweb.cm
adamc@378 749
adamc@378 750 src/urweb.mlb: src/prefix.mlb src/sources src/suffix.mlb
adamc@378 751 cat src/prefix.mlb src/sources src/suffix.mlb \
adamc@1159 752 | sed -e 's/^\(.*\).grm$$/\1.mlton.grm.sig:\1.mlton.grm.sml/' -e 'y/:/\n/' \
adamc@1159 753 -e 's/^\(.*\).lex$$/\1.mlton.lex.sml/' \
adamc@791 754 >$@
adamc@378 755
adamc@1154 756 src/urweb.mlton.lex: src/urweb.lex
adamc@378 757 cp $< $@
adamc@1154 758 src/urweb.mlton.grm: src/urweb.grm
adamc@378 759 cp $< $@
adamc@378 760
adamc@1154 761 src/urweb.mlton.lex.sml: src/urweb.mlton.lex
adamc@378 762 mllex $<
adamc@378 763
adamc@1154 764 src/urweb.mlton.grm.sig src/urweb.mlton.grm.sml: src/urweb.mlton.grm
adamc@378 765 mlyacc $<
adamc@378 766
adamc@1132 767 #ifdef DEBUG
adamc@1132 768 # MLTON += -const 'Exn.keepHistory true'
adamc@1132 769 #endif
adamc@378 770
adamc@1132 771 #ifdef PROFILE
adamc@1132 772 # MLTON += -profile $(PROFILE)
adamc@1132 773 #endif
adamc@507 774
adamc@791 775 bin/urweb: src/compiler.mlb src/urweb.mlb src/*.sig src/*.sml \
adamc@378 776 src/urweb.mlton.lex.sml \
adamc@378 777 src/urweb.mlton.grm.sig src/urweb.mlton.grm.sml
adamc@791 778 $(MLTON) -output $@ src/compiler.mlb
adamc@378 779
adam@1441 780 install-exec-emacs:
adam@1441 781 @USE_EMACS_TRUE@ mkdir -p $(DESTDIR)$(SITELISP)
adam@1441 782 @USE_EMACS_TRUE@ cp src/elisp/*.el $(DESTDIR)$(SITELISP)/
adam@1441 783
adam@1441 784 install-exec-local-main:
adam@1440 785 mkdir -p $(DESTDIR)$(BIN)
adam@1440 786 cp bin/urweb $(DESTDIR)$(BIN)/
adam@1440 787 mkdir -p $(DESTDIR)$(LIB_UR)
adam@1440 788 cp lib/ur/*.urs $(DESTDIR)$(LIB_UR)/
adam@1440 789 cp lib/ur/*.ur $(DESTDIR)$(LIB_UR)/
adam@1440 790 mkdir -p $(DESTDIR)$(LIB_JS)
adam@1440 791 cp lib/js/*.js $(DESTDIR)$(LIB_JS)/
adam@1440 792 mkdir -p $(DESTDIR)$(INCLUDE)
adam@1440 793 cp config.h $(DESTDIR)$(INCLUDE)/
adam@1440 794 cp include/*.h $(DESTDIR)$(INCLUDE)/
adam@1441 795
adam@1441 796 install-exec-local: install-exec-local-main install-exec-emacs
adamc@1134 797 -ldconfig
adamc@427 798
adam@1441 799 uninstall-emacs:
adam@1441 800 @USE_EMACS_TRUE@ rm -f $(DESTDIR)$(SITELISP)/urweb-compat.el $(DESTDIR)$(SITELISP)/urweb-mode.el $(DESTDIR)$(SITELISP)/urweb-move.el \
adam@1441 801 @USE_EMACS_TRUE@ $(DESTDIR)$(SITELISP)/urweb-defs.el $(DESTDIR)$(SITELISP)/urweb-mode-startup.el $(DESTDIR)$(SITELISP)/urweb-util.el
adam@1441 802
adam@1441 803 uninstall-local-main:
adam@1440 804 rm -f $(DESTDIR)$(BIN)/urweb \
adam@1440 805 $(DESTDIR)$(LIB_UR)/basis.urs $(DESTDIR)$(LIB_UR)/char.urs $(DESTDIR)$(LIB_UR)/listPair.urs $(DESTDIR)$(LIB_UR)/list.urs \
adam@1440 806 $(DESTDIR)$(LIB_UR)/monad.urs $(DESTDIR)$(LIB_UR)/option.urs $(DESTDIR)$(LIB_UR)/string.urs $(DESTDIR)$(LIB_UR)/top.urs \
adam@1440 807 $(DESTDIR)$(LIB_UR)/char.ur $(DESTDIR)$(LIB_UR)/listPair.ur $(DESTDIR)$(LIB_UR)/list.ur \
adam@1440 808 $(DESTDIR)$(LIB_UR)/monad.ur $(DESTDIR)$(LIB_UR)/option.ur $(DESTDIR)$(LIB_UR)/string.ur $(DESTDIR)$(LIB_UR)/top.ur \
adam@1440 809 $(DESTDIR)$(LIB_JS)/urweb.js \
adam@1440 810 $(DESTDIR)$(INCLUDE)/config.h $(DESTDIR)$(INCLUDE)/queue.h $(DESTDIR)$(INCLUDE)/request.h $(DESTDIR)$(INCLUDE)/types.h \
adam@1441 811 $(DESTDIR)$(INCLUDE)/urweb.h
adam@1441 812
adam@1441 813 uninstall-local: uninstall-local-main uninstall-emacs
adam@1399 814
adamc@427 815 package:
adamc@427 816 hg archive -t tgz -X tests /tmp/urweb.tgz
adamc@1132 817
adamc@1133 818 reauto:
adamc@1136 819 -autoreconf
adamc@1133 820 libtoolize -cf
adamc@1133 821 automake --add-missing --force-missing --copy
adamc@1133 822 autoreconf
adamc@1133 823
adamc@1132 824 # Tell versions [3.59,3.63) of GNU make to not export all variables.
adamc@1132 825 # Otherwise a system limit (for SysV at least) may be exceeded.
adamc@1132 826 .NOEXPORT: