1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/usr.bin/truss
Dag-Erling Smørgrav 0d7cc1d0eb Normally, when a header file is removed from the build (as i4b headers
were recently), a simple 'make cleandepend; make depend' is sufficient
to keep the tree buildable after a cvs update when doing incremental
builds.

However, kdump and truss use a script which searches for header files
that define ioctls, and generates C code that includes them.  This
script will usually not need updating when a header file is removed,
so the normal dependency mechanism will not realize that it needs to
be re-run.  One is therefore left with code that references dead files
but will only be removed by a full 'make clean', which defeats the
purpose of incremental builds.

To work around this, modify the cleandepend target in bsd.dep.mk to
also remove any files listed in a new variable named CLEANDEPFILES,
and modify kdump's and truss's Makefiles accordingly.

MFC after:	2 weeks
2008-02-03 11:34:56 +00:00
..
amd64-fbsd32.c Fix handling of Quad-type arguments. Previously, syscalls 2007-07-28 23:15:04 +00:00
amd64-fbsd.c MFp4: Bugfixes for truss(1): 2007-06-26 22:42:37 +00:00
amd64-linux32.c MFp4: Bugfixes for truss(1): 2007-06-26 22:42:37 +00:00
extern.h Make use of ptrace(2) instead of procfs in truss(1), eliminating 2007-04-10 04:03:34 +00:00
i386-fbsd.c Fix handling of Quad-type arguments. Previously, syscalls 2007-07-28 23:15:04 +00:00
i386-linux.c MFp4: Bugfixes for truss(1): 2007-06-26 22:42:37 +00:00
i386.conf Don't want a stray systrace_args.c in objdir. 2007-05-22 10:36:12 +00:00
i386linux.conf Don't want a stray systrace_args.c in objdir. 2007-05-22 10:36:12 +00:00
ia64-fbsd.c MFp4: Bugfixes for truss(1): 2007-06-26 22:42:37 +00:00
main.c Syscalls have at most 6 argument, not 5. See mmap(2) for example. 2007-07-28 23:00:42 +00:00
Makefile Normally, when a header file is removed from the build (as i4b headers 2008-02-03 11:34:56 +00:00
powerpc-fbsd.c Fix handling of Quad-type arguments. Previously, syscalls 2007-07-28 23:15:04 +00:00
setup.c MFp4: Bugfixes for truss(1): 2007-06-26 22:42:37 +00:00
sparc64-fbsd.c MFp4: Bugfixes for truss(1): 2007-06-26 22:42:37 +00:00
syscall.h Make use of ptrace(2) instead of procfs in truss(1), eliminating 2007-04-10 04:03:34 +00:00
syscalls.c The break() system call takes a pointer argument, not an integer. This 2008-01-03 00:18:03 +00:00
truss.1 Remove duplicate ' 2' manpage section number. 2007-05-21 20:33:51 +00:00
truss.h Make use of ptrace(2) instead of procfs in truss(1), eliminating 2007-04-10 04:03:34 +00:00