~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/net/tcp_ao/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/selftests/net/tcp_ao/Makefile (Architecture i386) and /tools/testing/selftests/net/tcp_ao/Makefile (Architecture mips)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 TEST_BOTH_AF := bench-lookups                       2 TEST_BOTH_AF := bench-lookups
  3 TEST_BOTH_AF += connect                             3 TEST_BOTH_AF += connect
  4 TEST_BOTH_AF += connect-deny                        4 TEST_BOTH_AF += connect-deny
  5 TEST_BOTH_AF += icmps-accept icmps-discard          5 TEST_BOTH_AF += icmps-accept icmps-discard
  6 TEST_BOTH_AF += key-management                      6 TEST_BOTH_AF += key-management
  7 TEST_BOTH_AF += restore                             7 TEST_BOTH_AF += restore
  8 TEST_BOTH_AF += rst                                 8 TEST_BOTH_AF += rst
  9 TEST_BOTH_AF += self-connect                        9 TEST_BOTH_AF += self-connect
 10 TEST_BOTH_AF += seq-ext                            10 TEST_BOTH_AF += seq-ext
 11 TEST_BOTH_AF += setsockopt-closed                  11 TEST_BOTH_AF += setsockopt-closed
 12 TEST_BOTH_AF += unsigned-md5                       12 TEST_BOTH_AF += unsigned-md5
 13                                                    13 
 14 TEST_IPV4_PROGS := $(TEST_BOTH_AF:%=%_ipv4)        14 TEST_IPV4_PROGS := $(TEST_BOTH_AF:%=%_ipv4)
 15 TEST_IPV6_PROGS := $(TEST_BOTH_AF:%=%_ipv6)        15 TEST_IPV6_PROGS := $(TEST_BOTH_AF:%=%_ipv6)
 16                                                    16 
 17 TEST_GEN_PROGS := $(TEST_IPV4_PROGS) $(TEST_IP     17 TEST_GEN_PROGS := $(TEST_IPV4_PROGS) $(TEST_IPV6_PROGS)
 18                                                    18 
 19 top_srcdir        := ../../../../..                19 top_srcdir        := ../../../../..
 20 include ../../lib.mk                               20 include ../../lib.mk
 21                                                    21 
 22 HOSTAR ?= ar                                       22 HOSTAR ?= ar
 23                                                    23 
 24 LIBDIR  := $(OUTPUT)/lib                           24 LIBDIR  := $(OUTPUT)/lib
 25 LIB     := $(LIBDIR)/libaotst.a                    25 LIB     := $(LIBDIR)/libaotst.a
 26 LDLIBS  += $(LIB) -pthread                         26 LDLIBS  += $(LIB) -pthread
 27 LIBDEPS := lib/aolib.h Makefile                    27 LIBDEPS := lib/aolib.h Makefile
 28                                                    28 
 29 CFLAGS  += -Wall -O2 -g -fno-strict-aliasing       29 CFLAGS  += -Wall -O2 -g -fno-strict-aliasing
 30 CFLAGS  += $(KHDR_INCLUDES)                        30 CFLAGS  += $(KHDR_INCLUDES)
 31 CFLAGS  += -iquote ./lib/ -I ../../../../inclu     31 CFLAGS  += -iquote ./lib/ -I ../../../../include/
 32                                                    32 
 33 # Library                                          33 # Library
 34 LIBSRC  := ftrace.c ftrace-tcp.c kconfig.c net     34 LIBSRC  := ftrace.c ftrace-tcp.c kconfig.c netlink.c
 35 LIBSRC  += proc.c repair.c setup.c sock.c util     35 LIBSRC  += proc.c repair.c setup.c sock.c utils.c
 36 LIBOBJ  := $(LIBSRC:%.c=$(LIBDIR)/%.o)             36 LIBOBJ  := $(LIBSRC:%.c=$(LIBDIR)/%.o)
 37 EXTRA_CLEAN += $(LIBOBJ) $(LIB)                    37 EXTRA_CLEAN += $(LIBOBJ) $(LIB)
 38                                                    38 
 39 $(LIB): $(LIBOBJ)                                  39 $(LIB): $(LIBOBJ)
 40         $(HOSTAR) rcs $@ $^                        40         $(HOSTAR) rcs $@ $^
 41                                                    41 
 42 $(LIBDIR)/%.o: ./lib/%.c $(LIBDEPS)                42 $(LIBDIR)/%.o: ./lib/%.c $(LIBDEPS)
 43         mkdir -p $(LIBDIR)                         43         mkdir -p $(LIBDIR)
 44         $(CC) $< $(CFLAGS) $(CPPFLAGS) -o $@ -     44         $(CC) $< $(CFLAGS) $(CPPFLAGS) -o $@ -c
 45                                                    45 
 46 $(TEST_GEN_PROGS): $(LIB)                          46 $(TEST_GEN_PROGS): $(LIB)
 47                                                    47 
 48 $(OUTPUT)/%_ipv4: %.c                              48 $(OUTPUT)/%_ipv4: %.c
 49         $(LINK.c) $^ $(LDLIBS) -o $@               49         $(LINK.c) $^ $(LDLIBS) -o $@
 50                                                    50 
 51 $(OUTPUT)/%_ipv6: %.c                              51 $(OUTPUT)/%_ipv6: %.c
 52         $(LINK.c) -DIPV6_TEST $^ $(LDLIBS) -o      52         $(LINK.c) -DIPV6_TEST $^ $(LDLIBS) -o $@
 53                                                    53 
 54 $(OUTPUT)/icmps-accept_ipv4: CFLAGS+= -DTEST_I     54 $(OUTPUT)/icmps-accept_ipv4: CFLAGS+= -DTEST_ICMPS_ACCEPT
 55 $(OUTPUT)/icmps-accept_ipv6: CFLAGS+= -DTEST_I     55 $(OUTPUT)/icmps-accept_ipv6: CFLAGS+= -DTEST_ICMPS_ACCEPT
 56 $(OUTPUT)/bench-lookups_ipv4: LDLIBS+= -lm         56 $(OUTPUT)/bench-lookups_ipv4: LDLIBS+= -lm
 57 $(OUTPUT)/bench-lookups_ipv6: LDLIBS+= -lm         57 $(OUTPUT)/bench-lookups_ipv6: LDLIBS+= -lm
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php