]> granicus.if.org Git - strace/commitdiff
2002-12-26 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Mon, 30 Dec 2002 00:51:22 +0000 (00:51 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 30 Dec 2002 00:51:22 +0000 (00:51 +0000)
* linux/Makefile.am: New file.
* linux/Makefile.in: File removed.
* freebsd/Makefile.am: New file.
* freebsd/i386/Makefile.am: New file.
* freebsd/i386/Makefile.in: File removed.

freebsd/Makefile.am [new file with mode: 0644]
freebsd/i386/Makefile.am [new file with mode: 0644]
freebsd/i386/Makefile.in [deleted file]
linux/Makefile.am [new file with mode: 0644]

diff --git a/freebsd/Makefile.am b/freebsd/Makefile.am
new file mode 100644 (file)
index 0000000..626d4de
--- /dev/null
@@ -0,0 +1,3 @@
+# Automake input for freebsd/ subdirectory of strace.
+
+EXTRA_DIST = ioctlent.sh syscalls.cat syscalls.pl syscalls.print
diff --git a/freebsd/i386/Makefile.am b/freebsd/i386/Makefile.am
new file mode 100644 (file)
index 0000000..f32d697
--- /dev/null
@@ -0,0 +1,24 @@
+# Automake input for freebsd/i386/ subdirectory of strace.
+
+noinst_HEADERS = errnoent.h ioctlent.h signalent.h syscallent.h syscall.h
+BUILT_SOURCES = $(noinst_HEADERS)
+
+
+ioctlent.raw: $(srcdir)/../ioctlent.sh
+       $(SHELL) $(srcdir)/../ioctlent.sh $(includedir) >$@
+
+ioctlent.h: ioctlent.raw ioctlsort
+       ./ioctlsort >$@
+
+ioctlsort.o: $(srcdir)/../../ioctlsort.c
+
+ioctlsort.o: ioctlent.raw
+
+errnoent.h: $(srcdir)/../../errnoent.sh $(includedir)/errno.h
+       $(SHELL) $(srcdir)/../../errnoent.sh $(includedir)/errno.h >$@
+
+signalent.h: $(srcdir)/../../signalent.sh $(includedir)/sys/signal.h
+       $(SHELL) $(srcdir)/../../signalent.sh $(includedir)/sys/signal.h >$@
+
+syscallent.h: $(srcdir)/../syscalls.pl $(srcdir)/../syscalls.cat $(srcdir)/../syscalls.print /usr/src/sys/kern/syscalls.master
+       $(PERL) $(srcdir)/../syscalls.pl /usr/src/sys/kern/syscalls.master $(srcdir)/../syscalls.print $(srcdir)/../syscalls.cat >$@
diff --git a/freebsd/i386/Makefile.in b/freebsd/i386/Makefile.in
deleted file mode 100644 (file)
index dbfdf75..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# $Id$
-#
-
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-CC = @CC@
-CPP = @CPP@
-SHELL = /bin/sh
-
-DEFS = @DEFS@
-LDLIBS = @LIBS@
-
-CFLAGS = -g
-LDFLAGS = -g
-WARNFLAGS = @WARNFLAGS@
-
-CPPFLAGS =
-INCLUDES = -I. -I.. -I$(srcdir)
-
-includedir = @includedir@
-
-all: ioctlent.h errnoent.h signalent.h syscallent.h
-
-ioctlent.raw: $(srcdir)/../ioctlent.sh
-       $(SHELL) $(srcdir)/../ioctlent.sh $(includedir) >$@
-
-ioctlent.h: ioctlent.raw ioctlsort
-       ./ioctlsort >$@
-
-ioctlsort: ioctlsort.o
-       $(CC) $(LDFLAGS) ioctlsort.o -o ioctlsort
-
-ioctlsort.o: $(srcdir)/../../ioctlsort.c
-       $(CC) $(WARNFLAGS) $(DEFS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS) -c $(srcdir)/../../ioctlsort.c
-
-ioctlsort.o: ioctlent.raw
-
-errnoent.h: $(srcdir)/../../errnoent.sh $(includedir)/errno.h
-       $(SHELL) $(srcdir)/../../errnoent.sh $(includedir)/errno.h >$@
-
-signalent.h: $(srcdir)/../../signalent.sh $(includedir)/sys/signal.h
-       $(SHELL) $(srcdir)/../../signalent.sh $(includedir)/sys/signal.h >$@
-
-syscallent.h: $(srcdir)/../syscalls.pl $(srcdir)/../syscalls.cat $(srcdir)/../syscalls.print /usr/src/sys/kern/syscalls.master
-       perl $(srcdir)/../syscalls.pl /usr/src/sys/kern/syscalls.master $(srcdir)/../syscalls.print $(srcdir)/../syscalls.cat >$@
-
-syscall.h: syscallent.h
-
-clean:
-       rm -f ioctlent.c *.raw *.tmp *.o ioctlsort
-
-distclean: clean
-       rm -f Makefile
-
-maintainer-clean: distclean
-       rm -f ioctlent.h errnoent.h signalent.h dummy.h syscall.h syscallent.h
diff --git a/linux/Makefile.am b/linux/Makefile.am
new file mode 100644 (file)
index 0000000..34e1b9e
--- /dev/null
@@ -0,0 +1,26 @@
+# Automake input for linux/ subdirectory of strace.
+
+noinst_HEADERS = ioctlent.h errnoent.h signalent.h \
+                syscall.h syscallent.h dummy.h
+BUILT_SOURCES = $(noinst_HEADERS)
+
+DIST_SUBDIRS = mips sparc x86_64
+
+EXTRA_DIST = ioctlsort.c \
+            */errnoent.h */ioctlent.h */signalent.h */syscallent.h
+
+ioctlent.h: ioctlsort
+       ./ioctlsort >$@
+
+ioctldefs.h ioctls.h: ioctlent.sh
+       $(SHELL) $(srcdir)/ioctlent.sh
+
+errnoent.h: ../errnoent.sh $(includedir)/linux/errno.h
+       $(SHELL) $(srcdir)/../errnoent.sh $(includedir)/*/errno.h >$@
+
+signalent.h: ../signalent.sh $(includedir)/linux/signal.h
+       $(SHELL) $(srcdir)/../signalent.sh $(includedir)/*/signal.h >$@
+
+#syscallent.h: ../syscallent.sh $(includedir)/sys/syscall.h
+syscallent.h:
+       $(SHELL) $(srcdir)/../syscallent.sh $(includedir)/sys/syscall.h >$@