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