blob: fe6c9365f49c74415f9a5c83e8a02069bdfc1258 [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
jfarrell8fd8c632014-07-10 09:14:51 -040022lib_LTLIBRARIES = \
Jens Geyeraaa89472014-10-03 20:22:28 +020023 libluasocket.la \
24 libluabpack.la \
25 libluabitwise.la \
26 liblualongnumber.la
Roger Meier6cf0ffc2014-04-05 00:45:42 +020027
jfarrell8fd8c632014-07-10 09:14:51 -040028libluasocket_la_SOURCES = \
Jens Geyeraaa89472014-10-03 20:22:28 +020029 src/luasocket.c \
30 src/usocket.c
jfarrell8fd8c632014-07-10 09:14:51 -040031
32nobase_include_HEADERS = src/socket.h
Roger Meier6cf0ffc2014-04-05 00:45:42 +020033
34libluasocket_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
35libluasocket_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
36
jfarrell8fd8c632014-07-10 09:14:51 -040037libluabpack_la_SOURCES = src/luabpack.c
Roger Meier6cf0ffc2014-04-05 00:45:42 +020038
39libluabpack_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
jfarrell8fd8c632014-07-10 09:14:51 -040040libluabpack_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
Roger Meier6cf0ffc2014-04-05 00:45:42 +020041libluabpack_la_LIBADD = liblualongnumber.la
42
43libluabitwise_la_SOURCES = src/luabitwise.c
44
45libluabitwise_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
46libluabitwise_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
47
jfarrell8fd8c632014-07-10 09:14:51 -040048liblualongnumber_la_SOURCES = \
Jens Geyeraaa89472014-10-03 20:22:28 +020049 src/lualongnumber.c \
50 src/longnumberutils.c
Roger Meier6cf0ffc2014-04-05 00:45:42 +020051
52liblualongnumber_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
53liblualongnumber_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
54
55EXTRA_DIST = TBinaryProtocol.lua \
Jens Geyeraaa89472014-10-03 20:22:28 +020056 TBufferedTransport.lua \
57 TFramedTransport.lua \
58 Thrift.lua \
59 TMemoryBuffer.lua \
60 TProtocol.lua \
61 TServer.lua \
62 TSocket.lua \
63 TTransport.lua