Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / top / dist / Makefile.in
blobac97b3560f5c3e8fa3e4e42e6438a97a09b6b542
1 # Makefile
3 # This makefile was generated by configure from a Makefile.in definition.
5 PROGRAM=top
6 INC=boolean.h color.h commands.h config.h display.h globalstate.h hash.h \
7 loadavg.h machine.h message.h os.h screen.h sigdesc.h top.h username.h \
8 utils.h version.h
9 SRC=color.c commands.c display.c hash.c screen.c top.c username.c utils.c version.c @SRC@
10 OBJ=color.o commands.o display.o hash.o screen.o top.o username.o utils.o version.o @OBJ@
11 MANPAGE=top.1
12 CLEAN_SRC=sigdesc.h
13 CLEAN_EXTRA=@CLEAN_EXTRA@
15 srcdir=@srcdir@
16 prefix=@prefix@
17 exec_prefix=@exec_prefix@
18 bindir=@bindir@
19 mandir=@mandir@
20 datarootdir=@datarootdir@
21 VPATH=@srcdir@
23 PACKAGE_NAME=@PACKAGE_NAME@
24 SIGNAL=@SIGNAL_H@
25 ARCHFLAG=@ARCHFLAG@
26 AWK=@AWK@
27 CC=@CC@
28 CFLAGS=$(DEFS) $(DEFAULT_INCLUDES) $(CFLAGSONLY) $(ARCHFLAG)
29 CFLAGSONLY=@CFLAGS@
30 CPPFLAGS=@CPPFLAGS@
31 DEBUG=
32 DEFS=@DEFS@ $(DEBUG)
33 ISAEXEC=@ISAEXEC@
34 LDFLAGS=@LDFLAGS@
35 LIBS=@LIBS@
36 MODULE_CFLAGS=@MODULE_CFLAGS@
38 INSTALL=@INSTALL@
39 INSTALL_PROGRAM=@INSTALL_PROGRAM@
40 INSTALL_DATA=@INSTALL_DATA@
41 INSTALL_OPTS_PROG=@INSTALL_OPTS_PROG@
42 INSTALL_OPTS_DATA=
44 DEFAULT_INCLUDES = -I. -I$(srcdir)
46 BINARY = $@
47 COMPILE = $(CC) $(CFLAGS) $(CPPFLAGS)
48 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINARY)
51 @FIRST_RULE@
53 $(PROGRAM): $(OBJ)
54 $(LINK) $(OBJ) $(LIBS)
56 # explicit dependency for the module appropriate to this machine
57 m_@MODULE@.o: $(srcdir)/machine/m_@MODULE@.c
58 $(COMPILE) $(MODULE_CFLAGS) -o $@ -c $(srcdir)/machine/m_@MODULE@.c
60 sigdesc.h: $(srcdir)/sigconv.awk $(SIGNAL)
61 $(AWK) -f $(srcdir)/sigconv.awk $(SIGNAL) >sigdesc.h
63 @INSTALL_RULE@
65 install-man: $(MANPAGE)
66 mkdir -p $(DESTDIR)$(mandir)/man1
67 $(INSTALL_DATA) $(INSTALL_OPTS_DATA) \
68 $(MANPAGE) $(DESTDIR)$(mandir)/man1/$(MANPAGE)
70 clean:
71 -rm -f $(PROGRAM) $(OBJ) $(CLEAN_SRC) $(CLEAN_EXTRA)
73 distclean: clean
74 -rm -f Makefile config.status config.cache config.log config.h
76 configure: configure.ac
77 autoheader
78 autoconf
80 # Include file dependencies
81 color.o: os.h config.h message.h color.h
82 commands.o: os.h config.h sigdesc.h top.h machine.h globalstate.h \
83 boolean.h commands.h display.h utils.h version.h
84 display.o: os.h config.h top.h machine.h screen.h layout.h display.h \
85 boolean.h utils.h color.h
86 screen.o: os.h config.h top.h screen.h boolean.h
87 top.o: os.h config.h top.h machine.h globalstate.h commands.h display.h \
88 screen.h boolean.h username.h utils.h version.h color.h
89 username.o: os.h config.h top.h utils.h hash.h
90 utils.o: os.h config.h top.h utils.h
91 version.o: config.h top.h
92 m_@MODULE@.o: top.h machine.h utils.h loadavg.h