thrift/compiler/cpp/Makefile.am
David Reiss 9f2a5d7799 Rename "alterl" to "erl".
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666481 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 01:15:45 +00:00

83 lines
2.4 KiB
Makefile

AM_YFLAGS = -d
bin_PROGRAMS = thrift
thrift_OBJDIR = obj
thrift_SOURCES = src/thrifty.yy \
src/thriftl.ll \
src/main.cc \
src/md5.c \
src/generate/t_generator.cc \
src/generate/t_php_generator.cc \
src/generate/t_xsd_generator.cc \
src/generate/t_erl_generator.cc \
src/globals.h \
src/main.h \
src/platform.h \
src/md5.h \
src/parse/t_doc.h \
src/parse/t_type.h \
src/parse/t_base_type.h \
src/parse/t_enum.h \
src/parse/t_enum_value.h \
src/parse/t_typedef.h \
src/parse/t_container.h \
src/parse/t_list.h \
src/parse/t_set.h \
src/parse/t_map.h \
src/parse/t_struct.h \
src/parse/t_field.h \
src/parse/t_service.h \
src/parse/t_function.h \
src/parse/t_program.h \
src/parse/t_scope.h \
src/parse/t_const.h \
src/parse/t_const_value.h \
src/generate/t_generator.h \
src/generate/t_oop_generator.h \
src/generate/t_php_generator.h \
src/generate/t_xsd_generator.h \
src/generate/t_erl_generator.h
if THRIFT_GEN_cpp
thrift_SOURCES += src/generate/t_cpp_generator.cc
endif
if THRIFT_GEN_java
thrift_SOURCES += src/generate/t_java_generator.cc
endif
if THRIFT_GEN_csharp
thrift_SOURCES += src/generate/t_csharp_generator.cc
endif
if THRIFT_GEN_py
thrift_SOURCES += src/generate/t_py_generator.cc
endif
if THRIFT_GEN_rb
thrift_SOURCES += src/generate/t_rb_generator.cc
endif
if THRIFT_GEN_perl
thrift_SOURCES += src/generate/t_perl_generator.cc
endif
if THRIFT_GEN_cocoa
thrift_SOURCES += src/generate/t_cocoa_generator.cc
endif
if THRIFT_GEN_st
thrift_SOURCES += src/generate/t_st_generator.cc
endif
if THRIFT_GEN_ocaml
thrift_SOURCES += src/generate/t_ocaml_generator.cc
endif
if THRIFT_GEN_hs
thrift_SOURCES += src/generate/t_hs_generator.cc
endif
thrift_CXXFLAGS = -Wall -I$(srcdir)/src $(BOOST_CPPFLAGS)
thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS)
thrift_LDADD = @LEXLIB@
EXTRA_DIST = README
clean-local:
$(RM) thriftl.cc thrifty.cc thrifty.h