procps/Makefile.am
Sami Kerola 06d491f9e4 build-sys: take autotools in use again
This will revert change at Oct 2002 when autotools support was
removed.

Unlike before the package developers are expected to use
./autogen.sh to generate ./configure script, and run make after
that. The build system is also able to create, with make dist, a
tar ball release which compiles correctly, and has files which
seemed to be important to have.

The patch removes few unnecessary files, but no everything. Files
procps.lsm and procps.spec in git repository are useless as is,
but I left them lying around for someone who can make more
justified call about removal of them.

Last, but not least package version number is set 3.3.0 to
distinct this procps from the sourceforge's upstream procps.
Please notice that libproc relese is kept as 3.2.8.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-06-04 17:22:44 +02:00

74 lines
944 B
Makefile

AM_CPPFLAGS = -include $(top_builddir)/config.h
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = proc ps
AM_CFLAGS = -Iproc
AM_LDFLAGS = ./proc/libproc.la
sbin_PROGRAMS = \
sysctl
bin_PROGRAMS = \
kill
usrbin_exec_PROGRAMS = \
free \
pgrep \
pkill \
pmap \
pwdx \
skill \
snice \
tload \
uptime \
vmstat \
w
dist_man_MANS = \
free.1 \
kill.1 \
pgrep.1 \
pkill.1 \
pmap.1 \
pwdx.1 \
skill.1 \
snice.1 \
sysctl.8 \
sysctl.conf.5 \
tload.1 \
uptime.1 \
vmstat.8 \
w.1
if HAVE_NCURSES
usrbin_exec_PROGRAMS += \
slabtop \
top \
watch
top_SOURCES = top.c top.h
dist_man_MANS += \
slabtop.1 \
top.1 \
watch.1
slabtop_LDADD = @NCURSES_LIBS@
top_LDADD = @NCURSES_LIBS@
watch_LDADD = @NCURSES_LIBS@
endif
kill_SOURCES = skill.c
snice_SOURCES = skill.c
pkill_SOURCES = pgrep.c
sysconf_DATA = sysctl.conf
EXTRA_DIST = \
autogen.sh \
BUGS \
CodingStyle \
COPYING.LIB \
dummy.c \
README.top \
tmp-junk.c \
$(sysconf_DATA)