annotate Makefile.in @ 1816:ae8b0e05522a

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