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