summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 2e460503be87a72858d2829b6f6d4448df74bb86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
#   force-ip-protocol
#   Copyright (C) 2023 Thorsten Alteholz
#
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, version 2 of the License.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

ACLOCAL_AMFLAGS = -I m4

lib_LTLIBRARIES=libforce-ip-protocol-ipv4.la libforce-ip-protocol-ipv6.la

libforce_ip_protocol_ipv6_la_SOURCES=force-ip-protocol-ipv4-or-ipv6.c
libforce_ip_protocol_ipv6_la_CFLAGS=-fPIC -DUSE_IPV6
libforce_ip_protocol_ipv6_la_LDFLAGS= -shared -fPIC

libforce_ip_protocol_ipv4_la_SOURCES=force-ip-protocol-ipv4-or-ipv6.c
libforce_ip_protocol_ipv4_la_CFLAGS=-fPIC -DUSE_IPV4
libforce_ip_protocol_ipv4_la_LDFLAGS= -shared -fPIC