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