]> granicus.if.org Git - strace/blob - svr4/Makefile.in
Fix signed/unsigned problems
[strace] / svr4 / Makefile.in
1 #
2 # $Id$
3 #
4
5 srcdir = @srcdir@
6 VPATH = @srcdir@
7
8 CC = @CC@
9 CPP = @CPP@
10 SHELL = /bin/sh
11
12 DEFS = @DEFS@
13 LDLIBS = @LIBS@
14
15 CFLAGS = -g
16 LDFLAGS = -g
17 WARNFLAGS = @WARNFLAGS@
18
19 CPPFLAGS =
20 INCLUDES = -I. -I.. -I$(srcdir)
21
22 includedir = @includedir@
23
24 all: ioctlent.h errnoent.h signalent.h syscallent.h
25
26 ioctlent.c: ioctlent.sh
27         $(SHELL) $(srcdir)/ioctlent.sh $(includedir) >$@
28
29 ioctlent.raw: ioctlent.c
30         $(CPP) ioctlent.c | sed 1,/xyzzy/d >$@
31
32 ioctlent.h: ioctlent.raw ioctlsort
33         ./ioctlsort >$@
34
35 ioctlsort: ioctlsort.o
36         $(CC) $(LDFLAGS) ioctlsort.o -o ioctlsort
37
38 ioctlsort.o: ../ioctlsort.c ioctlent.raw
39         $(CC) $(WARNFLAGS) $(DEFS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS) -c $(srcdir)/../ioctlsort.c
40
41 errnoent.h: ../errnoent.sh $(includedir)/sys/errno.h
42         $(SHELL) $(srcdir)/../errnoent.sh $(includedir)/sys/errno.h >$@
43
44 signalent.h: ../signalent.sh $(includedir)/sys/signal.h
45         $(SHELL) $(srcdir)/../signalent.sh $(includedir)/sys/signal.h >$@
46
47 #syscallent.h: ../syscallent.sh $(includedir)/sys/syscall.h
48 syscallent.h:
49         $(SHELL) $(srcdir)/../syscallent.sh $(includedir)/sys/syscall.h >$@
50
51 clean:
52         rm -f ioctlent.c *.raw *.tmp *.o ioctlsort
53
54 distclean: clean
55         rm -f Makefile
56
57 maintainer-clean: distclean
58         rm -f ioctlent.h errnoent.h signalent.h