File: Makefile.am

package info (click to toggle)
lwip 2.0.3-3%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,276 kB
  • sloc: ansic: 71,675; makefile: 134; perl: 81; sh: 28
file content (163 lines) | stat: -rw-r--r-- 4,921 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
#   Copyright (C) 2017 Free Software Foundation, Inc.
#
#   This file is part of the GNU Hurd.
#
#   The GNU Hurd 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; either version 2, or (at
#   your option) any later version.
#
#   The GNU Hurd 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, write to the Free Software
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.

ACLOCAL_AMFLAGS = -I m4 --install

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lwip.pc

include $(srcdir)/Filelists.mk

PORTDIR = $(srcdir)/port
#LWIPDIR = $(srcdir)/src

#ARCHFILES: architecture specific files.
ARCHFILES = port/sys_arch.c

#ARCHHEADERS: architecture specific headers.
ARCHHEADERS = port/include/arch/cc.h \
	port/include/arch/sys_arch.h \
	port/include/lwipopts.h \
	port/include/posix/inet.h \
	port/include/posix/socket.h

LWIPFILES = $(LWIPALLFILES) $(ARCHFILES)
LWIPHEADERS = $(LWIPALLHEADERS) $(ARCHHEADERS)

lib_LTLIBRARIES=liblwip.la

liblwip_la_SOURCES= $(LWIPFILES) $(LWIPHEADERS)

liblwip_la_includedir= \
	$(includedir)/lwip

liblwip_la_include_HEADERS = \
	$(PORTDIR)/include/lwipopts.h

liblwip_la_lwip_includedir= \
	$(includedir)/lwip/lwip

liblwip_la_lwip_include_HEADERS = \
	$(LWIPDIR)/include/lwip/api.h \
	$(LWIPDIR)/include/lwip/arch.h \
	$(LWIPDIR)/include/lwip/autoip.h \
	$(LWIPDIR)/include/lwip/debug.h \
	$(LWIPDIR)/include/lwip/def.h \
	$(LWIPDIR)/include/lwip/dhcp.h \
	$(LWIPDIR)/include/lwip/err.h \
	$(LWIPDIR)/include/lwip/errno.h \
	$(LWIPDIR)/include/lwip/etharp.h \
	$(LWIPDIR)/include/lwip/ethip6.h \
	$(LWIPDIR)/include/lwip/icmp.h \
	$(LWIPDIR)/include/lwip/icmp6.h \
	$(LWIPDIR)/include/lwip/igmp.h \
	$(LWIPDIR)/include/lwip/inet.h \
	$(LWIPDIR)/include/lwip/inet_chksum.h \
	$(LWIPDIR)/include/lwip/init.h \
	$(LWIPDIR)/include/lwip/ip.h \
	$(LWIPDIR)/include/lwip/ip4.h \
	$(LWIPDIR)/include/lwip/ip4_addr.h \
	$(LWIPDIR)/include/lwip/ip4_frag.h \
	$(LWIPDIR)/include/lwip/ip6.h \
	$(LWIPDIR)/include/lwip/ip6_addr.h \
	$(LWIPDIR)/include/lwip/ip6_frag.h \
	$(LWIPDIR)/include/lwip/ip_addr.h \
	$(LWIPDIR)/include/lwip/lwip_inet.h \
	$(LWIPDIR)/include/lwip/lwip_sockets.h \
	$(LWIPDIR)/include/lwip/mem.h \
	$(LWIPDIR)/include/lwip/memp.h \
	$(LWIPDIR)/include/lwip/mld6.h \
	$(LWIPDIR)/include/lwip/nd6.h \
	$(LWIPDIR)/include/lwip/netbuf.h \
	$(LWIPDIR)/include/lwip/netdb.h \
	$(LWIPDIR)/include/lwip/netif.h \
	$(LWIPDIR)/include/lwip/netifapi.h \
	$(LWIPDIR)/include/lwip/opt.h \
	$(LWIPDIR)/include/lwip/pbuf.h \
	$(LWIPDIR)/include/lwip/raw.h \
	$(LWIPDIR)/include/lwip/snmp.h \
	$(LWIPDIR)/include/lwip/sockets.h \
	$(LWIPDIR)/include/lwip/stats.h \
	$(LWIPDIR)/include/lwip/sys.h \
	$(LWIPDIR)/include/lwip/tcp.h \
	$(LWIPDIR)/include/lwip/tcpip.h \
	$(LWIPDIR)/include/lwip/timeouts.h \
	$(LWIPDIR)/include/lwip/udp.h

liblwip_la_lwip_priv_includedir= \
	$(includedir)/lwip/lwip/priv

liblwip_la_lwip_priv_include_HEADERS = \
	$(LWIPDIR)/include/lwip/priv/api_msg.h \
	$(LWIPDIR)/include/lwip/priv/memp_priv.h \
	$(LWIPDIR)/include/lwip/priv/memp_std.h \
	$(LWIPDIR)/include/lwip/priv/nd6_priv.h \
	$(LWIPDIR)/include/lwip/priv/tcp_priv.h \
	$(LWIPDIR)/include/lwip/priv/tcpip_priv.h

liblwip_la_lwip_prot_includedir= \
	$(includedir)/lwip/lwip/prot

liblwip_la_lwip_prot_include_HEADERS = \
	$(LWIPDIR)/include/lwip/prot/autoip.h \
	$(LWIPDIR)/include/lwip/prot/dhcp.h \
	$(LWIPDIR)/include/lwip/prot/dns.h \
	$(LWIPDIR)/include/lwip/prot/etharp.h \
	$(LWIPDIR)/include/lwip/prot/ethernet.h \
	$(LWIPDIR)/include/lwip/prot/icmp.h \
	$(LWIPDIR)/include/lwip/prot/icmp6.h \
	$(LWIPDIR)/include/lwip/prot/igmp.h \
	$(LWIPDIR)/include/lwip/prot/ip.h \
	$(LWIPDIR)/include/lwip/prot/ip4.h \
	$(LWIPDIR)/include/lwip/prot/ip6.h \
	$(LWIPDIR)/include/lwip/prot/mld6.h \
	$(LWIPDIR)/include/lwip/prot/nd6.h \
	$(LWIPDIR)/include/lwip/prot/tcp.h \
	$(LWIPDIR)/include/lwip/prot/udp.h

liblwip_la_netif_includedir= \
	$(includedir)/lwip/netif

liblwip_la_netif_include_HEADERS = \
	$(LWIPDIR)/include/netif/etharp.h \
	$(LWIPDIR)/include/netif/ethernet.h

liblwip_la_arch_includedir= \
	$(includedir)/lwip/arch

liblwip_la_arch_include_HEADERS = \
	$(PORTDIR)/include/arch/cc.h \
	$(PORTDIR)/include/arch/sys_arch.h

liblwip_la_posix_includedir= \
	$(includedir)/lwip/posix

liblwip_la_posix_include_HEADERS = \
	$(PORTDIR)/include/posix/inet.h \
	$(PORTDIR)/include/posix/socket.h

liblwip_la_CFLAGS = \
	-I$(LWIPDIR)/include \
	-I$(PORTDIR)/include \
	-D_GNU_SOURCE \
	-D_FILE_OFFSET_BITS=64 \
	-std=gnu99 -Wall

liblwip_la_LIBADD = \
	-lpthread