summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 789cd9acdf5d2ae51947a8df37dc55e00d35c24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AM_CFLAGS = -Wall

man_MANS = ethtool.8
EXTRA_DIST = LICENSE ethtool.8 ethtool.spec.in aclocal.m4 ChangeLog autogen.sh

sbin_PROGRAMS = ethtool
ethtool_SOURCES = ethtool.c ethtool-copy.h internal.h net_tstamp-copy.h \
		  amd8111e.c de2104x.c e100.c e1000.c igb.c	\
		  fec_8xx.c ibm_emac.c ixgb.c ixgbe.c natsemi.c	\
		  pcnet32.c realtek.c tg3.c marvell.c vioc.c	\
		  smsc911x.c at76c50x-usb.c sfc.c stmmac.c	\
		  rxclass.c sfpid.c

TESTS = test-cmdline
check_PROGRAMS = test-cmdline test-one-cmdline
test_cmdline_SOURCES = test-cmdline.c test-common.c
test_cmdline_CFLAGS = -DTEST_ETHTOOL
test_one_cmdline_SOURCES = $(ethtool_SOURCES)
test_one_cmdline_CFLAGS = -DTEST_ETHTOOL

dist-hook:
	cp $(top_srcdir)/ethtool.spec $(distdir)