blob: 16170d461ec1075f5353b1a975d2ae5e0783c679 [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
Roger Meier81a1f992014-10-22 14:09:43 +020020AUTOMAKE_OPTIONS = subdir-objects
21
Roger Meier6cf0ffc2014-04-05 00:45:42 +020022SUBDIRS = .
23
jfarrell8fd8c632014-07-10 09:14:51 -040024lib_LTLIBRARIES = \
Jens Geyer79f988c2014-10-03 20:42:54 +020025 libluasocket.la \
26 libluabpack.la \
27 libluabitwise.la \
28 liblualongnumber.la
Roger Meier6cf0ffc2014-04-05 00:45:42 +020029
jfarrell8fd8c632014-07-10 09:14:51 -040030libluasocket_la_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +020031 src/luasocket.c \
32 src/usocket.c
jfarrell8fd8c632014-07-10 09:14:51 -040033
34nobase_include_HEADERS = src/socket.h
Roger Meier6cf0ffc2014-04-05 00:45:42 +020035
36libluasocket_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
37libluasocket_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
38
jfarrell8fd8c632014-07-10 09:14:51 -040039libluabpack_la_SOURCES = src/luabpack.c
Roger Meier6cf0ffc2014-04-05 00:45:42 +020040
41libluabpack_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
jfarrell8fd8c632014-07-10 09:14:51 -040042libluabpack_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
Roger Meier6cf0ffc2014-04-05 00:45:42 +020043libluabpack_la_LIBADD = liblualongnumber.la
44
45libluabitwise_la_SOURCES = src/luabitwise.c
46
47libluabitwise_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
48libluabitwise_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
49
jfarrell8fd8c632014-07-10 09:14:51 -040050liblualongnumber_la_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +020051 src/lualongnumber.c \
52 src/longnumberutils.c
Roger Meier6cf0ffc2014-04-05 00:45:42 +020053
54liblualongnumber_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
55liblualongnumber_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
56
57EXTRA_DIST = TBinaryProtocol.lua \
Jens Geyer79f988c2014-10-03 20:42:54 +020058 TBufferedTransport.lua \
59 TFramedTransport.lua \
60 Thrift.lua \
61 TMemoryBuffer.lua \
62 TProtocol.lua \
63 TServer.lua \
64 TSocket.lua \
Roger Meier81a1f992014-10-22 14:09:43 +020065 TTransport.lua