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