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 | 8df6c82 | 2008-05-04 03:00:22 +0000 | [diff] [blame] | 10 | src/md5.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 | 2c44d20 | 2007-05-16 02:18:07 +0000 | [diff] [blame] | 13 | src/generate/t_xsd_generator.cc \ |
iproctor | ff8eb92 | 2007-07-25 19:06:13 +0000 | [diff] [blame] | 14 | src/generate/t_erl_generator.cc \ |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 15 | src/globals.h \ |
| 16 | src/main.h \ |
David Reiss | 204420f | 2008-01-11 20:59:03 +0000 | [diff] [blame] | 17 | src/platform.h \ |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 18 | src/md5.h \ |
| 19 | src/parse/t_doc.h \ |
| 20 | src/parse/t_type.h \ |
| 21 | src/parse/t_base_type.h \ |
| 22 | src/parse/t_enum.h \ |
| 23 | src/parse/t_enum_value.h \ |
| 24 | src/parse/t_typedef.h \ |
| 25 | src/parse/t_container.h \ |
| 26 | src/parse/t_list.h \ |
| 27 | src/parse/t_set.h \ |
| 28 | src/parse/t_map.h \ |
| 29 | src/parse/t_struct.h \ |
| 30 | src/parse/t_field.h \ |
| 31 | src/parse/t_service.h \ |
| 32 | src/parse/t_function.h \ |
| 33 | src/parse/t_program.h \ |
| 34 | src/parse/t_scope.h \ |
| 35 | src/parse/t_const.h \ |
| 36 | src/parse/t_const_value.h \ |
| 37 | src/generate/t_generator.h \ |
| 38 | src/generate/t_oop_generator.h \ |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 39 | src/generate/t_php_generator.h \ |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 40 | src/generate/t_xsd_generator.h \ |
David Reiss | 2dfdb2d | 2008-03-27 21:41:27 +0000 | [diff] [blame] | 41 | src/generate/t_erl_generator.h |
iproctor | 9a41a0c | 2007-07-16 21:59:24 +0000 | [diff] [blame] | 42 | |
David Reiss | 2258573 | 2008-02-27 01:55:33 +0000 | [diff] [blame] | 43 | if THRIFT_GEN_cpp |
| 44 | thrift_SOURCES += src/generate/t_cpp_generator.cc |
| 45 | endif |
David Reiss | e8a87de | 2008-02-27 02:39:25 +0000 | [diff] [blame] | 46 | if THRIFT_GEN_java |
| 47 | thrift_SOURCES += src/generate/t_java_generator.cc |
| 48 | endif |
David Reiss | ce4f4f0 | 2008-03-27 21:41:31 +0000 | [diff] [blame] | 49 | if THRIFT_GEN_csharp |
| 50 | thrift_SOURCES += src/generate/t_csharp_generator.cc |
| 51 | endif |
David Reiss | bfd26dc | 2008-03-27 21:41:49 +0000 | [diff] [blame] | 52 | if THRIFT_GEN_py |
| 53 | thrift_SOURCES += src/generate/t_py_generator.cc |
| 54 | endif |
David Reiss | ae25358 | 2008-03-27 21:42:11 +0000 | [diff] [blame] | 55 | if THRIFT_GEN_rb |
| 56 | thrift_SOURCES += src/generate/t_rb_generator.cc |
| 57 | endif |
David Reiss | fdc21aa | 2008-03-27 21:42:34 +0000 | [diff] [blame] | 58 | if THRIFT_GEN_perl |
| 59 | thrift_SOURCES += src/generate/t_perl_generator.cc |
| 60 | endif |
David Reiss | 4b349aa | 2008-03-27 21:41:02 +0000 | [diff] [blame] | 61 | if THRIFT_GEN_cocoa |
| 62 | thrift_SOURCES += src/generate/t_cocoa_generator.cc |
| 63 | endif |
David Reiss | b3ac8a6 | 2008-03-27 21:40:42 +0000 | [diff] [blame] | 64 | if THRIFT_GEN_st |
| 65 | thrift_SOURCES += src/generate/t_st_generator.cc |
| 66 | endif |
David Reiss | 3d671b5 | 2008-03-27 21:40:11 +0000 | [diff] [blame] | 67 | if THRIFT_GEN_ocaml |
| 68 | thrift_SOURCES += src/generate/t_ocaml_generator.cc |
| 69 | endif |
David Reiss | 22812f8 | 2008-03-27 21:40:26 +0000 | [diff] [blame] | 70 | if THRIFT_GEN_hs |
| 71 | thrift_SOURCES += src/generate/t_hs_generator.cc |
| 72 | endif |
David Reiss | 2258573 | 2008-02-27 01:55:33 +0000 | [diff] [blame] | 73 | |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 74 | thrift_CXXFLAGS = -Wall -I$(srcdir)/src $(BOOST_CPPFLAGS) |
Mark Slee | 58dfb4f | 2007-07-06 02:45:25 +0000 | [diff] [blame] | 75 | thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS) |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 76 | |
| 77 | thrift_LDADD = @LEXLIB@ |
| 78 | |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 79 | EXTRA_DIST = README |
David Reiss | b72d19f | 2007-09-18 19:46:00 +0000 | [diff] [blame] | 80 | |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 81 | clean-local: |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 82 | $(RM) thriftl.cc thrifty.cc thrifty.h |