|
|
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/m68k/:
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_ic_m68k.la
198: tme_ic_m68k_la_SOURCES = m68k-opmap.c m68010.c m68k-insns.c m68k-misc.c
199: tme_ic_m68k_la_LDFLAGS = -module -version-info 0:0:0
200: tme_ic_m68k_la_LIBADD = $(top_builddir)/libtme/libtme.la \
201: $(top_builddir)/generic/libtme-generic.la
202:
203: BUILT_SOURCES = m68k-auto.h m68k-opmap.c m68k-insns-auto.c m68k-bus-auto.c
204: EXTRA_DIST = m68k-impl.h \
205: m68k-misc-auto.sh \
206: m68k-insns-auto.sh \
207: m68k-bus-auto.sh \
208: m68k-execute.c \
209: m68k-iset-expand.pl \
210: m68k-iset.txt \
211: m68k-opmap-make.pl \
212: $(BUILT_SOURCES)
213:
214: subdir = ic/m68k
215: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
216: CONFIG_HEADER = $(top_builddir)/config.h
217: CONFIG_CLEAN_FILES =
218: LTLIBRARIES = $(pkglib_LTLIBRARIES)
219:
220: tme_ic_m68k_la_DEPENDENCIES = $(top_builddir)/libtme/libtme.la \
221: $(top_builddir)/generic/libtme-generic.la
222: am_tme_ic_m68k_la_OBJECTS = m68k-opmap.lo m68010.lo m68k-insns.lo \
223: m68k-misc.lo
224: tme_ic_m68k_la_OBJECTS = $(am_tme_ic_m68k_la_OBJECTS)
225:
226: DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
227: depcomp = $(SHELL) $(top_srcdir)/depcomp
228: am__depfiles_maybe = depfiles
229: @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/m68010.Plo \
230: @AMDEP_TRUE@ ./$(DEPDIR)/m68k-insns.Plo \
231: @AMDEP_TRUE@ ./$(DEPDIR)/m68k-misc.Plo \
232: @AMDEP_TRUE@ ./$(DEPDIR)/m68k-opmap.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_ic_m68k_la_SOURCES)
241: DIST_COMMON = $(top_srcdir)/modules Makefile.am Makefile.in
242: SOURCES = $(tme_ic_m68k_la_SOURCES)
243:
244: all: $(BUILT_SOURCES)
245: $(MAKE) $(AM_MAKEFLAGS) all-am
246:
247: .SUFFIXES:
248: .SUFFIXES: .c .lo .o .obj
249: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/modules $(top_srcdir)/configure.in $(ACLOCAL_M4)
250: cd $(top_srcdir) && \
251: $(AUTOMAKE) --gnu ic/m68k/Makefile
252: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
253: cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
254: pkglibLTLIBRARIES_INSTALL = $(INSTALL)
255: install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
256: @$(NORMAL_INSTALL)
257: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
258: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
259: if test -f $$p; then \
260: f="`echo $$p | sed -e 's|^.*/||'`"; \
261: echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f"; \
262: $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f; \
263: else :; fi; \
264: done
265:
266: uninstall-pkglibLTLIBRARIES:
267: @$(NORMAL_UNINSTALL)
268: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
269: p="`echo $$p | sed -e 's|^.*/||'`"; \
270: echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p"; \
271: $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p; \
272: done
273:
274: clean-pkglibLTLIBRARIES:
275: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
276: @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
277: dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
278: test "$$dir" = "$$p" && dir=.; \
279: echo "rm -f \"$${dir}/so_locations\""; \
280: rm -f "$${dir}/so_locations"; \
281: done
282: tme_ic_m68k.la: $(tme_ic_m68k_la_OBJECTS) $(tme_ic_m68k_la_DEPENDENCIES)
283: $(LINK) -rpath $(pkglibdir) $(tme_ic_m68k_la_LDFLAGS) $(tme_ic_m68k_la_OBJECTS) $(tme_ic_m68k_la_LIBADD) $(LIBS)
284:
285: mostlyclean-compile:
286: -rm -f *.$(OBJEXT) core *.core
287:
288: distclean-compile:
289: -rm -f *.tab.c
290:
291: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m68010.Plo@am__quote@
292: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m68k-insns.Plo@am__quote@
293: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m68k-misc.Plo@am__quote@
294: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m68k-opmap.Plo@am__quote@
295:
296: distclean-depend:
297: -rm -rf ./$(DEPDIR)
298:
299: .c.o:
300: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
301: @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
302: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
303: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
304: @am__fastdepCC_TRUE@ fi
305: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
306: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
307: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
308: @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
309:
310: .c.obj:
311: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
312: @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \
313: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
314: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
315: @am__fastdepCC_TRUE@ fi
316: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
317: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
318: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
319: @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`
320:
321: .c.lo:
322: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
323: @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
324: @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
325: @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
326: @am__fastdepCC_TRUE@ fi
327: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
328: @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
329: @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
330: @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
331:
332: mostlyclean-libtool:
333: -rm -f *.lo
334:
335: clean-libtool:
336: -rm -rf .libs _libs
337:
338: distclean-libtool:
339: -rm -f libtool
340: uninstall-info-am:
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) all-local
429:
430: installdirs:
431: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
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: -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
458: clean: clean-am
459:
460: clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
461: mostlyclean-am
462:
463: distclean: distclean-am
464:
465: distclean-am: clean-am distclean-compile distclean-depend \
466: distclean-generic distclean-libtool distclean-tags
467:
468: dvi: dvi-am
469:
470: dvi-am:
471:
472: info: info-am
473:
474: info-am:
475:
476: install-data-am:
477:
478: install-exec-am: install-pkglibLTLIBRARIES
479:
480: install-info: install-info-am
481:
482: install-man:
483:
484: installcheck-am:
485:
486: maintainer-clean: maintainer-clean-am
487:
488: maintainer-clean-am: distclean-am maintainer-clean-generic
489:
490: mostlyclean: mostlyclean-am
491:
492: mostlyclean-am: mostlyclean-compile mostlyclean-generic \
493: mostlyclean-libtool
494:
495: pdf: pdf-am
496:
497: pdf-am:
498:
499: ps: ps-am
500:
501: ps-am:
502:
503: uninstall-am: uninstall-info-am 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-exec install-exec-am install-info install-info-am \
511: install-man install-pkglibLTLIBRARIES install-strip \
512: installcheck installcheck-am installdirs maintainer-clean \
513: maintainer-clean-generic mostlyclean mostlyclean-compile \
514: mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
515: tags uninstall uninstall-am uninstall-info-am \
516: uninstall-pkglibLTLIBRARIES
517:
518:
519: # target to make m68k-auto.h:
520: m68k-auto.h: m68k-misc-auto.sh m68k-insns-auto.sh
521: $(SHELL) $(srcdir)/m68k-misc-auto.sh --header > $@
522: $(SHELL) $(srcdir)/m68k-insns-auto.sh --header >> $@
523:
524: # target to make m68k-opmap.c:
525: m68k-opmap.c: m68k-iset.txt m68k-iset-expand.pl m68k-opmap-make.pl
526: ( $(PERL) $(srcdir)/m68k-iset-expand.pl m68000 < $(srcdir)/m68k-iset.txt ; \
527: $(PERL) $(srcdir)/m68k-iset-expand.pl m68010 < $(srcdir)/m68k-iset.txt ; \
528: $(PERL) $(srcdir)/m68k-iset-expand.pl m68020 < $(srcdir)/m68k-iset.txt ) | \
529: $(PERL) $(srcdir)/m68k-opmap-make.pl > $@
530:
531: # target to make m68k-insns-auto.c:
532: m68k-insns-auto.c: m68k-insns-auto.sh m68k-misc-auto.sh
533: $(SHELL) $(srcdir)/m68k-insns-auto.sh > $@
534: $(SHELL) $(srcdir)/m68k-misc-auto.sh >> $@
535:
536: # target to make m68k-bus-auto.c:
537: m68k-bus-auto.c: m68k-bus-auto.sh
538: $(SHELL) $(srcdir)/m68k-bus-auto.sh > $@
539:
540: # this automake include file must be included in all directories that
541: # build modules. it updates the modules index that will be installed
542: # along with all of the modules, and also handles some static building
543: # details. this is done with an all-local target:
544: all-local:
545: #
546: # first, all source files in the current directory are searched for
547: # element "new" function declarations. these declarations provide
548: # enough information to determine the published module name, the
549: # libtool module name, and "submodule" name. this information is
550: # appended to a tme-plugins.txt file, which will be installed in
551: # $(pkglibdir).
552: #
553: # the choice of $(top_builddir)/tme/tme-plugins.txt is important.
554: # when debugging, the person doing the debugging is expected to have
555: # the good sense to set LTDL_LIBRARY_PATH to $(top_builddir), so
556: # module.c will correctly use the uninstalled plugins list for all
557: # "tme/" modules.
558: #
559: # this is abuse of the $(top_builddir)/tme directory, yes, since
560: # this directory was originally just for include files and to make
561: # #include <tme/FOO.h> work right when building:
562: @echo updating tme modules list..
563: @grep TME_ELEMENT_NEW_DECL $(srcdir)/*.c | \
564: sed -e 's%.*TME_ELEMENT_NEW_DECL(\(.*\)).*%\1%' \
565: >> $(top_builddir)/tme/tme-plugins.txt
566: @grep TME_ELEMENT_SUB_NEW_DECL $(srcdir)/*.c | \
567: sed -e 's%.*TME_ELEMENT_SUB_NEW_DECL(\(.*\),\(.*\)).*%\1_\2 \1 \2%' \
568: >> $(top_builddir)/tme/tme-plugins.txt
569: @grep TME_ELEMENT_X_NEW_DECL $(srcdir)/*.c | \
570: sed -e 's%.*TME_ELEMENT_X_NEW_DECL(\(.*\),\(.*\),\(.*\)).*%\1\3 \1\2 \3%' \
571: >> $(top_builddir)/tme/tme-plugins.txt
572: #
573: # next, when building statically, either for debugging purposes or
574: # because we're on a weak platform, we have to use libtool's "preopen"
575: # mechanism.
576: #
577: # this means at least specifying all of the modules that could
578: # potentially be lt_dlopen'ed on any main program's link command line,
579: # using libtool's -dlpreopen option.
580: #
581: # so we append suitable -dlpreopen options for all modules built in
582: # this directory to a file, in this case
583: # $(top_builddir)/tme-preopen.txt. when building statically,
584: # configure.in will then substitute @TME_PREOPEN@ with:
585: #
586: # `cat $(top_builddir)/tme-preopen.txt`
587: #
588: # else it will substitute the empty string. when linking programs,
589: # @TME_PREOPEN@ is then used on the program's link command line.
590: #
591: # additionally, libtool, at least through version 1.5, has a
592: # limitation in that the pseudo-library (the .la file) must be present
593: # even for a preloaded module. if we aren't debugging, everything is
594: # installed, so this is not a problem.
595: #
596: # however, if we are debugging, nothing is installed, so we have to do
597: # something to make sure that the .la files can be found.
598: #
599: # the person doing the debugging is already expected to set
600: # LTDL_LIBRARY_PATH to the top of the build directory, so that
601: # module.c can find the uninstalled tme-plugins.txt file, and libtool
602: # will want to look in this directory for .la files, so we simply copy
603: # all of the .la files into that same directory:
604: @if test "x$(pkglib_LTLIBRARIES)" != x; then \
605: for module in $(pkglib_LTLIBRARIES); do \
606: echo $$module ; \
607: echo -dlpreopen ../$(subdir)/$$module >> $(top_builddir)/tme-preopen.txt ; \
608: cp $$module $(top_builddir)/tme ; \
609: done ; \
610: fi
611: # Tell versions [3.59,3.63) of GNU make to not export all variables.
612: # Otherwise a system limit (for SysV at least) may be exceeded.
613: .NOEXPORT:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.