blob: ae67d942e8553d3cbc04da8b1663dc75854ac6f9 [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
Kevin Wojniaka3925662019-07-01 11:07:45 -070020AUTOMAKE_OPTIONS = subdir-objects nostdinc
Roger Meier81a1f992014-10-22 14:09:43 +020021
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 \
James E. King IIIe1aacb92018-10-03 14:49:10 +000026 liblualongnumber.la \
Jens Geyer79f988c2014-10-03 20:42:54 +020027 libluabpack.la \
James E. King IIIe1aacb92018-10-03 14:49:10 +000028 libluabitwise.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
Nobuaki Sukegawaa4f96402016-03-09 19:58:18 +090036libluasocket_la_CPPFLAGS = $(AM_CPPFLAGS) $(LUA_INCLUDE) -DLUA_COMPAT_MODULE
37libluasocket_la_LDFLAGS = $(AM_LDFLAGS)
38libluasocket_la_LIBADD = $(LUA_LIB) -lm
Roger Meier6cf0ffc2014-04-05 00:45:42 +020039
jfarrell8fd8c632014-07-10 09:14:51 -040040libluabpack_la_SOURCES = src/luabpack.c
Roger Meier6cf0ffc2014-04-05 00:45:42 +020041
Nobuaki Sukegawaa4f96402016-03-09 19:58:18 +090042libluabpack_la_CPPFLAGS = $(AM_CPPFLAGS) $(LUA_INCLUDE) -DLUA_COMPAT_MODULE
43libluabpack_la_LDFLAGS = $(AM_LDFLAGS)
44libluabpack_la_LIBADD = liblualongnumber.la $(LUA_LIB) -lm
Roger Meier6cf0ffc2014-04-05 00:45:42 +020045
46libluabitwise_la_SOURCES = src/luabitwise.c
47
Nobuaki Sukegawaa4f96402016-03-09 19:58:18 +090048libluabitwise_la_CPPFLAGS = $(AM_CPPFLAGS) $(LUA_INCLUDE) -DLUA_COMPAT_MODULE
49libluabitwise_la_LDFLAGS = $(AM_LDFLAGS)
50libluabitwise_la_LIBADD = $(LUA_LIB) -lm
Roger Meier6cf0ffc2014-04-05 00:45:42 +020051
jfarrell8fd8c632014-07-10 09:14:51 -040052liblualongnumber_la_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +020053 src/lualongnumber.c \
54 src/longnumberutils.c
Roger Meier6cf0ffc2014-04-05 00:45:42 +020055
Nobuaki Sukegawaa4f96402016-03-09 19:58:18 +090056liblualongnumber_la_CPPFLAGS = $(AM_CPPFLAGS) $(LUA_INCLUDE) -DLUA_COMPAT_MODULE
57liblualongnumber_la_LDFLAGS = $(AM_LDFLAGS)
58liblualongnumber_la_LIBADD = $(LUA_LIB) -lm
Roger Meier6cf0ffc2014-04-05 00:45:42 +020059
Thomas63f04582024-03-21 22:51:07 +090060distdir:
61 $(MAKE) $(AM_MAKEFLAGS) distdir-am
62
jfarrellf13e4312015-08-25 00:39:29 -040063EXTRA_DIST = \
64 coding_standards.md \
65 TBinaryProtocol.lua \
Jens Geyer79f988c2014-10-03 20:42:54 +020066 TBufferedTransport.lua \
Nobuaki Sukegawae134cbc2016-03-18 15:13:36 +090067 TCompactProtocol.lua \
Jens Geyer79f988c2014-10-03 20:42:54 +020068 TFramedTransport.lua \
69 Thrift.lua \
Nobuaki Sukegawae134cbc2016-03-18 15:13:36 +090070 THttpTransport.lua \
71 TJsonProtocol.lua \
Jens Geyer79f988c2014-10-03 20:42:54 +020072 TMemoryBuffer.lua \
73 TProtocol.lua \
74 TServer.lua \
75 TSocket.lua \
Roger Meier81a1f992014-10-22 14:09:43 +020076 TTransport.lua