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