1# Makefile.in generated by automake 1.15.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
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#
18# Licensed to the Apache Software Foundation (ASF) under one
19# or more contributor license agreements. See the NOTICE file
20# distributed with this work for additional information
21# regarding copyright ownership. The ASF licenses this file
22# to you under the Apache License, Version 2.0 (the
23# "License"); you may not use this file except in compliance
24# with the License. You may obtain a copy of the License at
25#
26#   http://www.apache.org/licenses/LICENSE-2.0
27#
28# Unless required by applicable law or agreed to in writing,
29# software distributed under the License is distributed on an
30# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
31# KIND, either express or implied. See the License for the
32# specific language governing permissions and limitations
33# under the License.
34#
35VPATH = @srcdir@
36am__is_gnu_make = { \
37  if test -z '$(MAKELEVEL)'; then \
38    false; \
39  elif test -n '$(MAKE_HOST)'; then \
40    true; \
41  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
42    true; \
43  else \
44    false; \
45  fi; \
46}
47am__make_running_with_option = \
48  case $${target_option-} in \
49      ?) ;; \
50      *) echo "am__make_running_with_option: internal error: invalid" \
51              "target option '$${target_option-}' specified" >&2; \
52         exit 1;; \
53  esac; \
54  has_opt=no; \
55  sane_makeflags=$$MAKEFLAGS; \
56  if $(am__is_gnu_make); then \
57    sane_makeflags=$$MFLAGS; \
58  else \
59    case $$MAKEFLAGS in \
60      *\\[\ \	]*) \
61        bs=\\; \
62        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
63          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
64    esac; \
65  fi; \
66  skip_next=no; \
67  strip_trailopt () \
68  { \
69    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
70  }; \
71  for flg in $$sane_makeflags; do \
72    test $$skip_next = yes && { skip_next=no; continue; }; \
73    case $$flg in \
74      *=*|--*) continue;; \
75        -*I) strip_trailopt 'I'; skip_next=yes;; \
76      -*I?*) strip_trailopt 'I';; \
77        -*O) strip_trailopt 'O'; skip_next=yes;; \
78      -*O?*) strip_trailopt 'O';; \
79        -*l) strip_trailopt 'l'; skip_next=yes;; \
80      -*l?*) strip_trailopt 'l';; \
81      -[dEDm]) skip_next=yes;; \
82      -[JT]) skip_next=yes;; \
83    esac; \
84    case $$flg in \
85      *$$target_option*) has_opt=yes; break;; \
86    esac; \
87  done; \
88  test $$has_opt = yes
89am__make_dryrun = (target_option=n; $(am__make_running_with_option))
90am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
91pkgdatadir = $(datadir)/@PACKAGE@
92pkgincludedir = $(includedir)/@PACKAGE@
93pkglibdir = $(libdir)/@PACKAGE@
94pkglibexecdir = $(libexecdir)/@PACKAGE@
95am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
96install_sh_DATA = $(install_sh) -c -m 644
97install_sh_PROGRAM = $(install_sh) -c
98install_sh_SCRIPT = $(install_sh) -c
99INSTALL_HEADER = $(INSTALL_DATA)
100transform = $(program_transform_name)
101NORMAL_INSTALL = :
102PRE_INSTALL = :
103POST_INSTALL = :
104NORMAL_UNINSTALL = :
105PRE_UNINSTALL = :
106POST_UNINSTALL = :
107build_triplet = @build@
108host_triplet = @host@
109subdir = lib/erl
110ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
111am__aclocal_m4_deps = $(top_srcdir)/aclocal/ac_prog_bison.m4 \
112	$(top_srcdir)/aclocal/ax_boost_base.m4 \
113	$(top_srcdir)/aclocal/ax_check_openssl.m4 \
114	$(top_srcdir)/aclocal/ax_compare_version.m4 \
115	$(top_srcdir)/aclocal/ax_cxx_compile_stdcxx.m4 \
116	$(top_srcdir)/aclocal/ax_cxx_compile_stdcxx_11.m4 \
117	$(top_srcdir)/aclocal/ax_dmd.m4 \
118	$(top_srcdir)/aclocal/ax_javac_and_java.m4 \
119	$(top_srcdir)/aclocal/ax_lib_event.m4 \
120	$(top_srcdir)/aclocal/ax_lib_zlib.m4 \
121	$(top_srcdir)/aclocal/ax_lua.m4 \
122	$(top_srcdir)/aclocal/ax_prog_dotnetcore_version.m4 \
123	$(top_srcdir)/aclocal/ax_prog_haxe_version.m4 \
124	$(top_srcdir)/aclocal/ax_prog_perl_modules.m4 \
125	$(top_srcdir)/aclocal/ax_signed_right_shift.m4 \
126	$(top_srcdir)/aclocal/ax_thrift_internal.m4 \
127	$(top_srcdir)/aclocal/libtool.m4 \
128	$(top_srcdir)/aclocal/ltoptions.m4 \
129	$(top_srcdir)/aclocal/ltsugar.m4 \
130	$(top_srcdir)/aclocal/ltversion.m4 \
131	$(top_srcdir)/aclocal/lt~obsolete.m4 \
132	$(top_srcdir)/aclocal/tar.m4 $(top_srcdir)/configure.ac
133am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
134	$(ACLOCAL_M4)
135DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
136mkinstalldirs = $(install_sh) -d
137CONFIG_HEADER = $(top_builddir)/config.h \
138	$(top_builddir)/lib/cpp/src/thrift/config.h \
139	$(top_builddir)/lib/c_glib/src/thrift/config.h
140CONFIG_CLEAN_FILES =
141CONFIG_CLEAN_VPATH_FILES =
142AM_V_P = $(am__v_P_@AM_V@)
143am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
144am__v_P_0 = false
145am__v_P_1 = :
146AM_V_GEN = $(am__v_GEN_@AM_V@)
147am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
148am__v_GEN_0 = @echo "  GEN     " $@;
149am__v_GEN_1 =
150AM_V_at = $(am__v_at_@AM_V@)
151am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
152am__v_at_0 = @
153am__v_at_1 =
154SOURCES =
155DIST_SOURCES =
156am__can_run_installinfo = \
157  case $$AM_UPDATE_INFO_DIR in \
158    n|no|NO) false;; \
159    *) (install-info --version) >/dev/null 2>&1;; \
160  esac
161am__extra_recursive_targets = style-recursive
162am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
163am__DIST_COMMON = $(srcdir)/Makefile.in
164DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
165ACLOCAL = @ACLOCAL@
166ALLOCA = @ALLOCA@
167AMTAR = @AMTAR@
168AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
169ANT = @ANT@
170ANT_FLAGS = @ANT_FLAGS@
171AR = @AR@
172AUTOCONF = @AUTOCONF@
173AUTOHEADER = @AUTOHEADER@
174AUTOMAKE = @AUTOMAKE@
175AWK = @AWK@
176BISON = @BISON@
177BOOST_CHRONO_LDADD = @BOOST_CHRONO_LDADD@
178BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
179BOOST_FILESYSTEM_LDADD = @BOOST_FILESYSTEM_LDADD@
180BOOST_LDFLAGS = @BOOST_LDFLAGS@
181BOOST_LIB_DIR = @BOOST_LIB_DIR@
182BOOST_SYSTEM_LDADD = @BOOST_SYSTEM_LDADD@
183BOOST_TEST_LDADD = @BOOST_TEST_LDADD@
184BOOST_THREAD_LDADD = @BOOST_THREAD_LDADD@
185BUNDLER = @BUNDLER@
186CABAL = @CABAL@
187CABAL_CONFIGURE_FLAGS = @CABAL_CONFIGURE_FLAGS@
188CARGO = @CARGO@
189CC = @CC@
190CCDEPMODE = @CCDEPMODE@
191CFLAGS = @CFLAGS@
192CLASSPATH = @CLASSPATH@
193CPP = @CPP@
194CPPFLAGS = @CPPFLAGS@
195CPPSTYLE_CMD = @CPPSTYLE_CMD@
196CXX = @CXX@
197CXXCPP = @CXXCPP@
198CXXDEPMODE = @CXXDEPMODE@
199CXXFLAGS = @CXXFLAGS@
200CYGPATH_W = @CYGPATH_W@
201DART = @DART@
202DARTPUB = @DARTPUB@
203DEFS = @DEFS@
204DEPDIR = @DEPDIR@
205DLLTOOL = @DLLTOOL@
206DMD = @DMD@
207DMD_LIBEVENT_FLAGS = @DMD_LIBEVENT_FLAGS@
208DMD_OF_DIRSEP = @DMD_OF_DIRSEP@
209DMD_OPENSSL_FLAGS = @DMD_OPENSSL_FLAGS@
210DOTNETCORE = @DOTNETCORE@
211DOTNETCORE_VERSION = @DOTNETCORE_VERSION@
212DSYMUTIL = @DSYMUTIL@
213DUMPBIN = @DUMPBIN@
214D_EVENT_LIB_NAME = @D_EVENT_LIB_NAME@
215D_IMPORT_PREFIX = @D_IMPORT_PREFIX@
216D_LIB_NAME = @D_LIB_NAME@
217D_SSL_LIB_NAME = @D_SSL_LIB_NAME@
218ECHO_C = @ECHO_C@
219ECHO_N = @ECHO_N@
220ECHO_T = @ECHO_T@
221EGREP = @EGREP@
222ENABLE_COVERAGE = @ENABLE_COVERAGE@
223ERL = @ERL@
224ERLANG_INSTALL_LIB_DIR = @ERLANG_INSTALL_LIB_DIR@
225ERLANG_INSTALL_LIB_DIR_thrift = @ERLANG_INSTALL_LIB_DIR_thrift@
226ERLANG_LIB_DIR = @ERLANG_LIB_DIR@
227ERLC = @ERLC@
228ERLCFLAGS = @ERLCFLAGS@
229EXEEXT = @EXEEXT@
230FGREP = @FGREP@
231FLEX_COMPC = @FLEX_COMPC@
232GCOV_CFLAGS = @GCOV_CFLAGS@
233GCOV_CXXFLAGS = @GCOV_CXXFLAGS@
234GCOV_LDFLAGS = @GCOV_LDFLAGS@
235GLIB_CFLAGS = @GLIB_CFLAGS@
236GLIB_LIBS = @GLIB_LIBS@
237GO = @GO@
238GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
239GOBJECT_LIBS = @GOBJECT_LIBS@
240GRADLE_OPTS = @GRADLE_OPTS@
241GREP = @GREP@
242GSETTINGS = @GSETTINGS@
243HAVE_CXX11 = @HAVE_CXX11@
244HAXE = @HAXE@
245HAXE_VERSION = @HAXE_VERSION@
246INSTALL = @INSTALL@
247INSTALLDIRS = @INSTALLDIRS@
248INSTALL_DATA = @INSTALL_DATA@
249INSTALL_PROGRAM = @INSTALL_PROGRAM@
250INSTALL_SCRIPT = @INSTALL_SCRIPT@
251INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
252JAVA_PREFIX = @JAVA_PREFIX@
253LD = @LD@
254LDFLAGS = @LDFLAGS@
255LEX = @LEX@
256LEXLIB = @LEXLIB@
257LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
258LIBEVENT_CPPFLAGS = @LIBEVENT_CPPFLAGS@
259LIBEVENT_LDFLAGS = @LIBEVENT_LDFLAGS@
260LIBEVENT_LIBS = @LIBEVENT_LIBS@
261LIBOBJS = @LIBOBJS@
262LIBS = @LIBS@
263LIBTOOL = @LIBTOOL@
264LIPO = @LIPO@
265LN_S = @LN_S@
266LTLIBOBJS = @LTLIBOBJS@
267LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
268LUA = @LUA@
269LUA_EXEC_PREFIX = @LUA_EXEC_PREFIX@
270LUA_INCLUDE = @LUA_INCLUDE@
271LUA_LIB = @LUA_LIB@
272LUA_PLATFORM = @LUA_PLATFORM@
273LUA_PREFIX = @LUA_PREFIX@
274LUA_SHORT_VERSION = @LUA_SHORT_VERSION@
275LUA_VERSION = @LUA_VERSION@
276MAKEINFO = @MAKEINFO@
277MANIFEST_TOOL = @MANIFEST_TOOL@
278MAYBE_AS3 = @MAYBE_AS3@
279MAYBE_CL = @MAYBE_CL@
280MAYBE_CPP = @MAYBE_CPP@
281MAYBE_C_GLIB = @MAYBE_C_GLIB@
282MAYBE_D = @MAYBE_D@
283MAYBE_DART = @MAYBE_DART@
284MAYBE_ERLANG = @MAYBE_ERLANG@
285MAYBE_GO = @MAYBE_GO@
286MAYBE_HASKELL = @MAYBE_HASKELL@
287MAYBE_JAVA = @MAYBE_JAVA@
288MAYBE_LUA = @MAYBE_LUA@
289MAYBE_NETSTD = @MAYBE_NETSTD@
290MAYBE_NODEJS = @MAYBE_NODEJS@
291MAYBE_NODETS = @MAYBE_NODETS@
292MAYBE_PERL = @MAYBE_PERL@
293MAYBE_PHP = @MAYBE_PHP@
294MAYBE_PY3 = @MAYBE_PY3@
295MAYBE_PYTHON = @MAYBE_PYTHON@
296MAYBE_RS = @MAYBE_RS@
297MAYBE_RUBY = @MAYBE_RUBY@
298MAYBE_SWIFT = @MAYBE_SWIFT@
299MKDIR_P = @MKDIR_P@
300NM = @NM@
301NMEDIT = @NMEDIT@
302NODEJS = @NODEJS@
303NODETS = @NODETS@
304NPM = @NPM@
305OBJDUMP = @OBJDUMP@
306OBJEXT = @OBJEXT@
307OPENSSL_INCLUDES = @OPENSSL_INCLUDES@
308OPENSSL_LDFLAGS = @OPENSSL_LDFLAGS@
309OPENSSL_LIBS = @OPENSSL_LIBS@
310OTOOL = @OTOOL@
311OTOOL64 = @OTOOL64@
312PACKAGE = @PACKAGE@
313PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
314PACKAGE_NAME = @PACKAGE_NAME@
315PACKAGE_STRING = @PACKAGE_STRING@
316PACKAGE_TARNAME = @PACKAGE_TARNAME@
317PACKAGE_URL = @PACKAGE_URL@
318PACKAGE_VERSION = @PACKAGE_VERSION@
319PATH_SEPARATOR = @PATH_SEPARATOR@
320PERL = @PERL@
321PERL_PREFIX = @PERL_PREFIX@
322PHP = @PHP@
323PHP_CONFIG = @PHP_CONFIG@
324PHP_CONFIG_PREFIX = @PHP_CONFIG_PREFIX@
325PHP_PREFIX = @PHP_PREFIX@
326PKG_CONFIG = @PKG_CONFIG@
327PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
328PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
329PYTHON = @PYTHON@
330PYTHON3 = @PYTHON3@
331PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
332PYTHON_PLATFORM = @PYTHON_PLATFORM@
333PYTHON_PREFIX = @PYTHON_PREFIX@
334PYTHON_VERSION = @PYTHON_VERSION@
335PY_PREFIX = @PY_PREFIX@
336QT5_CFLAGS = @QT5_CFLAGS@
337QT5_LIBS = @QT5_LIBS@
338QT5_MOC = @QT5_MOC@
339RANLIB = @RANLIB@
340REBAR = @REBAR@
341RUBY = @RUBY@
342RUBY_PREFIX = @RUBY_PREFIX@
343RUNHASKELL = @RUNHASKELL@
344RUSTC = @RUSTC@
345SBCL = @SBCL@
346SED = @SED@
347SET_MAKE = @SET_MAKE@
348SHELL = @SHELL@
349STRIP = @STRIP@
350SWIFT = @SWIFT@
351THRIFT = ../../compiler/cpp/thrift
352TRIAL = @TRIAL@
353VERSION = @VERSION@
354YACC = @YACC@
355YFLAGS = @YFLAGS@
356ZLIB_CPPFLAGS = @ZLIB_CPPFLAGS@
357ZLIB_LDFLAGS = @ZLIB_LDFLAGS@
358ZLIB_LIBS = @ZLIB_LIBS@
359abs_builddir = @abs_builddir@
360abs_srcdir = @abs_srcdir@
361abs_top_builddir = @abs_top_builddir@
362abs_top_srcdir = @abs_top_srcdir@
363ac_ct_AR = @ac_ct_AR@
364ac_ct_CC = @ac_ct_CC@
365ac_ct_CXX = @ac_ct_CXX@
366ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
367am__include = @am__include@
368am__leading_dot = @am__leading_dot@
369am__quote = @am__quote@
370am__tar = @am__tar@
371am__untar = @am__untar@
372bindir = @bindir@
373build = @build@
374build_alias = @build_alias@
375build_cpu = @build_cpu@
376build_os = @build_os@
377build_vendor = @build_vendor@
378builddir = @builddir@
379datadir = @datadir@
380datarootdir = @datarootdir@
381docdir = @docdir@
382dvidir = @dvidir@
383exec_prefix = @exec_prefix@
384golang_version = @golang_version@
385have_prog_bison = @have_prog_bison@
386host = @host@
387host_alias = @host_alias@
388host_cpu = @host_cpu@
389host_os = @host_os@
390host_vendor = @host_vendor@
391htmldir = @htmldir@
392includedir = @includedir@
393infodir = @infodir@
394install_sh = @install_sh@
395libdir = @libdir@
396libexecdir = @libexecdir@
397localedir = @localedir@
398localstatedir = @localstatedir@
399luadir = @luadir@
400luaexecdir = @luaexecdir@
401mandir = @mandir@
402mkdir_p = @mkdir_p@
403oldincludedir = @oldincludedir@
404pdfdir = @pdfdir@
405pkgluadir = @pkgluadir@
406pkgluaexecdir = @pkgluaexecdir@
407pkgpyexecdir = @pkgpyexecdir@
408pkgpythondir = @pkgpythondir@
409prefix = @prefix@
410program_transform_name = @program_transform_name@
411psdir = @psdir@
412pyexecdir = @pyexecdir@
413pythondir = @pythondir@
414runstatedir = @runstatedir@
415rustc_version = @rustc_version@
416sbindir = @sbindir@
417sharedstatedir = @sharedstatedir@
418srcdir = @srcdir@
419subdirs = @subdirs@
420sysconfdir = @sysconfdir@
421target_alias = @target_alias@
422top_build_prefix = @top_build_prefix@
423top_builddir = @top_builddir@
424top_srcdir = @top_srcdir@
425THRIFT_OMIT_FILE = test/Thrift_omit_without.thrift
426THRIFT_FILES = $(wildcard test/*.thrift) \
427		  $(THRIFT_OMIT_FILE) \
428		  ../../test/ConstantsDemo.thrift \
429		  ../../test/NameConflictTest.thrift \
430		  ../../test/DoubleConstantsTest.thrift \
431		  ../../test/ThriftTest.thrift
432
433@ERLANG_OTP16_FALSE@ERL_FLAG = erl
434@ERLANG_OTP16_TRUE@ERL_FLAG = erl:otp16
435@ERLANG_OTP16_FALSE@ERL_FLAG_LEGACY = erl:legacynames
436@ERLANG_OTP16_TRUE@ERL_FLAG_LEGACY = erl:otp16,legacynames
437@ERLANG_OTP16_FALSE@ERL_FLAG_MAPS = erl:maps
438# otp16 + maps does not make sense. We need to generate it anyway to avoid include error.
439@ERLANG_OTP16_TRUE@ERL_FLAG_MAPS = erl:otp16
440EXTRA_DIST = \
441	include \
442	src \
443	coding_standards.md \
444	rebar.config \
445	rebar.config.script \
446	test \
447	README.md
448
449MAINTAINERCLEANFILES = Makefile.in
450all: all-am
451
452.SUFFIXES:
453$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
454	@for dep in $?; do \
455	  case '$(am__configure_deps)' in \
456	    *$$dep*) \
457	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
458	        && { if test -f $@; then exit 0; else break; fi; }; \
459	      exit 1;; \
460	  esac; \
461	done; \
462	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/erl/Makefile'; \
463	$(am__cd) $(top_srcdir) && \
464	  $(AUTOMAKE) --foreign lib/erl/Makefile
465Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
466	@case '$?' in \
467	  *config.status*) \
468	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
469	  *) \
470	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
471	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
472	esac;
473
474$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
475	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
476
477$(top_srcdir)/configure:  $(am__configure_deps)
478	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
479$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
480	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
481$(am__aclocal_m4_deps):
482
483mostlyclean-libtool:
484	-rm -f *.lo
485
486clean-libtool:
487	-rm -rf .libs _libs
488style-local:
489tags TAGS:
490
491ctags CTAGS:
492
493cscope cscopelist:
494
495
496distdir: $(DISTFILES)
497	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
498	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
499	list='$(DISTFILES)'; \
500	  dist_files=`for file in $$list; do echo $$file; done | \
501	  sed -e "s|^$$srcdirstrip/||;t" \
502	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
503	case $$dist_files in \
504	  */*) $(MKDIR_P) `echo "$$dist_files" | \
505			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
506			   sort -u` ;; \
507	esac; \
508	for file in $$dist_files; do \
509	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
510	  if test -d $$d/$$file; then \
511	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
512	    if test -d "$(distdir)/$$file"; then \
513	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
514	    fi; \
515	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
516	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
517	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
518	    fi; \
519	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
520	  else \
521	    test -f "$(distdir)/$$file" \
522	    || cp -p $$d/$$file "$(distdir)/$$file" \
523	    || exit 1; \
524	  fi; \
525	done
526	$(MAKE) $(AM_MAKEFLAGS) \
527	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
528	  dist-hook
529check-am: all-am
530check: check-am
531all-am: Makefile
532installdirs:
533install-exec: install-exec-am
534install-data: install-data-am
535
536install-am: all-am
537	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
538
539installcheck: installcheck-am
540install-strip:
541	if test -z '$(STRIP)'; then \
542	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
543	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
544	      install; \
545	else \
546	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
547	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
548	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
549	fi
550mostlyclean-generic:
551
552clean-generic:
553
554distclean-generic:
555	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
556	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
557
558maintainer-clean-generic:
559	@echo "This command is intended for maintainers to use"
560	@echo "it deletes files that may require special tools to rebuild."
561	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
562clean: clean-am
563
564clean-am: clean-generic clean-libtool clean-local mostlyclean-am
565
566distclean: distclean-am
567	-rm -f Makefile
568distclean-am: clean-am distclean-generic
569
570dvi: dvi-am
571
572dvi-am:
573
574html: html-am
575
576html-am:
577
578info: info-am
579
580info-am:
581
582install-data-am:
583
584install-dvi: install-dvi-am
585
586install-dvi-am:
587
588install-exec-am:
589
590install-html: install-html-am
591
592install-html-am:
593
594install-info: install-info-am
595
596install-info-am:
597
598install-man:
599
600install-pdf: install-pdf-am
601
602install-pdf-am:
603
604install-ps: install-ps-am
605
606install-ps-am:
607
608installcheck-am:
609
610maintainer-clean: maintainer-clean-am
611	-rm -f Makefile
612maintainer-clean-am: distclean-am maintainer-clean-generic \
613	maintainer-clean-local
614
615mostlyclean: mostlyclean-am
616
617mostlyclean-am: mostlyclean-generic mostlyclean-libtool
618
619pdf: pdf-am
620
621pdf-am:
622
623ps: ps-am
624
625ps-am:
626
627style: style-am
628
629style-am: style-local
630
631uninstall-am:
632
633.MAKE: install-am install-strip
634
635.PHONY: all all-am check check-am clean clean-generic clean-libtool \
636	clean-local cscopelist-am ctags-am dist-hook distclean \
637	distclean-generic distclean-libtool distdir dvi dvi-am html \
638	html-am info info-am install install-am install-data \
639	install-data-am install-dvi install-dvi-am install-exec \
640	install-exec-am install-html install-html-am install-info \
641	install-info-am install-man install-pdf install-pdf-am \
642	install-ps install-ps-am install-strip installcheck \
643	installcheck-am installdirs maintainer-clean \
644	maintainer-clean-generic maintainer-clean-local mostlyclean \
645	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
646	style-am style-local tags-am uninstall uninstall-am
647
648.PRECIOUS: Makefile
649
650
651$(THRIFT_OMIT_FILE): test/Thrift_omit_with.thrift
652	grep -v omit $< >$@
653
654.generated: $(THRIFT) $(THRIFT_FILES)
655	for f in $(THRIFT_FILES) ; do \
656		$(THRIFT) --gen $(ERL_FLAG) -o test $$f ; \
657	done
658	$(THRIFT) --gen $(ERL_FLAG_LEGACY) -o test test/flags/LegacyNames.thrift
659	$(THRIFT) --gen $(ERL_FLAG_MAPS) -o test test/flags/Thrift3214.thrift
660	touch .generated
661
662all: .generated
663	$(REBAR) compile
664
665check: .generated
666	$(REBAR) eunit
667
668install: all
669	mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift) ; \
670	mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/ebin ; \
671	mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/include ; \
672	mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/src ; \
673	for p in ebin/*.app* ebin/*.beam include/*.hrl src/*.erl ; \
674		do $(INSTALL) $$p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/$$p ; \
675	done
676
677uninstall:
678	$(RM) -rf $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)
679
680clean-local:
681	$(REBAR) clean
682	$(RM)    .generated
683	$(RM) -r .rebar/
684	$(RM) -r _build/
685	$(RM) -r test/gen-erl/
686	$(RM)    $(THRIFT_OMIT_FILE)
687
688maintainer-clean-local:
689	$(RM) -r ebin/
690
691dist-hook:
692	$(RM)    $(distdir)/.generated
693	$(RM) -r $(distdir)/.rebar/
694	$(RM) -r $(distdir)/_build/
695	$(RM) -r $(distdir)/ebin/
696	$(RM) -r $(distdir)/test/gen-erl/
697	$(RM)    $(distdir)/$(THRIFT_OMIT_FILE)
698
699# Tell versions [3.59,3.63) of GNU make to not export all variables.
700# Otherwise a system limit (for SysV at least) may be exceeded.
701.NOEXPORT:
702