|
|
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 host/posix:
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_host_posix.la
187: tme_host_posix_la_SOURCES = posix-memory.c posix-serial.c
188: tme_host_posix_la_LDFLAGS = -module -version-info 0:0:0
189: tme_host_posix_la_LIBADD = $(top_builddir)/libtme/libtme.la \
190: $(top_builddir)/generic/libtme-generic.la
191:
192: subdir = host/posix
193: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
194: CONFIG_HEADER = $(top_builddir)/config.h
195: CONFIG_CLEAN_FILES =
196: LTLIBRARIES = $(pkglib_LTLIBRARIES)
197:
198: tme_host_posix_la_DEPENDENCIES = $(top_builddir)/libtme/libtme.la \
199: $(top_builddir)/generic/libtme-generic.la
200: am_tme_host_posix_la_OBJECTS = posix-memory.lo posix-serial.lo
201: tme_host_posix_la_OBJECTS = $(am_tme_host_posix_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)/posix-memory.Plo \
207: @AMDEP_TRUE@ ./$(DEPDIR)/posix-serial.Plo
208: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
209: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
210: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
211: $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
212: CCLD = $(CC)
213: LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
214: $(AM_LDFLAGS) $(LDFLAGS) -o $@
215: DIST_SOURCES = $(tme_host_posix_la_SOURCES)
216: DIST_COMMON = $(top_srcdir)/modules Makefile.am Makefile.in
217: SOURCES = $(tme_host_posix_la_SOURCES)
218:
219: all: all-am
220:
221: .SUFFIXES:
222: .SUFFIXES: .c .lo .o .obj
223: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/modules $(top_srcdir)/configure.in $(ACLOCAL_M4)
224: cd $(top_srcdir) && \
225: $(AUTOMAKE) --gnu host/posix/Makefile
226: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
227: cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
228: pkglibLTLIBRARIES_INSTALL = $(INSTALL)
229: install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
230: @$(NORMAL_INSTALL)
231: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
232: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
233: if test -f $$p; then \
234: f="`echo $$p | sed -e 's|^.*/||'`"; \
235: echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f"; \
236: $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f; \
237: else :; fi; \
238: done
239:
240: uninstall-pkglibLTLIBRARIES:
241: @$(NORMAL_UNINSTALL)
242: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
243: p="`echo $$p | sed -e 's|^.*/||'`"; \
244: echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p"; \
245: $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p; \
246: done
247:
248: clean-pkglibLTLIBRARIES:
249: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
250: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
251: dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
252: test "$$dir" = "$$p" && dir=.; \
253: echo "rm -f \"$${dir}/so_locations\""; \
254: rm -f "$${dir}/so_locations"; \
255: done
256: tme_host_posix.la: $(tme_host_posix_la_OBJECTS) $(tme_host_posix_la_DEPENDENCIES)
257: $(LINK) -rpath $(pkglibdir) $(tme_host_posix_la_LDFLAGS) $(tme_host_posix_la_OBJECTS) $(tme_host_posix_la_LIBADD) $(LIBS)
258:
259: mostlyclean-compile:
260: -rm -f *.$(OBJEXT) core *.core
261:
262: distclean-compile:
263: -rm -f *.tab.c
264:
265: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posix-memory.Plo@am__quote@
266: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posix-serial.Plo@am__quote@
267:
268: distclean-depend:
269: -rm -rf ./$(DEPDIR)
270:
271: .c.o:
272: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
273: @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
274: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
275: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
276: @am__fastdepCC_TRUE@ fi
277: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
278: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
279: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
280: @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
281:
282: .c.obj:
283: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
284: @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \
285: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
286: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
287: @am__fastdepCC_TRUE@ fi
288: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
289: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
290: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
291: @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`
292:
293: .c.lo:
294: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
295: @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
296: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
297: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
298: @am__fastdepCC_TRUE@ fi
299: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
300: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
301: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
302: @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
303:
304: mostlyclean-libtool:
305: -rm -f *.lo
306:
307: clean-libtool:
308: -rm -rf .libs _libs
309:
310: distclean-libtool:
311: -rm -f libtool
312: uninstall-info-am:
313:
314: ETAGS = etags
315: ETAGSFLAGS =
316:
317: CTAGS = ctags
318: CTAGSFLAGS =
319:
320: tags: TAGS
321:
322: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
323: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
324: unique=`for i in $$list; do \
325: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
326: done | \
327: $(AWK) ' { files[$$0] = 1; } \
328: END { for (i in files) print i; }'`; \
329: mkid -fID $$unique
330:
331: TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
332: $(TAGS_FILES) $(LISP)
333: tags=; \
334: here=`pwd`; \
335: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336: unique=`for i in $$list; do \
337: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
338: done | \
339: $(AWK) ' { files[$$0] = 1; } \
340: END { for (i in files) print i; }'`; \
341: test -z "$(ETAGS_ARGS)$$tags$$unique" \
342: || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
343: $$tags $$unique
344:
345: ctags: CTAGS
346: CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
347: $(TAGS_FILES) $(LISP)
348: tags=; \
349: here=`pwd`; \
350: list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
351: unique=`for i in $$list; do \
352: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
353: done | \
354: $(AWK) ' { files[$$0] = 1; } \
355: END { for (i in files) print i; }'`; \
356: test -z "$(CTAGS_ARGS)$$tags$$unique" \
357: || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
358: $$tags $$unique
359:
360: GTAGS:
361: here=`$(am__cd) $(top_builddir) && pwd` \
362: && cd $(top_srcdir) \
363: && gtags -i $(GTAGS_ARGS) $$here
364:
365: distclean-tags:
366: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
367: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
368:
369: top_distdir = ../..
370: distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
371:
372: distdir: $(DISTFILES)
373: $(mkinstalldirs) $(distdir)/$(top_srcdir)
374: @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
375: list='$(DISTFILES)'; for file in $$list; do \
376: case $$file in \
377: $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
378: esac; \
379: if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
380: dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
381: if test "$$dir" != "$$file" && test "$$dir" != "."; then \
382: dir="/$$dir"; \
383: $(mkinstalldirs) "$(distdir)$$dir"; \
384: else \
385: dir=''; \
386: fi; \
387: if test -d $$d/$$file; then \
388: if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
389: cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
390: fi; \
391: cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
392: else \
393: test -f $(distdir)/$$file \
394: || cp -p $$d/$$file $(distdir)/$$file \
395: || exit 1; \
396: fi; \
397: done
398: check-am: all-am
399: check: check-am
400: all-am: Makefile $(LTLIBRARIES) all-local
401:
402: installdirs:
403: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
404:
405: install: install-am
406: install-exec: install-exec-am
407: install-data: install-data-am
408: uninstall: uninstall-am
409:
410: install-am: all-am
411: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
412:
413: installcheck: installcheck-am
414: install-strip:
415: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
416: INSTALL_STRIP_FLAG=-s \
417: `test -z '$(STRIP)' || \
418: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
419: mostlyclean-generic:
420:
421: clean-generic:
422:
423: distclean-generic:
424: -rm -f Makefile $(CONFIG_CLEAN_FILES)
425:
426: maintainer-clean-generic:
427: @echo "This command is intended for maintainers to use"
428: @echo "it deletes files that may require special tools to rebuild."
429: clean: clean-am
430:
431: clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
432: mostlyclean-am
433:
434: distclean: distclean-am
435:
436: distclean-am: clean-am distclean-compile distclean-depend \
437: distclean-generic distclean-libtool distclean-tags
438:
439: dvi: dvi-am
440:
441: dvi-am:
442:
443: info: info-am
444:
445: info-am:
446:
447: install-data-am:
448:
449: install-exec-am: install-pkglibLTLIBRARIES
450:
451: install-info: install-info-am
452:
453: install-man:
454:
455: installcheck-am:
456:
457: maintainer-clean: maintainer-clean-am
458:
459: maintainer-clean-am: distclean-am maintainer-clean-generic
460:
461: mostlyclean: mostlyclean-am
462:
463: mostlyclean-am: mostlyclean-compile mostlyclean-generic \
464: mostlyclean-libtool
465:
466: pdf: pdf-am
467:
468: pdf-am:
469:
470: ps: ps-am
471:
472: ps-am:
473:
474: uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES
475:
476: .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
477: clean-generic clean-libtool clean-pkglibLTLIBRARIES ctags \
478: distclean distclean-compile distclean-depend distclean-generic \
479: distclean-libtool distclean-tags distdir dvi dvi-am info \
480: info-am install install-am install-data install-data-am \
481: install-exec install-exec-am install-info install-info-am \
482: install-man install-pkglibLTLIBRARIES install-strip \
483: installcheck installcheck-am installdirs maintainer-clean \
484: maintainer-clean-generic mostlyclean mostlyclean-compile \
485: mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
486: tags uninstall uninstall-am uninstall-info-am \
487: uninstall-pkglibLTLIBRARIES
488:
489:
490: # this automake include file must be included in all directories that
491: # build modules. it updates the modules index that will be installed
492: # along with all of the modules, and also handles some static building
493: # details. this is done with an all-local target:
494: all-local:
495: #
496: # first, all source files in the current directory are searched for
497: # element "new" function declarations. these declarations provide
498: # enough information to determine the published module name, the
499: # libtool module name, and "submodule" name. this information is
500: # appended to a tme-plugins.txt file, which will be installed in
501: # $(pkglibdir).
502: #
503: # the choice of $(top_builddir)/tme/tme-plugins.txt is important.
504: # when debugging, the person doing the debugging is expected to have
505: # the good sense to set LTDL_LIBRARY_PATH to $(top_builddir), so
506: # module.c will correctly use the uninstalled plugins list for all
507: # "tme/" modules.
508: #
509: # this is abuse of the $(top_builddir)/tme directory, yes, since
510: # this directory was originally just for include files and to make
511: # #include <tme/FOO.h> work right when building:
512: @echo updating tme modules list..
513: @grep TME_ELEMENT_NEW_DECL $(srcdir)/*.c | \
514: sed -e 's%.*TME_ELEMENT_NEW_DECL(\(.*\)).*%\1%' \
515: >> $(top_builddir)/tme/tme-plugins.txt
516: @grep TME_ELEMENT_SUB_NEW_DECL $(srcdir)/*.c | \
517: sed -e 's%.*TME_ELEMENT_SUB_NEW_DECL(\(.*\),\(.*\)).*%\1_\2 \1 \2%' \
518: >> $(top_builddir)/tme/tme-plugins.txt
519: @grep TME_ELEMENT_X_NEW_DECL $(srcdir)/*.c | \
520: sed -e 's%.*TME_ELEMENT_X_NEW_DECL(\(.*\),\(.*\),\(.*\)).*%\1\3 \1\2 \3%' \
521: >> $(top_builddir)/tme/tme-plugins.txt
522: #
523: # next, when building statically, either for debugging purposes or
524: # because we're on a weak platform, we have to use libtool's "preopen"
525: # mechanism.
526: #
527: # this means at least specifying all of the modules that could
528: # potentially be lt_dlopen'ed on any main program's link command line,
529: # using libtool's -dlpreopen option.
530: #
531: # so we append suitable -dlpreopen options for all modules built in
532: # this directory to a file, in this case
533: # $(top_builddir)/tme-preopen.txt. when building statically,
534: # configure.in will then substitute @TME_PREOPEN@ with:
535: #
536: # `cat $(top_builddir)/tme-preopen.txt`
537: #
538: # else it will substitute the empty string. when linking programs,
539: # @TME_PREOPEN@ is then used on the program's link command line.
540: #
541: # additionally, libtool, at least through version 1.5, has a
542: # limitation in that the pseudo-library (the .la file) must be present
543: # even for a preloaded module. if we aren't debugging, everything is
544: # installed, so this is not a problem.
545: #
546: # however, if we are debugging, nothing is installed, so we have to do
547: # something to make sure that the .la files can be found.
548: #
549: # the person doing the debugging is already expected to set
550: # LTDL_LIBRARY_PATH to the top of the build directory, so that
551: # module.c can find the uninstalled tme-plugins.txt file, and libtool
552: # will want to look in this directory for .la files, so we simply copy
553: # all of the .la files into that same directory:
554: @if test "x$(pkglib_LTLIBRARIES)" != x; then \
555: for module in $(pkglib_LTLIBRARIES); do \
556: echo $$module ; \
557: echo -dlpreopen ../$(subdir)/$$module >> $(top_builddir)/tme-preopen.txt ; \
558: cp $$module $(top_builddir)/tme ; \
559: done ; \
560: fi
561: # Tell versions [3.59,3.63) of GNU make to not export all variables.
562: # Otherwise a system limit (for SysV at least) may be exceeded.
563: .NOEXPORT:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.