typedef struct _glibtop_proc_args glibtop_proc_args;
struct _glibtop_proc_args
{
u_int64_t flags,
size; /* GLIBTOP_PROC_ARGS_SIZE */
};
Returns a string containing all command line arguments of the process,
the `unsigned' parameter is the maximum length of this string; if it
is zero then no limit will be set.
extern const char *glibtop_get_proc_args_l __P((glibtop *, glibtop_proc_args *, pid_t, unsigned));
23 lines
654 B
Makefile
23 lines
654 B
Makefile
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
CFLAGS = -Wall -W @CFLAGS@
|
|
|
|
lib_LTLIBRARIES = libgtop_sysdeps.la
|
|
|
|
libgtop_sysdeps_la_SOURCES = open.c close.c kernel.s cpu.c mem.c swap.c \
|
|
uptime.c loadavg.c shm_limits.c msg_limits.c \
|
|
sem_limits.c proclist.c procstate.c procuid.c \
|
|
proctime.c procmem.c procsignal.c prockernel.c \
|
|
procsegment.c siglist.c procargs.c procmap.c \
|
|
ppp.c
|
|
|
|
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
|
|
include_HEADERS = glibtop_server.h
|
|
|
|
kernel.o kernel.lo: $(srcdir)/kernel.s
|
|
rm -f kernel.o kernel.lo
|
|
$(AS) -o kernel.o $(srcdir)/kernel.s
|
|
cp kernel.o kernel.lo
|
|
|