AM_CFLAGS = -Wall -Wextra -Wno-sign-compare prog = if IPV4 prog += fping endif if IPV6 prog += fping6 endif sbin_PROGRAMS = ${prog} fping_SOURCES = fping.c seqmap.c socket.c socket4.c fping.h options.h seqmap.h fping_DEPENDENCIES = ../config.h fping6_SOURCES = fping.c seqmap.c socket.c socket6.c fping.h options.h seqmap.h fping6_DEPENDENCIES = ../config.h fping6_CFLAGS = $(AM_CFLAGS) -DIPV6