blob: 1c4296795788ecf2af06f0f1a3c0eb9a4fcc04a2 [file] [log] [blame]
Roger Meier6cf0ffc2014-04-05 00:45:42 +02001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20SUBDIRS = .
21
22lib_LTLIBRARIES = libluasocket.la \
23 libluabpack.la \
24 libluabitwise.la \
25 liblualongnumber.la
26
27libluasocket_la_SOURCES = src/luasocket.c \
28 src/usocket.c
29
30libluasocket_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
31libluasocket_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
32
33libluabpack_la_SOURCES = src/luabpack.c
34
35libluabpack_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
36libluabpack_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
37libluabpack_la_LIBADD = liblualongnumber.la
38
39libluabitwise_la_SOURCES = src/luabitwise.c
40
41libluabitwise_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
42libluabitwise_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
43
44liblualongnumber_la_SOURCES = src/lualongnumber.c \
45 src/longnumberutils.c
46
47liblualongnumber_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
48liblualongnumber_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
49
50EXTRA_DIST = TBinaryProtocol.lua \
51 TBufferedTransport.lua \
52 TFramedTransport.lua \
53 Thrift.lua \
54 TMemoryBuffer.lua \
55 TProtocol.lua \
56 TServer.lua \
57 TSocket.lua \
58 TTransport.lua