|
|
1.1 root 1: # Makefile.in generated by automake 1.7 from Makefile.am.
2: # @configure_input@
3:
4: # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5: # 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:
50: srcdir = @srcdir@
51: top_srcdir = @top_srcdir@
52: VPATH = @srcdir@
53: pkgdatadir = $(datadir)/@PACKAGE@
54: pkglibdir = $(libdir)/@PACKAGE@
55: pkgincludedir = $(includedir)/@PACKAGE@
56: top_builddir = ../..
57:
58: am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
59: INSTALL = @INSTALL@
60: install_sh_DATA = $(install_sh) -c -m 644
61: install_sh_PROGRAM = $(install_sh) -c
62: install_sh_SCRIPT = $(install_sh) -c
63: INSTALL_HEADER = $(INSTALL_DATA)
64: transform = $(program_transform_name)
65: NORMAL_INSTALL = :
66: PRE_INSTALL = :
67: POST_INSTALL = :
68: NORMAL_UNINSTALL = :
69: PRE_UNINSTALL = :
70: POST_UNINSTALL = :
71: build_triplet = @build@
72: host_triplet = @host@
73: target_triplet = @target@
74: ACLOCAL = @ACLOCAL@
75: AMDEP_FALSE = @AMDEP_FALSE@
76: AMDEP_TRUE = @AMDEP_TRUE@
77: AMTAR = @AMTAR@
78: AR = @AR@
79: AUTOCONF = @AUTOCONF@
80: AUTOHEADER = @AUTOHEADER@
81: AUTOMAKE = @AUTOMAKE@
82: AWK = @AWK@
83: CC = @CC@
84: CCDEPMODE = @CCDEPMODE@
85: CFLAGS = @CFLAGS@
86: CPP = @CPP@
87: CPPFLAGS = @CPPFLAGS@
88: CXX = @CXX@
89: CXXCPP = @CXXCPP@
90: CXXDEPMODE = @CXXDEPMODE@
91: CXXFLAGS = @CXXFLAGS@
92: CYGPATH_W = @CYGPATH_W@
93: DEFS = @DEFS@
94: DEPDIR = @DEPDIR@
95: ECHO = @ECHO@
96: ECHO_C = @ECHO_C@
97: ECHO_N = @ECHO_N@
98: ECHO_T = @ECHO_T@
99: EGREP = @EGREP@
100: EXEEXT = @EXEEXT@
101: F77 = @F77@
102: FFLAGS = @FFLAGS@
103: INCLTDL = @INCLTDL@
104: INSTALL_DATA = @INSTALL_DATA@
105: INSTALL_PROGRAM = @INSTALL_PROGRAM@
106: INSTALL_SCRIPT = @INSTALL_SCRIPT@
107: INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
108: LDFLAGS = @LDFLAGS@
109: LIBLTDL = @LIBLTDL@
110: LIBOBJS = @LIBOBJS@
111: LIBS = @LIBS@
112: LIBTOOL = @LIBTOOL@
113: LN_S = @LN_S@
114: LTLIBOBJS = @LTLIBOBJS@
115: MAKEINFO = @MAKEINFO@
116: OBJEXT = @OBJEXT@
117: PACKAGE = @PACKAGE@
118: PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
119: PACKAGE_NAME = @PACKAGE_NAME@
120: PACKAGE_STRING = @PACKAGE_STRING@
121: PACKAGE_TARNAME = @PACKAGE_TARNAME@
122: PACKAGE_VERSION = @PACKAGE_VERSION@
123: PATH_SEPARATOR = @PATH_SEPARATOR@
124: PERL = @PERL@
125: RANLIB = @RANLIB@
126: SET_MAKE = @SET_MAKE@
127: SHELL = @SHELL@
128: STRIP = @STRIP@
129: TME_BUS_SUBDIRS = @TME_BUS_SUBDIRS@
130: TME_HOSTS = @TME_HOSTS@
131: TME_ICS = @TME_ICS@
132: TME_IC_SUBDIRS = @TME_IC_SUBDIRS@
133: TME_MACHINE_SUBDIRS = @TME_MACHINE_SUBDIRS@
134: TME_PREOPEN = @TME_PREOPEN@
135: VERSION = @VERSION@
136: YACC = @YACC@
137: ac_ct_AR = @ac_ct_AR@
138: ac_ct_CC = @ac_ct_CC@
139: ac_ct_CXX = @ac_ct_CXX@
140: ac_ct_F77 = @ac_ct_F77@
141: ac_ct_RANLIB = @ac_ct_RANLIB@
142: ac_ct_STRIP = @ac_ct_STRIP@
143: am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
144: am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
145: am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
146: am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
147: am__include = @am__include@
148: am__quote = @am__quote@
149: bindir = @bindir@
150: build = @build@
151: build_alias = @build_alias@
152: build_cpu = @build_cpu@
153: build_os = @build_os@
154: build_vendor = @build_vendor@
155: datadir = @datadir@
156: exec_prefix = @exec_prefix@
157: host = @host@
158: host_alias = @host_alias@
159: host_cpu = @host_cpu@
160: host_os = @host_os@
161: host_vendor = @host_vendor@
162: includedir = @includedir@
163: infodir = @infodir@
164: install_sh = @install_sh@
165: libdir = @libdir@
166: libexecdir = @libexecdir@
167: localstatedir = @localstatedir@
168: mandir = @mandir@
169: oldincludedir = @oldincludedir@
170: prefix = @prefix@
171: program_transform_name = @program_transform_name@
172: sbindir = @sbindir@
173: sharedstatedir = @sharedstatedir@
174: subdirs = @subdirs@
175: sysconfdir = @sysconfdir@
176: target = @target@
177: target_alias = @target_alias@
178: target_cpu = @target_cpu@
179: target_os = @target_os@
180: target_vendor = @target_vendor@
181:
182: AUTOMAKE_OPTIONS = 1.4 gnu
183:
184: INCLUDES = -I$(top_srcdir) -I$(srcdir) -I. -D_TME_IMPL
185:
186: pkglib_LTLIBRARIES = tme_bus_multibus.la
187: tme_bus_multibus_la_SOURCES = 3c400.c
188: tme_bus_multibus_la_LDFLAGS = -module -version-info 0:0:0
189: tme_bus_multibus_la_LIBADD = $(top_builddir)/libtme/libtme.la \
190: $(top_builddir)/generic/libtme-generic.la
191:
192: subdir = bus/multibus
193: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
194: CONFIG_HEADER = $(top_builddir)/config.h
195: CONFIG_CLEAN_FILES =
196: LTLIBRARIES = $(pkglib_LTLIBRARIES)
197:
198: tme_bus_multibus_la_DEPENDENCIES = $(top_builddir)/libtme/libtme.la \
199: $(top_builddir)/generic/libtme-generic.la
200: am_tme_bus_multibus_la_OBJECTS = 3c400.lo
201: tme_bus_multibus_la_OBJECTS = $(am_tme_bus_multibus_la_OBJECTS)
202:
203: DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
204: depcomp = $(SHELL) $(top_srcdir)/depcomp
205: am__depfiles_maybe = depfiles
206: @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/3c400.Plo
207: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
208: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
209: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
210: $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
211: CCLD = $(CC)
212: LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
213: $(AM_LDFLAGS) $(LDFLAGS) -o $@
214: DIST_SOURCES = $(tme_bus_multibus_la_SOURCES)
215: DIST_COMMON = $(top_srcdir)/modules Makefile.am Makefile.in
216: SOURCES = $(tme_bus_multibus_la_SOURCES)
217:
218: all: all-am
219:
220: .SUFFIXES:
221: .SUFFIXES: .c .lo .o .obj
222: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/modules $(top_srcdir)/configure.in $(ACLOCAL_M4)
223: cd $(top_srcdir) && \
224: $(AUTOMAKE) --gnu bus/multibus/Makefile
225: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
226: cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
227: pkglibLTLIBRARIES_INSTALL = $(INSTALL)
228: install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
229: @$(NORMAL_INSTALL)
230: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
231: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
232: if test -f $$p; then \
233: f="`echo $$p | sed -e 's|^.*/||'`"; \
234: echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f"; \
235: $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f; \
236: else :; fi; \
237: done
238:
239: uninstall-pkglibLTLIBRARIES:
240: @$(NORMAL_UNINSTALL)
241: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
242: p="`echo $$p | sed -e 's|^.*/||'`"; \
243: echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p"; \
244: $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p; \
245: done
246:
247: clean-pkglibLTLIBRARIES:
248: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
249: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
250: dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
251: test "$$dir" = "$$p" && dir=.; \
252: echo "rm -f \"$${dir}/so_locations\""; \
253: rm -f "$${dir}/so_locations"; \
254: done
255: tme_bus_multibus.la: $(tme_bus_multibus_la_OBJECTS) $(tme_bus_multibus_la_DEPENDENCIES)
256: $(LINK) -rpath $(pkglibdir) $(tme_bus_multibus_la_LDFLAGS) $(tme_bus_multibus_la_OBJECTS) $(tme_bus_multibus_la_LIBADD) $(LIBS)
257:
258: mostlyclean-compile:
259: -rm -f *.$(OBJEXT) core *.core
260:
261: distclean-compile:
262: -rm -f *.tab.c
263:
264: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/3c400.Plo@am__quote@
265:
266: distclean-depend:
267: -rm -rf ./$(DEPDIR)
268:
269: .c.o:
270: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
271: @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
272: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
273: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
274: @am__fastdepCC_TRUE@ fi
275: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
276: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
277: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
278: @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
279:
280: .c.obj:
281: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
282: @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \
283: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
284: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
285: @am__fastdepCC_TRUE@ fi
286: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
287: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
288: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
289: @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`
290:
291: .c.lo:
292: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
293: @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
294: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
295: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
296: @am__fastdepCC_TRUE@ fi
297: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
298: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
299: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
300: @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
301:
302: mostlyclean-libtool:
303: -rm -f *.lo
304:
305: clean-libtool:
306: -rm -rf .libs _libs
307:
308: distclean-libtool:
309: -rm -f libtool
310: uninstall-info-am:
311:
312: ETAGS = etags
313: ETAGSFLAGS =
314:
315: CTAGS = ctags
316: CTAGSFLAGS =
317:
318: tags: TAGS
319:
320: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
321: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
322: unique=`for i in $$list; do \
323: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
324: done | \
325: $(AWK) ' { files[$$0] = 1; } \
326: END { for (i in files) print i; }'`; \
327: mkid -fID $$unique
328:
329: TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
330: $(TAGS_FILES) $(LISP)
331: tags=; \
332: here=`pwd`; \
333: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
334: unique=`for i in $$list; do \
335: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
336: done | \
337: $(AWK) ' { files[$$0] = 1; } \
338: END { for (i in files) print i; }'`; \
339: test -z "$(ETAGS_ARGS)$$tags$$unique" \
340: || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
341: $$tags $$unique
342:
343: ctags: CTAGS
344: CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
345: $(TAGS_FILES) $(LISP)
346: tags=; \
347: here=`pwd`; \
348: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
349: unique=`for i in $$list; do \
350: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
351: done | \
352: $(AWK) ' { files[$$0] = 1; } \
353: END { for (i in files) print i; }'`; \
354: test -z "$(CTAGS_ARGS)$$tags$$unique" \
355: || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
356: $$tags $$unique
357:
358: GTAGS:
359: here=`$(am__cd) $(top_builddir) && pwd` \
360: && cd $(top_srcdir) \
361: && gtags -i $(GTAGS_ARGS) $$here
362:
363: distclean-tags:
364: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
365: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
366:
367: top_distdir = ../..
368: distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
369:
370: distdir: $(DISTFILES)
371: $(mkinstalldirs) $(distdir)/$(top_srcdir)
372: @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
373: list='$(DISTFILES)'; for file in $$list; do \
374: case $$file in \
375: $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
376: esac; \
377: if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
378: dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
379: if test "$$dir" != "$$file" && test "$$dir" != "."; then \
380: dir="/$$dir"; \
381: $(mkinstalldirs) "$(distdir)$$dir"; \
382: else \
383: dir=''; \
384: fi; \
385: if test -d $$d/$$file; then \
386: if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
387: cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
388: fi; \
389: cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
390: else \
391: test -f $(distdir)/$$file \
392: || cp -p $$d/$$file $(distdir)/$$file \
393: || exit 1; \
394: fi; \
395: done
396: check-am: all-am
397: check: check-am
398: all-am: Makefile $(LTLIBRARIES) all-local
399:
400: installdirs:
401: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
402:
403: install: install-am
404: install-exec: install-exec-am
405: install-data: install-data-am
406: uninstall: uninstall-am
407:
408: install-am: all-am
409: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
410:
411: installcheck: installcheck-am
412: install-strip:
413: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
414: INSTALL_STRIP_FLAG=-s \
415: `test -z '$(STRIP)' || \
416: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
417: mostlyclean-generic:
418:
419: clean-generic:
420:
421: distclean-generic:
422: -rm -f Makefile $(CONFIG_CLEAN_FILES)
423:
424: maintainer-clean-generic:
425: @echo "This command is intended for maintainers to use"
426: @echo "it deletes files that may require special tools to rebuild."
427: clean: clean-am
428:
429: clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
430: mostlyclean-am
431:
432: distclean: distclean-am
433:
434: distclean-am: clean-am distclean-compile distclean-depend \
435: distclean-generic distclean-libtool distclean-tags
436:
437: dvi: dvi-am
438:
439: dvi-am:
440:
441: info: info-am
442:
443: info-am:
444:
445: install-data-am:
446:
447: install-exec-am: install-pkglibLTLIBRARIES
448:
449: install-info: install-info-am
450:
451: install-man:
452:
453: installcheck-am:
454:
455: maintainer-clean: maintainer-clean-am
456:
457: maintainer-clean-am: distclean-am maintainer-clean-generic
458:
459: mostlyclean: mostlyclean-am
460:
461: mostlyclean-am: mostlyclean-compile mostlyclean-generic \
462: mostlyclean-libtool
463:
464: pdf: pdf-am
465:
466: pdf-am:
467:
468: ps: ps-am
469:
470: ps-am:
471:
472: uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES
473:
474: .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
475: clean-generic clean-libtool clean-pkglibLTLIBRARIES ctags \
476: distclean distclean-compile distclean-depend distclean-generic \
477: distclean-libtool distclean-tags distdir dvi dvi-am info \
478: info-am install install-am install-data install-data-am \
479: install-exec install-exec-am install-info install-info-am \
480: install-man install-pkglibLTLIBRARIES install-strip \
481: installcheck installcheck-am installdirs maintainer-clean \
482: maintainer-clean-generic mostlyclean mostlyclean-compile \
483: mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
484: tags uninstall uninstall-am uninstall-info-am \
485: uninstall-pkglibLTLIBRARIES
486:
487:
488: # this automake include file must be included in all directories that
489: # build modules. it updates the modules index that will be installed
490: # along with all of the modules, and also handles some static building
491: # details. this is done with an all-local target:
492: all-local:
493: #
494: # first, all source files in the current directory are searched for
495: # element "new" function declarations. these declarations provide
496: # enough information to determine the published module name, the
497: # libtool module name, and "submodule" name. this information is
498: # appended to a tme-plugins.txt file, which will be installed in
499: # $(pkglibdir).
500: #
501: # the choice of $(top_builddir)/tme/tme-plugins.txt is important.
502: # when debugging, the person doing the debugging is expected to have
503: # the good sense to set LTDL_LIBRARY_PATH to $(top_builddir), so
504: # module.c will correctly use the uninstalled plugins list for all
505: # "tme/" modules.
506: #
507: # this is abuse of the $(top_builddir)/tme directory, yes, since
508: # this directory was originally just for include files and to make
509: # #include <tme/FOO.h> work right when building:
510: @echo updating tme modules list..
511: @grep TME_ELEMENT_NEW_DECL $(srcdir)/*.c | \
512: sed -e 's%.*TME_ELEMENT_NEW_DECL(\(.*\)).*%\1%' \
513: >> $(top_builddir)/tme/tme-plugins.txt
514: @grep TME_ELEMENT_SUB_NEW_DECL $(srcdir)/*.c | \
515: sed -e 's%.*TME_ELEMENT_SUB_NEW_DECL(\(.*\),\(.*\)).*%\1_\2 \1 \2%' \
516: >> $(top_builddir)/tme/tme-plugins.txt
517: @grep TME_ELEMENT_X_NEW_DECL $(srcdir)/*.c | \
518: sed -e 's%.*TME_ELEMENT_X_NEW_DECL(\(.*\),\(.*\),\(.*\)).*%\1\3 \1\2 \3%' \
519: >> $(top_builddir)/tme/tme-plugins.txt
520: #
521: # next, when building statically, either for debugging purposes or
522: # because we're on a weak platform, we have to use libtool's "preopen"
523: # mechanism.
524: #
525: # this means at least specifying all of the modules that could
526: # potentially be lt_dlopen'ed on any main program's link command line,
527: # using libtool's -dlpreopen option.
528: #
529: # so we append suitable -dlpreopen options for all modules built in
530: # this directory to a file, in this case
531: # $(top_builddir)/tme-preopen.txt. when building statically,
532: # configure.in will then substitute @TME_PREOPEN@ with:
533: #
534: # `cat $(top_builddir)/tme-preopen.txt`
535: #
536: # else it will substitute the empty string. when linking programs,
537: # @TME_PREOPEN@ is then used on the program's link command line.
538: #
539: # additionally, libtool, at least through version 1.5, has a
540: # limitation in that the pseudo-library (the .la file) must be present
541: # even for a preloaded module. if we aren't debugging, everything is
542: # installed, so this is not a problem.
543: #
544: # however, if we are debugging, nothing is installed, so we have to do
545: # something to make sure that the .la files can be found.
546: #
547: # the person doing the debugging is already expected to set
548: # LTDL_LIBRARY_PATH to the top of the build directory, so that
549: # module.c can find the uninstalled tme-plugins.txt file, and libtool
550: # will want to look in this directory for .la files, so we simply copy
551: # all of the .la files into that same directory:
552: @if test "x$(pkglib_LTLIBRARIES)" != x; then \
553: for module in $(pkglib_LTLIBRARIES); do \
554: echo $$module ; \
555: echo -dlpreopen ../$(subdir)/$$module >> $(top_builddir)/tme-preopen.txt ; \
556: cp $$module $(top_builddir)/tme ; \
557: done ; \
558: fi
559: # Tell versions [3.59,3.63) of GNU make to not export all variables.
560: # Otherwise a system limit (for SysV at least) may be exceeded.
561: .NOEXPORT:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.