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