| 1 |
# ip tests Makefile, for libreswan |
| 2 |
# |
| 3 |
# Copyright (C) 2018 Andrew Cagney |
| 4 |
# |
| 5 |
# This program is free software; you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU General Public License as published by the |
| 7 |
# Free Software Foundation; either version 2 of the License, or (at your |
| 8 |
# option) any later version. See <https://www.gnu.org/licenses/gpl2.txt>. |
| 9 |
# |
| 10 |
# This program is distributed in the hope that it will be useful, but |
| 11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 12 |
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 13 |
# for more details. |
| 14 |
|
| 15 |
# XXX: Hack to suppress the man page. Should one be added? |
| 16 |
PROGRAM_MANPAGE = |
| 17 |
|
| 18 |
PROGRAM = _ipcheck |
| 19 |
|
| 20 |
OBJS += ipcheck.o |
| 21 |
OBJS += ip_sockaddr_check.o |
| 22 |
OBJS += ip_address_check.o |
| 23 |
OBJS += ip_endpoint_check.o |
| 24 |
OBJS += ip_range_check.o |
| 25 |
OBJS += ip_subnet_check.o |
| 26 |
OBJS += ip_selector_check.o |
| 27 |
OBJS += ip_said_check.o |
| 28 |
OBJS += ip_info_check.o |
| 29 |
OBJS += ip_protoport_check.o |
| 30 |
OBJS += ip_port_check.o |
| 31 |
OBJS += ip_port_range_check.o |
| 32 |
OBJS += ip_cidr_check.o |
| 33 |
OBJS += ip_protocol_check.o |
| 34 |
OBJS += ip_packet_check.o |
| 35 |
|
| 36 |
OBJS += $(LIBRESWANLIB) |
| 37 |
OBJS += $(LSWTOOLLIBS) |
| 38 |
|
| 39 |
ifdef top_srcdir |
| 40 |
include $(top_srcdir)/mk/program.mk |
| 41 |
else |
| 42 |
include ../../../mk/program.mk |
| 43 |
endif |
| 44 |
|
| 45 |
local-check: $(PROGRAM) |
| 46 |
$(builddir)/$(PROGRAM) --dns=yes |