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