comparison Makefile.in @ 1739:c414850f206f

Add support for -boot flag, which allows in-tree execution of Ur/Web The boot flag rewrites most hardcoded paths to point to the build directory, and also forces static compilation. This is convenient for developing Ur/Web, or if you cannot 'sudo make install' Ur/Web. The following changes were made: * Header files were moved to include/urweb instead of include; this lets FFI users point their C_INCLUDE_PATH at this directory at write <urweb/urweb.h>. For internal Ur/Web executables, we simply pass -I$PATH/include/urweb as normal. * Differentiate between LIB and SRCLIB; SRCLIB is Ur and JavaScript source files, while LIB is compiled products from libtool. For in-tree compilation these live in different places. * No longer reference Config for paths; instead use Settings; these settings can be changed dynamically by Compiler.enableBoot () (TODO: add a disableBoot function.) * config.h is now generated directly in include/urweb/config.h, for consistency's sake (especially since it gets installed along with the rest of the headers!) * All of the autotools build products got updated. * The linkStatic field in protocols now only contains the name of the build product, and not the absolute path. Future users have to be careful not to reference the Settings files to early, lest they get an old version (this was the source of two bugs during development of this patch.)
author Edward Z. Yang <ezyang@mit.edu>
date Wed, 02 May 2012 17:17:57 -0400
parents ab24a7cb2a64
children d2ec62c5ad81
comparison
equal deleted inserted replaced
1738:1a35e75b6967 1739:c414850f206f
1 # Makefile.in generated by automake 1.11.3 from Makefile.am. 1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@ 2 # @configure_input@
3 3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Foundation, Inc. 6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation 7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it, 8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved. 9 # with or without modifications, as long as this notice is preserved.
10 10
11 # This program is distributed in the hope that it will be useful, 11 # This program is distributed in the hope that it will be useful,
33 POST_UNINSTALL = : 33 POST_UNINSTALL = :
34 build_triplet = @build@ 34 build_triplet = @build@
35 host_triplet = @host@ 35 host_triplet = @host@
36 subdir = . 36 subdir = .
37 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ 37 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 38 $(srcdir)/Makefile.in $(top_srcdir)/configure \
39 $(top_srcdir)/configure $(top_srcdir)/src/config.sml.in \ 39 $(top_srcdir)/include/urweb/config.h.in \
40 config.guess config.sub depcomp install-sh ltmain.sh missing 40 $(top_srcdir)/src/config.sml.in config.guess config.sub \
41 depcomp install-sh ltmain.sh missing
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_openssl.m4 \ 43 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_openssl.m4 \
43 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 44 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
44 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 45 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
45 $(top_srcdir)/m4/lt~obsolete.m4 \ 46 $(top_srcdir)/m4/lt~obsolete.m4 \
47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48 $(ACLOCAL_M4) 49 $(ACLOCAL_M4)
49 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 50 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50 configure.lineno config.status.lineno 51 configure.lineno config.status.lineno
51 mkinstalldirs = $(install_sh) -d 52 mkinstalldirs = $(install_sh) -d
52 CONFIG_HEADER = config.h 53 CONFIG_HEADER = $(top_builddir)/include/urweb/config.h
53 CONFIG_CLEAN_FILES = src/config.sml 54 CONFIG_CLEAN_FILES = src/config.sml
54 CONFIG_CLEAN_VPATH_FILES = 55 CONFIG_CLEAN_VPATH_FILES =
55 SOURCES = 56 SOURCES =
56 DIST_SOURCES = 57 DIST_SOURCES =
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 58 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
71 DIST_SUBDIRS = $(SUBDIRS) 72 DIST_SUBDIRS = $(SUBDIRS)
72 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 73 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73 distdir = $(PACKAGE)-$(VERSION) 74 distdir = $(PACKAGE)-$(VERSION)
74 top_distdir = $(distdir) 75 top_distdir = $(distdir)
75 am__remove_distdir = \ 76 am__remove_distdir = \
76 if test -d "$(distdir)"; then \ 77 { test ! -d "$(distdir)" \
77 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ 78 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
78 && rm -rf "$(distdir)" \ 79 && rm -fr "$(distdir)"; }; }
79 || { sleep 5 && rm -rf "$(distdir)"; }; \
80 else :; fi
81 am__relativize = \ 80 am__relativize = \
82 dir0=`pwd`; \ 81 dir0=`pwd`; \
83 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 82 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
84 sed_rest='s,^[^/]*/*,,'; \ 83 sed_rest='s,^[^/]*/*,,'; \
85 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 84 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
104 done; \ 103 done; \
105 reldir="$$dir2" 104 reldir="$$dir2"
106 DIST_ARCHIVES = $(distdir).tar.gz 105 DIST_ARCHIVES = $(distdir).tar.gz
107 GZIP_ENV = --best 106 GZIP_ENV = --best
108 distuninstallcheck_listfiles = find . -type f -print 107 distuninstallcheck_listfiles = find . -type f -print
109 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
110 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
111 distcleancheck_listfiles = find . -type f -print 108 distcleancheck_listfiles = find . -type f -print
112 ACLOCAL = @ACLOCAL@ 109 ACLOCAL = @ACLOCAL@
113 AMTAR = @AMTAR@ 110 AMTAR = @AMTAR@
114 AR = @AR@ 111 AR = @AR@
115 AUTOCONF = @AUTOCONF@ 112 AUTOCONF = @AUTOCONF@
184 SED = @SED@ 181 SED = @SED@
185 SET_MAKE = @SET_MAKE@ 182 SET_MAKE = @SET_MAKE@
186 SHELL = @SHELL@ 183 SHELL = @SHELL@
187 SITELISP := @SITELISP@ 184 SITELISP := @SITELISP@
188 SQHEADER = @SQHEADER@ 185 SQHEADER = @SQHEADER@
186 SRCLIB = @SRCLIB@
189 STRIP = @STRIP@ 187 STRIP = @STRIP@
190 VERSION := @VERSION@ 188 VERSION := @VERSION@
191 abs_builddir = @abs_builddir@ 189 abs_builddir = @abs_builddir@
192 abs_srcdir = @abs_srcdir@ 190 abs_srcdir = @abs_srcdir@
193 abs_top_builddir = @abs_top_builddir@ 191 abs_top_builddir = @abs_top_builddir@
244 ACLOCAL_AMFLAGS = -I m4 242 ACLOCAL_AMFLAGS = -I m4
245 LIB_UR := $(LIB)/ur 243 LIB_UR := $(LIB)/ur
246 LIB_C := $(LIB)/c 244 LIB_C := $(LIB)/c
247 LIB_JS := $(LIB)/js 245 LIB_JS := $(LIB)/js
248 SUBDIRS = src/c 246 SUBDIRS = src/c
249 all: config.h 247 all: all-recursive
250 $(MAKE) $(AM_MAKEFLAGS) all-recursive
251 248
252 .SUFFIXES: 249 .SUFFIXES:
253 am--refresh: Makefile 250 am--refresh:
254 @: 251 @:
255 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 252 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
256 @for dep in $?; do \ 253 @for dep in $?; do \
257 case '$(am__configure_deps)' in \ 254 case '$(am__configure_deps)' in \
258 *$$dep*) \ 255 *$$dep*) \
283 $(am__cd) $(srcdir) && $(AUTOCONF) 280 $(am__cd) $(srcdir) && $(AUTOCONF)
284 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 281 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
285 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 282 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
286 $(am__aclocal_m4_deps): 283 $(am__aclocal_m4_deps):
287 284
288 config.h: stamp-h1 285 include/urweb/config.h: include/urweb/stamp-h1
289 @if test ! -f $@; then rm -f stamp-h1; else :; fi 286 @if test ! -f $@; then \
290 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi 287 rm -f include/urweb/stamp-h1; \
291 288 $(MAKE) $(AM_MAKEFLAGS) include/urweb/stamp-h1; \
292 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 289 else :; fi
293 @rm -f stamp-h1 290
294 cd $(top_builddir) && $(SHELL) ./config.status config.h 291 include/urweb/stamp-h1: $(top_srcdir)/include/urweb/config.h.in $(top_builddir)/config.status
295 $(srcdir)/config.h.in: $(am__configure_deps) 292 @rm -f include/urweb/stamp-h1
293 cd $(top_builddir) && $(SHELL) ./config.status include/urweb/config.h
294 $(top_srcdir)/include/urweb/config.h.in: $(am__configure_deps)
296 ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) 295 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
297 rm -f stamp-h1 296 rm -f include/urweb/stamp-h1
298 touch $@ 297 touch $@
299 298
300 distclean-hdr: 299 distclean-hdr:
301 -rm -f config.h stamp-h1 300 -rm -f include/urweb/config.h include/urweb/stamp-h1
302 src/config.sml: $(top_builddir)/config.status $(top_srcdir)/src/config.sml.in 301 src/config.sml: $(top_builddir)/config.status $(top_srcdir)/src/config.sml.in
303 cd $(top_builddir) && $(SHELL) ./config.status $@ 302 cd $(top_builddir) && $(SHELL) ./config.status $@
304 303
305 mostlyclean-libtool: 304 mostlyclean-libtool:
306 -rm -f *.lo 305 -rm -f *.lo
389 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 388 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
390 END { if (nonempty) { for (i in files) print i; }; }'`; \ 389 END { if (nonempty) { for (i in files) print i; }; }'`; \
391 mkid -fID $$unique 390 mkid -fID $$unique
392 tags: TAGS 391 tags: TAGS
393 392
394 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 393 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
395 $(TAGS_FILES) $(LISP) 394 $(TAGS_FILES) $(LISP)
396 set x; \ 395 set x; \
397 here=`pwd`; \ 396 here=`pwd`; \
398 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 397 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
399 include_option=--etags-include; \ 398 include_option=--etags-include; \
406 if test "$$subdir" = .; then :; else \ 405 if test "$$subdir" = .; then :; else \
407 test ! -f $$subdir/TAGS || \ 406 test ! -f $$subdir/TAGS || \
408 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 407 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
409 fi; \ 408 fi; \
410 done; \ 409 done; \
411 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 410 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
412 unique=`for i in $$list; do \ 411 unique=`for i in $$list; do \
413 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 412 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
414 done | \ 413 done | \
415 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 414 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
416 END { if (nonempty) { for (i in files) print i; }; }'`; \ 415 END { if (nonempty) { for (i in files) print i; }; }'`; \
424 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 423 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
425 $$unique; \ 424 $$unique; \
426 fi; \ 425 fi; \
427 fi 426 fi
428 ctags: CTAGS 427 ctags: CTAGS
429 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 428 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
430 $(TAGS_FILES) $(LISP) 429 $(TAGS_FILES) $(LISP)
431 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
432 unique=`for i in $$list; do \ 431 unique=`for i in $$list; do \
433 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
434 done | \ 433 done | \
435 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 434 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
436 END { if (nonempty) { for (i in files) print i; }; }'`; \ 435 END { if (nonempty) { for (i in files) print i; }; }'`; \
516 dist-gzip: distdir 515 dist-gzip: distdir
517 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 516 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
518 $(am__remove_distdir) 517 $(am__remove_distdir)
519 518
520 dist-bzip2: distdir 519 dist-bzip2: distdir
521 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 520 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
522 $(am__remove_distdir)
523
524 dist-lzip: distdir
525 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
526 $(am__remove_distdir) 521 $(am__remove_distdir)
527 522
528 dist-lzma: distdir 523 dist-lzma: distdir
529 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 524 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
530 $(am__remove_distdir) 525 $(am__remove_distdir)
531 526
532 dist-xz: distdir 527 dist-xz: distdir
533 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 528 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
534 $(am__remove_distdir) 529 $(am__remove_distdir)
535 530
536 dist-tarZ: distdir 531 dist-tarZ: distdir
537 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 532 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
538 $(am__remove_distdir) 533 $(am__remove_distdir)
559 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ 554 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
560 *.tar.bz2*) \ 555 *.tar.bz2*) \
561 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ 556 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
562 *.tar.lzma*) \ 557 *.tar.lzma*) \
563 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ 558 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
564 *.tar.lz*) \
565 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
566 *.tar.xz*) \ 559 *.tar.xz*) \
567 xz -dc $(distdir).tar.xz | $(am__untar) ;;\ 560 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
568 *.tar.Z*) \ 561 *.tar.Z*) \
569 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 562 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
570 *.shar.gz*) \ 563 *.shar.gz*) \
580 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 573 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
581 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 574 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
582 && am__cwd=`pwd` \ 575 && am__cwd=`pwd` \
583 && $(am__cd) $(distdir)/_build \ 576 && $(am__cd) $(distdir)/_build \
584 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 577 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
585 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
586 $(DISTCHECK_CONFIGURE_FLAGS) \ 578 $(DISTCHECK_CONFIGURE_FLAGS) \
587 && $(MAKE) $(AM_MAKEFLAGS) \ 579 && $(MAKE) $(AM_MAKEFLAGS) \
588 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 580 && $(MAKE) $(AM_MAKEFLAGS) dvi \
589 && $(MAKE) $(AM_MAKEFLAGS) check \ 581 && $(MAKE) $(AM_MAKEFLAGS) check \
590 && $(MAKE) $(AM_MAKEFLAGS) install \ 582 && $(MAKE) $(AM_MAKEFLAGS) install \
609 $(am__remove_distdir) 601 $(am__remove_distdir)
610 @(echo "$(distdir) archives ready for distribution: "; \ 602 @(echo "$(distdir) archives ready for distribution: "; \
611 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 603 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
612 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 604 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
613 distuninstallcheck: 605 distuninstallcheck:
614 @test -n '$(distuninstallcheck_dir)' || { \ 606 @$(am__cd) '$(distuninstallcheck_dir)' \
615 echo 'ERROR: trying to run $@ with an empty' \ 607 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
616 '$$(distuninstallcheck_dir)' >&2; \
617 exit 1; \
618 }; \
619 $(am__cd) '$(distuninstallcheck_dir)' || { \
620 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
621 exit 1; \
622 }; \
623 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
624 || { echo "ERROR: files left after uninstall:" ; \ 608 || { echo "ERROR: files left after uninstall:" ; \
625 if test -n "$(DESTDIR)"; then \ 609 if test -n "$(DESTDIR)"; then \
626 echo " (check DESTDIR support)"; \ 610 echo " (check DESTDIR support)"; \
627 fi ; \ 611 fi ; \
628 $(distuninstallcheck_listfiles) ; \ 612 $(distuninstallcheck_listfiles) ; \
636 || { echo "ERROR: files left in build directory after distclean:" ; \ 620 || { echo "ERROR: files left in build directory after distclean:" ; \
637 $(distcleancheck_listfiles) ; \ 621 $(distcleancheck_listfiles) ; \
638 exit 1; } >&2 622 exit 1; } >&2
639 check-am: all-am 623 check-am: all-am
640 check: check-recursive 624 check: check-recursive
641 all-am: Makefile config.h all-local 625 all-am: Makefile all-local
642 installdirs: installdirs-recursive 626 installdirs: installdirs-recursive
643 installdirs-am: 627 installdirs-am:
644 install: install-recursive 628 install: install-recursive
645 install-exec: install-exec-recursive 629 install-exec: install-exec-recursive
646 install-data: install-data-recursive 630 install-data: install-data-recursive
649 install-am: all-am 633 install-am: all-am
650 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 634 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
651 635
652 installcheck: installcheck-recursive 636 installcheck: installcheck-recursive
653 install-strip: 637 install-strip:
654 if test -z '$(STRIP)'; then \ 638 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
655 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 639 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
656 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 640 `test -z '$(STRIP)' || \
657 install; \ 641 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
658 else \
659 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
660 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
661 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
662 fi
663 mostlyclean-generic: 642 mostlyclean-generic:
664 643
665 clean-generic: 644 clean-generic:
666 645
667 distclean-generic: 646 distclean-generic:
739 718
740 ps-am: 719 ps-am:
741 720
742 uninstall-am: uninstall-local 721 uninstall-am: uninstall-local
743 722
744 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ 723 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
745 ctags-recursive install-am install-strip tags-recursive 724 install-am install-strip tags-recursive
746 725
747 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 726 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
748 all all-am all-local am--refresh check check-am clean \ 727 all all-am all-local am--refresh check check-am clean \
749 clean-generic clean-libtool clean-local ctags ctags-recursive \ 728 clean-generic clean-libtool clean-local ctags ctags-recursive \
750 dist dist-all dist-bzip2 dist-gzip dist-lzip dist-lzma \ 729 dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \
751 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ 730 dist-tarZ dist-xz dist-zip distcheck distclean \
752 distclean-generic distclean-hdr distclean-libtool \ 731 distclean-generic distclean-hdr distclean-libtool \
753 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 732 distclean-tags distcleancheck distdir distuninstallcheck dvi \
754 dvi-am html html-am info info-am install install-am \ 733 dvi-am html html-am info info-am install install-am \
755 install-data install-data-am install-dvi install-dvi-am \ 734 install-data install-data-am install-dvi install-dvi-am \
756 install-exec install-exec-am install-exec-local install-html \ 735 install-exec install-exec-am install-exec-local install-html \
827 cp lib/ur/*.urs $(DESTDIR)$(LIB_UR)/ 806 cp lib/ur/*.urs $(DESTDIR)$(LIB_UR)/
828 cp lib/ur/*.ur $(DESTDIR)$(LIB_UR)/ 807 cp lib/ur/*.ur $(DESTDIR)$(LIB_UR)/
829 mkdir -p $(DESTDIR)$(LIB_JS) 808 mkdir -p $(DESTDIR)$(LIB_JS)
830 cp lib/js/*.js $(DESTDIR)$(LIB_JS)/ 809 cp lib/js/*.js $(DESTDIR)$(LIB_JS)/
831 mkdir -p $(DESTDIR)$(INCLUDE) 810 mkdir -p $(DESTDIR)$(INCLUDE)
832 cp config.h $(DESTDIR)$(INCLUDE)/ 811 cp include/urweb/*.h $(DESTDIR)$(INCLUDE)/
833 cp include/*.h $(DESTDIR)$(INCLUDE)/
834 812
835 install-exec-local: install-exec-local-main install-exec-emacs 813 install-exec-local: install-exec-local-main install-exec-emacs
836 -ldconfig 814 -ldconfig
837 815
838 uninstall-emacs: 816 uninstall-emacs: