blob: eed2043dbc308b7f876f75c03a00a6b2d845e18c [file] [log] [blame]
Mark Sleeeb0d0242007-01-25 07:58:55 +00001AM_YFLAGS = -d
2
3bin_PROGRAMS = thrift
4
5thrift_OBJDIR = obj
6
7thrift_SOURCES = src/thrifty.yy \
8 src/thriftl.ll \
9 src/main.cc \
David Reiss18bf22d2007-08-28 20:49:17 +000010 src/md5c.c \
Mark Sleeeb0d0242007-01-25 07:58:55 +000011 src/generate/t_generator.cc \
Mark Sleeeb0d0242007-01-25 07:58:55 +000012 src/generate/t_php_generator.cc \
Mark Slee6d7d5952007-01-27 01:44:22 +000013 src/generate/t_py_generator.cc \
14 src/generate/t_rb_generator.cc \
Mark Slee2c44d202007-05-16 02:18:07 +000015 src/generate/t_xsd_generator.cc \
Christopher Piro2f5afce2007-06-29 07:17:33 +000016 src/generate/t_perl_generator.cc \
David Reisscbd4bac2007-08-14 17:12:33 +000017 src/generate/t_ocaml_generator.cc \
iproctorff8eb922007-07-25 19:06:13 +000018 src/generate/t_erl_generator.cc \
Mark Slee7e9eea42007-09-10 21:00:23 +000019 src/generate/t_hs_generator.cc \
David Reissb72d19f2007-09-18 19:46:00 +000020 src/generate/t_cocoa_generator.cc \
David Reiss832b2622007-12-28 18:25:33 +000021 src/generate/t_st_generator.cc \
David Reiss7f42bcf2008-01-11 20:59:12 +000022 src/generate/t_csharp_generator.cc \
Mark Sleeefd37f12007-11-20 05:13:09 +000023 src/globals.h \
24 src/main.h \
David Reiss204420f2008-01-11 20:59:03 +000025 src/platform.h \
Mark Sleeefd37f12007-11-20 05:13:09 +000026 src/md5.h \
27 src/parse/t_doc.h \
28 src/parse/t_type.h \
29 src/parse/t_base_type.h \
30 src/parse/t_enum.h \
31 src/parse/t_enum_value.h \
32 src/parse/t_typedef.h \
33 src/parse/t_container.h \
34 src/parse/t_list.h \
35 src/parse/t_set.h \
36 src/parse/t_map.h \
37 src/parse/t_struct.h \
38 src/parse/t_field.h \
39 src/parse/t_service.h \
40 src/parse/t_function.h \
41 src/parse/t_program.h \
42 src/parse/t_scope.h \
43 src/parse/t_const.h \
44 src/parse/t_const_value.h \
45 src/generate/t_generator.h \
46 src/generate/t_oop_generator.h \
Mark Sleeefd37f12007-11-20 05:13:09 +000047 src/generate/t_php_generator.h \
48 src/generate/t_py_generator.h \
49 src/generate/t_rb_generator.h \
50 src/generate/t_xsd_generator.h \
51 src/generate/t_perl_generator.h \
Mark Sleeefd37f12007-11-20 05:13:09 +000052 src/generate/t_erl_generator.h \
53 src/generate/t_hs_generator.h \
54 src/generate/t_cocoa_generator.h \
David Reiss7f42bcf2008-01-11 20:59:12 +000055 src/generate/t_st_generator.h \
56 src/generate/t_csharp_generator.h
iproctor9a41a0c2007-07-16 21:59:24 +000057
David Reiss22585732008-02-27 01:55:33 +000058if THRIFT_GEN_cpp
59thrift_SOURCES += src/generate/t_cpp_generator.cc
60endif
David Reisse8a87de2008-02-27 02:39:25 +000061if THRIFT_GEN_java
62thrift_SOURCES += src/generate/t_java_generator.cc
63endif
David Reiss22585732008-02-27 01:55:33 +000064
David Reiss832b2622007-12-28 18:25:33 +000065thrift_CXXFLAGS = -Wall -I$(srcdir)/src $(BOOST_CPPFLAGS)
Mark Slee58dfb4f2007-07-06 02:45:25 +000066thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS)
Mark Sleeeb0d0242007-01-25 07:58:55 +000067
68thrift_LDADD = @LEXLIB@
69
David Reiss832b2622007-12-28 18:25:33 +000070EXTRA_DIST = README
David Reissb72d19f2007-09-18 19:46:00 +000071
Mark Sleeeb0d0242007-01-25 07:58:55 +000072clean-local:
David Reiss2ca456a2008-02-24 16:42:18 +000073 $(RM) thriftl.cc thrifty.cc thrifty.h