Imported Upstream version 1.0.10
[platform/upstream/lksctp-tools.git] / src / testlib / Makefile.in
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005  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-*-
18 #
19 # type: deep, strictness: gnu
20
21 # -*-makefile-*-
22 #
23 # Define here directories you want
24
25 srcdir = @srcdir@
26 top_srcdir = @top_srcdir@
27 VPATH = @srcdir@
28 pkgdatadir = $(datadir)/@PACKAGE@
29 pkglibdir = $(libdir)/@PACKAGE@
30 pkgincludedir = $(includedir)/@PACKAGE@
31 top_builddir = ../..
32 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
33 INSTALL = @INSTALL@
34 install_sh_DATA = $(install_sh) -c -m 644
35 install_sh_PROGRAM = $(install_sh) -c
36 install_sh_SCRIPT = $(install_sh) -c
37 INSTALL_HEADER = $(INSTALL_DATA)
38 transform = $(program_transform_name)
39 NORMAL_INSTALL = :
40 PRE_INSTALL = :
41 POST_INSTALL = :
42 NORMAL_UNINSTALL = :
43 PRE_UNINSTALL = :
44 POST_UNINSTALL = :
45 build_triplet = @build@
46 host_triplet = @host@
47 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
48         $(top_srcdir)/Makefile.dirs $(top_srcdir)/Makefile.rules \
49         $(top_srcdir)/Makefile.vars
50 subdir = src/testlib
51 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52 am__aclocal_m4_deps = $(top_srcdir)/configure.in
53 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54         $(ACLOCAL_M4)
55 mkinstalldirs = $(install_sh) -d
56 CONFIG_HEADER = $(top_builddir)/config.h
57 CONFIG_CLEAN_FILES =
58 LTLIBRARIES = $(noinst_LTLIBRARIES)
59 libsctputil_la_LIBADD =
60 am_libsctputil_la_OBJECTS = sctputil.lo
61 libsctputil_la_OBJECTS = $(am_libsctputil_la_OBJECTS)
62 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
63 depcomp = $(SHELL) $(top_srcdir)/bin/depcomp
64 am__depfiles_maybe = depfiles
65 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
66         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
67 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
68         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
69         $(AM_CFLAGS) $(CFLAGS)
70 CCLD = $(CC)
71 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
72         $(AM_LDFLAGS) $(LDFLAGS) -o $@
73 SOURCES = $(libsctputil_la_SOURCES)
74 DIST_SOURCES = $(libsctputil_la_SOURCES)
75 ETAGS = etags
76 CTAGS = ctags
77 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
78 ACLOCAL = @ACLOCAL@
79 AMDEP_FALSE = @AMDEP_FALSE@
80 AMDEP_TRUE = @AMDEP_TRUE@
81 AMTAR = @AMTAR@
82 AR = @AR@
83 AUTOCONF = @AUTOCONF@
84 AUTOHEADER = @AUTOHEADER@
85 AUTOMAKE = @AUTOMAKE@
86 AWK = @AWK@
87 CC = @CC@
88 CCDEPMODE = @CCDEPMODE@
89 CFLAGS = @CFLAGS@
90 CPP = @CPP@
91 CPPFLAGS = @CPPFLAGS@
92 CXX = @CXX@
93 CXXCPP = @CXXCPP@
94 CXXDEPMODE = @CXXDEPMODE@
95 CXXFLAGS = @CXXFLAGS@
96 CYGPATH_W = @CYGPATH_W@
97 DEFS = @DEFS@
98 DEPDIR = @DEPDIR@
99 DSYMUTIL = @DSYMUTIL@
100 ECHO = @ECHO@
101 ECHO_C = @ECHO_C@
102 ECHO_N = @ECHO_N@
103 ECHO_T = @ECHO_T@
104 EGREP = @EGREP@
105 EXEEXT = @EXEEXT@
106 F77 = @F77@
107 FFLAGS = @FFLAGS@
108 GREP = @GREP@
109 INSTALL_DATA = @INSTALL_DATA@
110 INSTALL_PROGRAM = @INSTALL_PROGRAM@
111 INSTALL_SCRIPT = @INSTALL_SCRIPT@
112 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
113 LDFLAGS = @LDFLAGS@
114 LIBOBJS = @LIBOBJS@
115 LIBS = @LIBS@
116 LIBTOOL = @LIBTOOL@
117 LIBTOOL_DEPS = @LIBTOOL_DEPS@
118 LN_S = @LN_S@
119 LTLIBOBJS = @LTLIBOBJS@
120 MAKEINFO = @MAKEINFO@
121 NMEDIT = @NMEDIT@
122 OBJEXT = @OBJEXT@
123 PACKAGE = @PACKAGE@
124 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
125 PACKAGE_NAME = @PACKAGE_NAME@
126 PACKAGE_STRING = @PACKAGE_STRING@
127 PACKAGE_TARNAME = @PACKAGE_TARNAME@
128 PACKAGE_VERSION = @PACKAGE_VERSION@
129 PATH_SEPARATOR = @PATH_SEPARATOR@
130 RANLIB = @RANLIB@
131 SED = @SED@
132 SET_MAKE = @SET_MAKE@
133 SHELL = @SHELL@
134 STRIP = @STRIP@
135 VERSION = @VERSION@
136 ac_ct_CC = @ac_ct_CC@
137 ac_ct_CXX = @ac_ct_CXX@
138 ac_ct_F77 = @ac_ct_F77@
139 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
140 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
141 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
142 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
143 am__include = @am__include@
144 am__leading_dot = @am__leading_dot@
145 am__quote = @am__quote@
146 am__tar = @am__tar@
147 am__untar = @am__untar@
148 bindir = @bindir@
149 build = @build@
150 build_alias = @build_alias@
151 build_cpu = @build_cpu@
152 build_os = @build_os@
153 build_vendor = @build_vendor@
154 datadir = @datadir@
155 datarootdir = @datarootdir@
156 docdir = @docdir@
157 dvidir = @dvidir@
158 exec_prefix = @exec_prefix@
159 host = @host@
160 host_alias = @host_alias@
161 host_cpu = @host_cpu@
162 host_os = @host_os@
163 host_vendor = @host_vendor@
164 htmldir = @htmldir@
165 includedir = @includedir@
166 infodir = @infodir@
167 install_sh = @install_sh@
168 libdir = @libdir@
169 libexecdir = @libexecdir@
170 localedir = $(datadir)/locale
171 localstatedir = @localstatedir@
172 mandir = @mandir@
173 mkdir_p = @mkdir_p@
174 oldincludedir = @oldincludedir@
175 pdfdir = @pdfdir@
176 prefix = @prefix@
177 program_transform_name = @program_transform_name@
178 psdir = @psdir@
179 sbindir = @sbindir@
180 sharedstatedir = @sharedstatedir@
181 sysconfdir = @sysconfdir@
182 target_alias = @target_alias@
183 MAINTAINERCLEANFILES = Makefile.in directories.h
184 DISTCLEANFILES = \\\ directories.h
185 CLEANFILES = 
186 MOSTLYCLEANFILES = *~ *.[aios] *.bak *.ci *.io
187 EXTRA_DIST = 
188 LATEX = @LATEX@
189 DVIPS = @DVIPS@
190 DVIPDFM = @DVIPDFM@
191 ENSCRIPTBIN = @ENSCRIPTBIN@
192 PS2PDF = @PS2PDF@
193 edit = @sed \
194         -e "s|\@bindir\@|$(bindir)|" \
195         -e "s|\@libdir\@|$(libdir)|" \
196         -e "s|\@PACKAGE\@|$(PACKAGE)|"
197
198 rootbindir = /bin
199 rootsbindir = /sbin
200 rootlibdir = /lib
201 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
202 pkgdocdir = $(datadir)/@PACKAGE@
203 vpkgsysconfdir = $(pkgsysconfdir)/v@VERSION@
204 vpkgdatadir = $(pkgdatadir)/v@VERSION@
205 vpkglibdir = $(pkglibdir)/v@VERSION@
206 vpkgdocdir = $(docdir)/v@VERSION@
207
208 # List here all the directories you want listed in the file to be used
209 # in your programs:
210 directories := \
211         localedir \
212         pkgsysconfdir \
213         rootbindir \
214         rootlibdir \
215         rootsbindir \
216         vpkgdatadir \
217         vpkgdocdir \
218         vpkglibdir \
219         vpkgsysconfdir \
220         \
221         bindir \
222         datadir \
223         libdir \
224         pkgdatadir \
225         pkgdocdir \
226         pkglibdir \
227         sbindir
228
229
230 # Include these two in all the Makefile.am's!!!
231
232 # General compilation flags
233 INCLUDES = -I$(top_srcdir)/src/include
234 noinst_LTLIBRARIES = libsctputil.la
235 libsctputil_la_SOURCES = sctputil.c sctputil.h
236 libsctputil_la_LDFLAGS = -version-info 1:10:0
237 all: all-am
238
239 .SUFFIXES:
240 .SUFFIXES: .c .lo .o .obj
241 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/Makefile.vars $(top_srcdir)/Makefile.rules $(top_srcdir)/Makefile.dirs $(am__configure_deps)
242         @for dep in $?; do \
243           case '$(am__configure_deps)' in \
244             *$$dep*) \
245               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
246                 && exit 0; \
247               exit 1;; \
248           esac; \
249         done; \
250         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/testlib/Makefile'; \
251         cd $(top_srcdir) && \
252           $(AUTOMAKE) --foreign  src/testlib/Makefile
253 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
254         @case '$?' in \
255           *config.status*) \
256             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
257           *) \
258             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
259             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
260         esac;
261
262 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
263         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
264
265 $(top_srcdir)/configure:  $(am__configure_deps)
266         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
267 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
268         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
269
270 clean-noinstLTLIBRARIES:
271         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
272         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
273           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
274           test "$$dir" != "$$p" || dir=.; \
275           echo "rm -f \"$${dir}/so_locations\""; \
276           rm -f "$${dir}/so_locations"; \
277         done
278 libsctputil.la: $(libsctputil_la_OBJECTS) $(libsctputil_la_DEPENDENCIES) 
279         $(LINK)  $(libsctputil_la_LDFLAGS) $(libsctputil_la_OBJECTS) $(libsctputil_la_LIBADD) $(LIBS)
280
281 mostlyclean-compile:
282         -rm -f *.$(OBJEXT)
283
284 distclean-compile:
285         -rm -f *.tab.c
286
287 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sctputil.Plo@am__quote@
288
289 .c.o:
290 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
291 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
292 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
293 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
294 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
295
296 .c.obj:
297 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
298 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
299 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
300 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
301 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
302
303 .c.lo:
304 @am__fastdepCC_TRUE@    if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
305 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
307 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
308 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
309
310 mostlyclean-libtool:
311         -rm -f *.lo
312
313 clean-libtool:
314         -rm -rf .libs _libs
315
316 distclean-libtool:
317         -rm -f libtool
318 uninstall-info-am:
319
320 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
321         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
322         unique=`for i in $$list; do \
323             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
324           done | \
325           $(AWK) '    { files[$$0] = 1; } \
326                END { for (i in files) print i; }'`; \
327         mkid -fID $$unique
328 tags: TAGS
329
330 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
331                 $(TAGS_FILES) $(LISP)
332         tags=; \
333         here=`pwd`; \
334         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
335         unique=`for i in $$list; do \
336             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337           done | \
338           $(AWK) '    { files[$$0] = 1; } \
339                END { for (i in files) print i; }'`; \
340         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
341           test -n "$$unique" || unique=$$empty_fix; \
342           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
343             $$tags $$unique; \
344         fi
345 ctags: CTAGS
346 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
347                 $(TAGS_FILES) $(LISP)
348         tags=; \
349         here=`pwd`; \
350         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
351         unique=`for i in $$list; do \
352             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
353           done | \
354           $(AWK) '    { files[$$0] = 1; } \
355                END { for (i in files) print i; }'`; \
356         test -z "$(CTAGS_ARGS)$$tags$$unique" \
357           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
358              $$tags $$unique
359
360 GTAGS:
361         here=`$(am__cd) $(top_builddir) && pwd` \
362           && cd $(top_srcdir) \
363           && gtags -i $(GTAGS_ARGS) $$here
364
365 distclean-tags:
366         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
367
368 distdir: $(DISTFILES)
369         $(mkdir_p) $(distdir)/../..
370         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
371         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
372         list='$(DISTFILES)'; for file in $$list; do \
373           case $$file in \
374             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
375             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
376           esac; \
377           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
378           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
379           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
380             dir="/$$dir"; \
381             $(mkdir_p) "$(distdir)$$dir"; \
382           else \
383             dir=''; \
384           fi; \
385           if test -d $$d/$$file; then \
386             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
387               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
388             fi; \
389             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
390           else \
391             test -f $(distdir)/$$file \
392             || cp -p $$d/$$file $(distdir)/$$file \
393             || exit 1; \
394           fi; \
395         done
396 check-am: all-am
397 check: check-am
398 all-am: Makefile $(LTLIBRARIES)
399 installdirs:
400 install: install-am
401 install-exec: install-exec-am
402 install-data: install-data-am
403 uninstall: uninstall-am
404
405 install-am: all-am
406         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
407
408 installcheck: installcheck-am
409 install-strip:
410         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
411           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
412           `test -z '$(STRIP)' || \
413             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
414 mostlyclean-generic:
415         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
416
417 clean-generic:
418         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
419
420 distclean-generic:
421         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
422         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
423
424 maintainer-clean-generic:
425         @echo "This command is intended for maintainers to use"
426         @echo "it deletes files that may require special tools to rebuild."
427         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
428 clean: clean-am
429
430 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
431         mostlyclean-am
432
433 distclean: distclean-am
434         -rm -rf ./$(DEPDIR)
435         -rm -f Makefile
436 distclean-am: clean-am distclean-compile distclean-generic \
437         distclean-libtool distclean-tags
438
439 dvi: dvi-am
440
441 dvi-am:
442
443 html: html-am
444
445 info: info-am
446
447 info-am:
448
449 install-data-am:
450
451 install-exec-am:
452
453 install-info: install-info-am
454
455 install-man:
456
457 installcheck-am:
458
459 maintainer-clean: maintainer-clean-am
460         -rm -rf ./$(DEPDIR)
461         -rm -f Makefile
462 maintainer-clean-am: distclean-am maintainer-clean-generic
463
464 mostlyclean: mostlyclean-am
465
466 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
467         mostlyclean-libtool
468
469 pdf: pdf-am
470
471 pdf-am:
472
473 ps: ps-am
474
475 ps-am:
476
477 uninstall-am: uninstall-info-am
478
479 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
480         clean-libtool clean-noinstLTLIBRARIES ctags distclean \
481         distclean-compile distclean-generic distclean-libtool \
482         distclean-tags distdir dvi dvi-am html html-am info info-am \
483         install install-am install-data install-data-am install-exec \
484         install-exec-am install-info install-info-am install-man \
485         install-strip installcheck installcheck-am installdirs \
486         maintainer-clean maintainer-clean-generic mostlyclean \
487         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
488         pdf pdf-am ps ps-am tags uninstall uninstall-am \
489         uninstall-info-am
490
491
492 # -*-makefile-*-
493 #
494 # Generate pre-parsed C code.
495 %.i: %.c
496         $(COMPILE) -E -c $^ -o $@
497
498 .PRECIOUS: %.i
499 %.ci: %.i
500         -grep -v -e "^#" -e "^ *$$" $^ | indent > $@
501         mv -f $@ $^
502
503 # To modify this target for another language, just copy, paste and
504 # modify the target to generate directories.h. We depend on
505 # config.status and Makefile.dirs, as anything changed is going to be
506 # reflected there.
507
508 # This is for generating the list in C/C++
509 directories.h: $(top_builddir)/config.status $(top_srcdir)/Makefile.dirs
510         @rm -f $@
511         @echo -n "Creating $@ ..."
512         @echo "#ifndef __$(subst .,_,$@)__" > $@
513         @echo "# define __$(subst .,_,$@)__" >> $@
514         @echo "" >> $@
515         @echo -e $(foreach v,$(directories),$(shell echo 'D_$(v) \"$($v)\"\\n')) \
516           | sed 's/^ *D_/# define D_/' >> $@
517         @echo "#endif" >> $@
518         @echo " done"
519 # Tell versions [3.59,3.63) of GNU make to not export all variables.
520 # Otherwise a system limit (for SysV at least) may be exceeded.
521 .NOEXPORT: