blob: 8f36fa929466e5f67dc014c9f6ccfdef8eb61fc8 [file] [log] [blame]
Roland McGrath6d2b3492002-12-30 00:51:30 +00001# Automake input for strace.
2
3bin_PROGRAMS = strace
4man_MANS = strace.1
5
6# OS is one of `linux', `sunos4', `svr4', or `freebsd'.
7OS = @opsys@
8# ARCH is `i386', `m68k', `sparc', etc.
9ARCH = @arch@
Roland McGrath6d2b3492002-12-30 00:51:30 +000010
11INCLUDES = -I$(OS)/$(ARCH) -I$(srcdir)/$(OS)/$(ARCH) -I$(OS) -I$(srcdir)/$(OS)
12
Roland McGrath6d2b3492002-12-30 00:51:30 +000013strace_SOURCES = strace.c version.c syscall.c util.c desc.c file.c ipc.c \
14 io.c ioctl.c mem.c net.c process.c bjm.c \
15 resource.c signal.c sock.c system.c term.c time.c \
16 proc.c stream.c
Roland McGrath2746edd2002-12-30 09:13:08 +000017noinst_HEADERS = defs.h
Roland McGrath6d2b3492002-12-30 00:51:30 +000018
Roland McGrath80964aa2002-12-30 01:11:08 +000019EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \
20 linux/ioctlsort.c \
21 linux/ioctlent.h linux/errnoent.h linux/signalent.h \
22 linux/syscall.h linux/syscallent.h linux/dummy.h \
Roland McGrath2746edd2002-12-30 09:13:08 +000023 linux/alpha/errnoent.h linux/alpha/ioctlent.h \
24 linux/alpha/signalent.h linux/alpha/syscallent.h linux/dummy.h \
25 linux/errnoent.h linux/ioctlent.h linux/signalent.h \
26 linux/syscall.h linux/syscallent.h linux/hppa/errnoent.h \
27 linux/hppa/ioctlent.h linux/hppa/signalent.h \
28 linux/hppa/syscallent.h linux/ia64/syscallent.h \
29 linux/ia64/errnoent.h linux/ia64/ioctlent.h \
30 linux/ia64/signalent.h linux/mips/errnoent.h \
31 linux/mips/ioctlent.h linux/mips/signalent.h \
32 linux/mips/syscallent.h linux/powerpc/syscallent.h \
33 linux/powerpc/errnoent.h linux/powerpc/ioctlent.h \
34 linux/powerpc/signalent.h linux/s390/errnoent.h \
35 linux/s390/ioctlent.h linux/s390/signalent.h \
36 linux/s390/syscallent.h linux/s390x/errnoent.h \
37 linux/s390x/ioctlent.h linux/s390x/signalent.h \
38 linux/s390x/syscallent.h linux/sparc/dummy2.h \
39 linux/sparc/errnoent.h linux/sparc/errnoent1.h \
40 linux/sparc/ioctlent.h linux/sparc/ioctlent1.h \
41 linux/sparc/signalent.h linux/sparc/signalent1.h \
42 linux/sparc/syscall.h linux/sparc/syscall1.h \
43 linux/sparc/syscallent.h linux/sparc/syscallent1.h \
44 linux/x86_64/syscallent.h linux/x86_64/gentab.pl \
45 linux/x86_64/i386-headers.diff linux/x86_64/makeheaders.sh \
Roland McGrath80964aa2002-12-30 01:11:08 +000046 freebsd/ioctlent.sh \
47 freebsd/syscalls.cat freebsd/syscalls.pl freebsd/syscalls.print \
Roland McGrath2746edd2002-12-30 09:13:08 +000048 freebsd/i386/errnoent.h freebsd/i386/ioctlent.h \
49 freebsd/i386/signalent.h \
50 freebsd/i386/syscall.h freebsd/i386/syscallent.h \
Roland McGrath80964aa2002-12-30 01:11:08 +000051 sunos4/dummy.h sunos4/errnoent.h \
52 sunos4/ioctlent.h sunos4/ioctlent.sh sunos4/signalent.h \
53 sunos4/syscall.h sunos4/syscallent.h \
54 svr4/dummy.h svr4/errnoent.h svr4/ioctlent.h svr4/ioctlent.sh \
Roland McGrath2746edd2002-12-30 09:13:08 +000055 svr4/signalent.h svr4/syscall.h svr4/syscallent.h \
56 debian/changelog debian/control debian/copyright \
57 debian/postinst debian/prerm debian/rules strace.spec
58
59if LINUX
60if X86_64
61
62BUILT_SOURCES = linux/x86_64/syscallent1.h linux/x86_64/syscall1.h \
63 linux/x86_64/signalent1.h linux/x86_64/ioctls1.h \
64 linux/x86_64/ioctlent1.h linux/x86_64/ioctldefs1.h \
65 linux/x86_64/errnoent1.h linux/x86_64/dummy1.h
66
67$(BUILT_SOURCES): $(srcdir)/linux/x86_64/makeheaders.sh
68 cd linux/x86_64 && $(SHELL) ./makeheaders.sh
69
70endif X86_64
71endif LINUX