1# Makefile.in generated by automake 1.10 from Makefile.am. 2# @configure_input@ 3 4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6# This Makefile.in is free software; the Free Software Foundation 7# gives unlimited permission to copy and/or distribute it, 8# with or without modifications, as long as this notice is preserved. 9 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13# PARTICULAR PURPOSE. 14 15@SET_MAKE@ 16 17# Makefile.am for The Machine Emulator bus/multibus/: 18 19# $Id: modules,v 1.1 2003/05/16 21:48:04 fredette Exp $ 20 21# Copyright (c) 2003 Matt Fredette 22# All rights reserved. 23# 24# Redistribution and use in source and binary forms, with or without 25# modification, are permitted provided that the following conditions 26# are met: 27# 1. Redistributions of source code must retain the above copyright 28# notice, this list of conditions and the following disclaimer. 29# 2. Redistributions in binary form must reproduce the above copyright 30# notice, this list of conditions and the following disclaimer in the 31# documentation and/or other materials provided with the distribution. 32# 3. All advertising materials mentioning features or use of this software 33# must display the following acknowledgement: 34# This product includes software developed by Matt Fredette. 35# 4. The name of the author may not be used to endorse or promote products 36# derived from this software without specific prior written permission. 37# 38# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 39# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 40# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 42# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 43# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 44# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 45# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 46# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 47# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 48# POSSIBILITY OF SUCH DAMAGE. 49 50VPATH = @srcdir@ 51pkgdatadir = $(datadir)/@PACKAGE@ 52pkglibdir = $(libdir)/@PACKAGE@ 53pkgincludedir = $(includedir)/@PACKAGE@ 54am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 55install_sh_DATA = $(install_sh) -c -m 644 56install_sh_PROGRAM = $(install_sh) -c 57install_sh_SCRIPT = $(install_sh) -c 58INSTALL_HEADER = $(INSTALL_DATA) 59transform = $(program_transform_name) 60NORMAL_INSTALL = : 61PRE_INSTALL = : 62POST_INSTALL = : 63NORMAL_UNINSTALL = : 64PRE_UNINSTALL = : 65POST_UNINSTALL = : 66build_triplet = @build@ 67host_triplet = @host@ 68target_triplet = @target@ 69DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 70 $(top_srcdir)/modules 71subdir = bus/multibus 72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 73am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 74 $(top_srcdir)/configure.in 75am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 76 $(ACLOCAL_M4) 77mkinstalldirs = $(install_sh) -d 78CONFIG_HEADER = $(top_builddir)/config.h 79CONFIG_CLEAN_FILES = 80am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 81am__vpath_adj = case $$p in \ 82 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 83 *) f=$$p;; \ 84 esac; 85am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 86am__installdirs = "$(DESTDIR)$(pkglibdir)" 87pkglibLTLIBRARIES_INSTALL = $(INSTALL) 88LTLIBRARIES = $(pkglib_LTLIBRARIES) 89tme_bus_multibus_la_DEPENDENCIES = $(top_builddir)/libtme/libtme.la \ 90 $(top_builddir)/generic/libtme-generic.la 91am_tme_bus_multibus_la_OBJECTS = 3c400.lo sun-mie.lo sun-sc.lo 92tme_bus_multibus_la_OBJECTS = $(am_tme_bus_multibus_la_OBJECTS) 93tme_bus_multibus_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 94 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 95 $(tme_bus_multibus_la_LDFLAGS) $(LDFLAGS) -o $@ 96DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ 97depcomp = $(SHELL) $(top_srcdir)/depcomp 98am__depfiles_maybe = depfiles 99COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 100 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 101LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 102 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 103 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 104CCLD = $(CC) 105LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 106 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 107 $(LDFLAGS) -o $@ 108SOURCES = $(tme_bus_multibus_la_SOURCES) 109DIST_SOURCES = $(tme_bus_multibus_la_SOURCES) 110ETAGS = etags 111CTAGS = ctags 112DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 113ACLOCAL = @ACLOCAL@ 114AMTAR = @AMTAR@ 115AR = @AR@ 116AUTOCONF = @AUTOCONF@ 117AUTOHEADER = @AUTOHEADER@ 118AUTOMAKE = @AUTOMAKE@ 119AWK = @AWK@ 120CC = @CC@ 121CCDEPMODE = @CCDEPMODE@ 122CFLAGS = @CFLAGS@ 123CFLAGS_NO_STRICT_ALIASING = @CFLAGS_NO_STRICT_ALIASING@ 124CPP = @CPP@ 125CPPFLAGS = @CPPFLAGS@ 126CXX = @CXX@ 127CXXCPP = @CXXCPP@ 128CXXDEPMODE = @CXXDEPMODE@ 129CXXFLAGS = @CXXFLAGS@ 130CYGPATH_W = @CYGPATH_W@ 131DEFS = @DEFS@ 132DEPDIR = @DEPDIR@ 133ECHO = @ECHO@ 134ECHO_C = @ECHO_C@ 135ECHO_N = @ECHO_N@ 136ECHO_T = @ECHO_T@ 137EGREP = @EGREP@ 138EXEEXT = @EXEEXT@ 139F77 = @F77@ 140FFLAGS = @FFLAGS@ 141GREP = @GREP@ 142GTK_CFLAGS = @GTK_CFLAGS@ 143GTK_LIBS = @GTK_LIBS@ 144INCLTDL = @INCLTDL@ 145INSTALL = @INSTALL@ 146INSTALL_DATA = @INSTALL_DATA@ 147INSTALL_PROGRAM = @INSTALL_PROGRAM@ 148INSTALL_SCRIPT = @INSTALL_SCRIPT@ 149INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 150LDFLAGS = @LDFLAGS@ 151LIBLTDL = @LIBLTDL@ 152LIBOBJS = @LIBOBJS@ 153LIBS = @LIBS@ 154LIBTOOL = @LIBTOOL@ 155LN_S = @LN_S@ 156LTLIBOBJS = @LTLIBOBJS@ 157MAKEINFO = @MAKEINFO@ 158MKDIR_P = @MKDIR_P@ 159OBJEXT = @OBJEXT@ 160PACKAGE = @PACKAGE@ 161PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 162PACKAGE_NAME = @PACKAGE_NAME@ 163PACKAGE_STRING = @PACKAGE_STRING@ 164PACKAGE_TARNAME = @PACKAGE_TARNAME@ 165PACKAGE_VERSION = @PACKAGE_VERSION@ 166PATH_SEPARATOR = @PATH_SEPARATOR@ 167PERL = @PERL@ 168PKG_CONFIG = @PKG_CONFIG@ 169RANLIB = @RANLIB@ 170SED = @SED@ 171SET_MAKE = @SET_MAKE@ 172SHELL = @SHELL@ 173STRIP = @STRIP@ 174TME_BUS_SUBDIRS = @TME_BUS_SUBDIRS@ 175TME_FB_XLAT_DST = @TME_FB_XLAT_DST@ 176TME_FB_XLAT_SRC = @TME_FB_XLAT_SRC@ 177TME_HOSTS = @TME_HOSTS@ 178TME_ICS = @TME_ICS@ 179TME_IC_SUBDIRS = @TME_IC_SUBDIRS@ 180TME_MACHINE_SUBDIRS = @TME_MACHINE_SUBDIRS@ 181TME_PREOPEN = @TME_PREOPEN@ 182TME_SERIALS = @TME_SERIALS@ 183TME_SERIAL_SUBDIRS = @TME_SERIAL_SUBDIRS@ 184VERSION = @VERSION@ 185XMKMF = @XMKMF@ 186X_CFLAGS = @X_CFLAGS@ 187X_EXTRA_LIBS = @X_EXTRA_LIBS@ 188X_LIBS = @X_LIBS@ 189X_PRE_LIBS = @X_PRE_LIBS@ 190YACC = @YACC@ 191YFLAGS = @YFLAGS@ 192abs_builddir = @abs_builddir@ 193abs_srcdir = @abs_srcdir@ 194abs_top_builddir = @abs_top_builddir@ 195abs_top_srcdir = @abs_top_srcdir@ 196ac_ct_CC = @ac_ct_CC@ 197ac_ct_CXX = @ac_ct_CXX@ 198ac_ct_F77 = @ac_ct_F77@ 199am__include = @am__include@ 200am__leading_dot = @am__leading_dot@ 201am__quote = @am__quote@ 202am__tar = @am__tar@ 203am__untar = @am__untar@ 204bindir = @bindir@ 205build = @build@ 206build_alias = @build_alias@ 207build_cpu = @build_cpu@ 208build_os = @build_os@ 209build_vendor = @build_vendor@ 210builddir = @builddir@ 211datadir = @datadir@ 212datarootdir = @datarootdir@ 213docdir = @docdir@ 214dvidir = @dvidir@ 215exec_prefix = @exec_prefix@ 216host = @host@ 217host_alias = @host_alias@ 218host_cpu = @host_cpu@ 219host_os = @host_os@ 220host_vendor = @host_vendor@ 221htmldir = @htmldir@ 222includedir = @includedir@ 223infodir = @infodir@ 224install_sh = @install_sh@ 225libdir = @libdir@ 226libexecdir = @libexecdir@ 227localedir = @localedir@ 228localstatedir = @localstatedir@ 229mandir = @mandir@ 230mkdir_p = @mkdir_p@ 231oldincludedir = @oldincludedir@ 232pdfdir = @pdfdir@ 233prefix = @prefix@ 234program_transform_name = @program_transform_name@ 235psdir = @psdir@ 236sbindir = @sbindir@ 237sharedstatedir = @sharedstatedir@ 238srcdir = @srcdir@ 239subdirs = @subdirs@ 240sysconfdir = @sysconfdir@ 241target = @target@ 242target_alias = @target_alias@ 243target_cpu = @target_cpu@ 244target_os = @target_os@ 245target_vendor = @target_vendor@ 246top_builddir = @top_builddir@ 247top_srcdir = @top_srcdir@ 248AUTOMAKE_OPTIONS = 1.4 gnu 249INCLUDES = -I$(top_srcdir) -I$(srcdir) -I. -D_TME_IMPL 250pkglib_LTLIBRARIES = tme_bus_multibus.la 251tme_bus_multibus_la_SOURCES = 3c400.c \ 252 sun-mie.c \ 253 sun-sc.c 254 255tme_bus_multibus_la_LDFLAGS = -module -version-info 0:0:0 256tme_bus_multibus_la_LIBADD = $(top_builddir)/libtme/libtme.la \ 257 $(top_builddir)/generic/libtme-generic.la 258 259all: all-am 260 261.SUFFIXES: 262.SUFFIXES: .c .lo .o .obj 263$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/modules $(am__configure_deps) 264 @for dep in $?; do \ 265 case '$(am__configure_deps)' in \ 266 *$$dep*) \ 267 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 268 && exit 0; \ 269 exit 1;; \ 270 esac; \ 271 done; \ 272 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bus/multibus/Makefile'; \ 273 cd $(top_srcdir) && \ 274 $(AUTOMAKE) --gnu bus/multibus/Makefile 275.PRECIOUS: Makefile 276Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 277 @case '$?' in \ 278 *config.status*) \ 279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 280 *) \ 281 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 282 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 283 esac; 284 285$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 286 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 287 288$(top_srcdir)/configure: $(am__configure_deps) 289 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 290$(ACLOCAL_M4): $(am__aclocal_m4_deps) 291 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 292install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) 293 @$(NORMAL_INSTALL) 294 test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" 295 @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ 296 if test -f $$p; then \ 297 f=$(am__strip_dir) \ 298 echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ 299 $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ 300 else :; fi; \ 301 done 302 303uninstall-pkglibLTLIBRARIES: 304 @$(NORMAL_UNINSTALL) 305 @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ 306 p=$(am__strip_dir) \ 307 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \ 308 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \ 309 done 310 311clean-pkglibLTLIBRARIES: 312 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) 313 @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ 314 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 315 test "$$dir" != "$$p" || dir=.; \ 316 echo "rm -f \"$${dir}/so_locations\""; \ 317 rm -f "$${dir}/so_locations"; \ 318 done 319tme_bus_multibus.la: $(tme_bus_multibus_la_OBJECTS) $(tme_bus_multibus_la_DEPENDENCIES) 320 $(tme_bus_multibus_la_LINK) -rpath $(pkglibdir) $(tme_bus_multibus_la_OBJECTS) $(tme_bus_multibus_la_LIBADD) $(LIBS) 321 322mostlyclean-compile: 323 -rm -f *.$(OBJEXT) 324 325distclean-compile: 326 -rm -f *.tab.c 327 328@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/3c400.Plo@am__quote@ 329@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sun-mie.Plo@am__quote@ 330@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sun-sc.Plo@am__quote@ 331 332.c.o: 333@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 334@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 335@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 336@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 337@am__fastdepCC_FALSE@ $(COMPILE) -c $< 338 339.c.obj: 340@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 341@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 342@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 343@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 344@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 345 346.c.lo: 347@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 348@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo 349@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 350@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 351@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 352 353mostlyclean-libtool: 354 -rm -f *.lo 355 356clean-libtool: 357 -rm -rf .libs _libs 358 359ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 360 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 361 unique=`for i in $$list; do \ 362 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 363 done | \ 364 $(AWK) ' { files[$$0] = 1; } \ 365 END { for (i in files) print i; }'`; \ 366 mkid -fID $$unique 367tags: TAGS 368 369TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 370 $(TAGS_FILES) $(LISP) 371 tags=; \ 372 here=`pwd`; \ 373 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 374 unique=`for i in $$list; do \ 375 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 376 done | \ 377 $(AWK) ' { files[$$0] = 1; } \ 378 END { for (i in files) print i; }'`; \ 379 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 380 test -n "$$unique" || unique=$$empty_fix; \ 381 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 382 $$tags $$unique; \ 383 fi 384ctags: CTAGS 385CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 386 $(TAGS_FILES) $(LISP) 387 tags=; \ 388 here=`pwd`; \ 389 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 390 unique=`for i in $$list; do \ 391 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 392 done | \ 393 $(AWK) ' { files[$$0] = 1; } \ 394 END { for (i in files) print i; }'`; \ 395 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 396 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 397 $$tags $$unique 398 399GTAGS: 400 here=`$(am__cd) $(top_builddir) && pwd` \ 401 && cd $(top_srcdir) \ 402 && gtags -i $(GTAGS_ARGS) $$here 403 404distclean-tags: 405 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 406 407distdir: $(DISTFILES) 408 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 409 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 410 list='$(DISTFILES)'; \ 411 dist_files=`for file in $$list; do echo $$file; done | \ 412 sed -e "s|^$$srcdirstrip/||;t" \ 413 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 414 case $$dist_files in \ 415 */*) $(MKDIR_P) `echo "$$dist_files" | \ 416 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 417 sort -u` ;; \ 418 esac; \ 419 for file in $$dist_files; do \ 420 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 421 if test -d $$d/$$file; then \ 422 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 423 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 424 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 425 fi; \ 426 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 427 else \ 428 test -f $(distdir)/$$file \ 429 || cp -p $$d/$$file $(distdir)/$$file \ 430 || exit 1; \ 431 fi; \ 432 done 433check-am: all-am 434check: check-am 435all-am: Makefile $(LTLIBRARIES) all-local 436installdirs: 437 for dir in "$(DESTDIR)$(pkglibdir)"; do \ 438 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 439 done 440install: install-am 441install-exec: install-exec-am 442install-data: install-data-am 443uninstall: uninstall-am 444 445install-am: all-am 446 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 447 448installcheck: installcheck-am 449install-strip: 450 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 451 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 452 `test -z '$(STRIP)' || \ 453 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 454mostlyclean-generic: 455 456clean-generic: 457 458distclean-generic: 459 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 460 461maintainer-clean-generic: 462 @echo "This command is intended for maintainers to use" 463 @echo "it deletes files that may require special tools to rebuild." 464clean: clean-am 465 466clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ 467 mostlyclean-am 468 469distclean: distclean-am 470 -rm -rf ./$(DEPDIR) 471 -rm -f Makefile 472distclean-am: clean-am distclean-compile distclean-generic \ 473 distclean-tags 474 475dvi: dvi-am 476 477dvi-am: 478 479html: html-am 480 481info: info-am 482 483info-am: 484 485install-data-am: 486 487install-dvi: install-dvi-am 488 489install-exec-am: install-pkglibLTLIBRARIES 490 491install-html: install-html-am 492 493install-info: install-info-am 494 495install-man: 496 497install-pdf: install-pdf-am 498 499install-ps: install-ps-am 500 501installcheck-am: 502 503maintainer-clean: maintainer-clean-am 504 -rm -rf ./$(DEPDIR) 505 -rm -f Makefile 506maintainer-clean-am: distclean-am maintainer-clean-generic 507 508mostlyclean: mostlyclean-am 509 510mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 511 mostlyclean-libtool 512 513pdf: pdf-am 514 515pdf-am: 516 517ps: ps-am 518 519ps-am: 520 521uninstall-am: uninstall-pkglibLTLIBRARIES 522 523.MAKE: install-am install-strip 524 525.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ 526 clean-generic clean-libtool clean-pkglibLTLIBRARIES ctags \ 527 distclean distclean-compile distclean-generic \ 528 distclean-libtool distclean-tags distdir dvi dvi-am html \ 529 html-am info info-am install install-am install-data \ 530 install-data-am install-dvi install-dvi-am install-exec \ 531 install-exec-am install-html install-html-am install-info \ 532 install-info-am install-man install-pdf install-pdf-am \ 533 install-pkglibLTLIBRARIES install-ps install-ps-am \ 534 install-strip installcheck installcheck-am installdirs \ 535 maintainer-clean maintainer-clean-generic mostlyclean \ 536 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 537 pdf pdf-am ps ps-am tags uninstall uninstall-am \ 538 uninstall-pkglibLTLIBRARIES 539 540 541# this automake include file must be included in all directories that 542# build modules. it updates the modules index that will be installed 543# along with all of the modules, and also handles some static building 544# details. this is done with an all-local target: 545all-local: 546# 547# first, all source files in the current directory are searched for 548# element "new" function declarations. these declarations provide 549# enough information to determine the published module name, the 550# libtool module name, and "submodule" name. this information is 551# appended to a tme-plugins.txt file, which will be installed in 552# $(pkglibdir). 553# 554# the choice of $(top_builddir)/tme/tme-plugins.txt is important. 555# when debugging, the person doing the debugging is expected to have 556# the good sense to set LTDL_LIBRARY_PATH to $(top_builddir), so 557# module.c will correctly use the uninstalled plugins list for all 558# "tme/" modules. 559# 560# this is abuse of the $(top_builddir)/tme directory, yes, since 561# this directory was originally just for include files and to make 562# #include <tme/FOO.h> work right when building: 563 @echo updating tme modules list.. 564 @grep TME_ELEMENT_NEW_DECL $(srcdir)/*.c | \ 565 sed -e 's%.*TME_ELEMENT_NEW_DECL(\(.*\)).*%\1%' \ 566 >> $(top_builddir)/tme/tme-plugins.txt 567 @grep TME_ELEMENT_SUB_NEW_DECL $(srcdir)/*.c | \ 568 sed -e 's%.*TME_ELEMENT_SUB_NEW_DECL(\(.*\),\(.*\)).*%\1_\2 \1 \2%' \ 569 >> $(top_builddir)/tme/tme-plugins.txt 570 @grep TME_ELEMENT_X_NEW_DECL $(srcdir)/*.c | \ 571 sed -e 's%.*TME_ELEMENT_X_NEW_DECL(\(.*\),\(.*\),\(.*\)).*%\1\3 \1\2 \3%' \ 572 >> $(top_builddir)/tme/tme-plugins.txt 573# 574# next, when building statically, either for debugging purposes or 575# because we're on a weak platform, we have to use libtool's "preopen" 576# mechanism. 577# 578# this means at least specifying all of the modules that could 579# potentially be lt_dlopen'ed on any main program's link command line, 580# using libtool's -dlpreopen option. 581# 582# so we append suitable -dlpreopen options for all modules built in 583# this directory to a file, in this case 584# $(top_builddir)/tme-preopen.txt. when building statically, 585# configure.in will then substitute @TME_PREOPEN@ with: 586# 587# `cat $(top_builddir)/tme-preopen.txt` 588# 589# else it will substitute the empty string. when linking programs, 590# @TME_PREOPEN@ is then used on the program's link command line. 591# 592# additionally, libtool, at least through version 1.5, has a 593# limitation in that the pseudo-library (the .la file) must be present 594# even for a preloaded module. if we aren't debugging, everything is 595# installed, so this is not a problem. 596# 597# however, if we are debugging, nothing is installed, so we have to do 598# something to make sure that the .la files can be found. 599# 600# the person doing the debugging is already expected to set 601# LTDL_LIBRARY_PATH to the top of the build directory, so that 602# module.c can find the uninstalled tme-plugins.txt file, and libtool 603# will want to look in this directory for .la files, so we simply copy 604# all of the .la files into that same directory: 605 @if test "x$(pkglib_LTLIBRARIES)" != x; then \ 606 for module in $(pkglib_LTLIBRARIES); do \ 607 echo $$module ; \ 608 echo -dlpreopen ../$(subdir)/$$module >> $(top_builddir)/tme-preopen.txt ; \ 609 cp $$module $(top_builddir)/tme ; \ 610 done ; \ 611 fi 612# Tell versions [3.59,3.63) of GNU make to not export all variables. 613# Otherwise a system limit (for SysV at least) may be exceeded. 614.NOEXPORT: 615