Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 1 | AM_YFLAGS = -d |
| 2 | |
| 3 | bin_PROGRAMS = thrift |
| 4 | |
| 5 | thrift_OBJDIR = obj |
| 6 | |
| 7 | thrift_SOURCES = src/thrifty.yy \ |
| 8 | src/thriftl.ll \ |
| 9 | src/main.cc \ |
David Reiss | 18bf22d | 2007-08-28 20:49:17 +0000 | [diff] [blame] | 10 | src/md5c.c \ |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 11 | src/generate/t_generator.cc \ |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 12 | src/generate/t_php_generator.cc \ |
Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +0000 | [diff] [blame] | 13 | src/generate/t_py_generator.cc \ |
| 14 | src/generate/t_rb_generator.cc \ |
Mark Slee | 2c44d20 | 2007-05-16 02:18:07 +0000 | [diff] [blame] | 15 | src/generate/t_xsd_generator.cc \ |
Christopher Piro | 2f5afce | 2007-06-29 07:17:33 +0000 | [diff] [blame] | 16 | src/generate/t_perl_generator.cc \ |
David Reiss | cbd4bac | 2007-08-14 17:12:33 +0000 | [diff] [blame] | 17 | src/generate/t_ocaml_generator.cc \ |
iproctor | ff8eb92 | 2007-07-25 19:06:13 +0000 | [diff] [blame] | 18 | src/generate/t_erl_generator.cc \ |
Mark Slee | 7e9eea4 | 2007-09-10 21:00:23 +0000 | [diff] [blame] | 19 | src/generate/t_hs_generator.cc \ |
David Reiss | b72d19f | 2007-09-18 19:46:00 +0000 | [diff] [blame] | 20 | src/generate/t_cocoa_generator.cc \ |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 21 | src/generate/t_st_generator.cc \ |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 22 | src/generate/t_csharp_generator.cc \ |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 23 | src/globals.h \ |
| 24 | src/main.h \ |
David Reiss | 204420f | 2008-01-11 20:59:03 +0000 | [diff] [blame] | 25 | src/platform.h \ |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 26 | 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 Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 47 | 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 \ |
| 52 | src/generate/t_ocaml_generator.h \ |
| 53 | src/generate/t_erl_generator.h \ |
| 54 | src/generate/t_hs_generator.h \ |
| 55 | src/generate/t_cocoa_generator.h \ |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 56 | src/generate/t_st_generator.h \ |
| 57 | src/generate/t_csharp_generator.h |
iproctor | 9a41a0c | 2007-07-16 21:59:24 +0000 | [diff] [blame] | 58 | |
David Reiss | 2258573 | 2008-02-27 01:55:33 +0000 | [diff] [blame] | 59 | if THRIFT_GEN_cpp |
| 60 | thrift_SOURCES += src/generate/t_cpp_generator.cc |
| 61 | endif |
David Reiss | e8a87de | 2008-02-27 02:39:25 +0000 | [diff] [blame] | 62 | if THRIFT_GEN_java |
| 63 | thrift_SOURCES += src/generate/t_java_generator.cc |
| 64 | endif |
David Reiss | 2258573 | 2008-02-27 01:55:33 +0000 | [diff] [blame] | 65 | |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 66 | thrift_CXXFLAGS = -Wall -I$(srcdir)/src $(BOOST_CPPFLAGS) |
Mark Slee | 58dfb4f | 2007-07-06 02:45:25 +0000 | [diff] [blame] | 67 | thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS) |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 68 | |
| 69 | thrift_LDADD = @LEXLIB@ |
| 70 | |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 71 | EXTRA_DIST = README |
David Reiss | b72d19f | 2007-09-18 19:46:00 +0000 | [diff] [blame] | 72 | |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 73 | clean-local: |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 74 | $(RM) thriftl.cc thrifty.cc thrifty.h |