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