]> git.ipfire.org Git - ipfire-2.x.git/blame - lfs/libtirpc
suricata: Change midstream policy to "pass-flow"
[ipfire-2.x.git] / lfs / libtirpc
CommitLineData
a1a05a44
JS
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
024220e4 4# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
a1a05a44
JS
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
f15707c7
RR
27SUMMARY = Transport Independent RPC Library
28
787ab585 29VER = 1.3.3
a1a05a44
JS
30
31THISAPP = libtirpc-$(VER)
32DL_FILE = $(THISAPP).tar.bz2
33DL_FROM = $(URL_IPFIRE)
34DIR_APP = $(DIR_SRC)/$(THISAPP)
35TARGET = $(DIR_INFO)/$(THISAPP)
f15707c7 36
40ccdee8
MT
37CFLAGS += -fcommon
38
a1a05a44
JS
39###############################################################################
40# Top-level Rules
41###############################################################################
42
43objects = $(DL_FILE)
44
45$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
46
787ab585 47$(DL_FILE)_BLAKE2 = e229869b05103d912b677f78648dce1f7fa7649bdf44b782a5fb97635eecf07f768bbc0ef25c0f065c8253fbe37c12b80934d9102b7345adfc4102897458b487
a1a05a44
JS
48
49install : $(TARGET)
50
51check : $(patsubst %,$(DIR_CHK)/%,$(objects))
52
53download :$(patsubst %,$(DIR_DL)/%,$(objects))
54
9a7e4d85 55b2 : $(subst %,%_BLAKE2,$(objects))
a1a05a44 56
a1a05a44 57###############################################################################
9a7e4d85 58# Downloading, checking, b2sum
a1a05a44
JS
59###############################################################################
60
61$(patsubst %,$(DIR_CHK)/%,$(objects)) :
62 @$(CHECK)
63
64$(patsubst %,$(DIR_DL)/%,$(objects)) :
65 @$(LOAD)
66
9a7e4d85
PM
67$(subst %,%_BLAKE2,$(objects)) :
68 @$(B2SUM)
a1a05a44
JS
69
70###############################################################################
71# Installation Details
72###############################################################################
73
74$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
75 @$(PREBUILD)
76 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
158fdd46 77 $(UPDATE_AUTOMAKE)
024220e4
AB
78 cd $(DIR_APP) && ./configure \
79 --prefix=/usr \
80 --sysconfdir=/etc \
81 --disable-gssapi \
82 --disable-ipv6 \
83 --disable-static
a1a05a44
JS
84 cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
85 cd $(DIR_APP) && make install
86 @rm -rf $(DIR_APP)
87 @$(POSTBUILD)