1998-07-13 Martin Baulig <martin@home-of-linux.org> * glibtop.h: Fixed invocation of `glibtop_close_r'. * sysdeps/linux/procstate.c: Added missing `fclose'. * include/glibtop/gnuserv.h (UNIX_DOMAIN_SOCKETS): Defining. * include/glibtop/open.h (GLIBTOP_METHOD_UNIX): Added. * lib/init.c: Added new method `GLIBTOP_METHOD_UNIX'. * lib/open.c: Added support for Unix Domain Sockets. * lib/close.c: Now closing inet and unix connections. * lib/parameter.c (glibtop_set_parameter_l): You can now set the `method' and `features' fields. * src/daemon/server_config.h: New file. * src/daemon/{gnuserv.c, main.c}: More work on the server.
24 lines
689 B
Makefile
24 lines
689 B
Makefile
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
INCLUDES = -I$(top_builddir) -I$(top_srcdir) @machine_incs@ \
|
|
-I$(top_srcdir)/include -I$(top_srcdir)/intl @GUILE_INCS@ \
|
|
-DGTOPLOCALEDIR=\"$(datadir)/locale\" -D_GNU_SOURCE
|
|
|
|
CFLAGS = -Wall -W @CFLAGS@ -DGTOP_SERVER=\""@LIBGTOP_SERVER@"\"
|
|
|
|
lib_LTLIBRARIES = libgtop.la
|
|
|
|
libgtop_la_SOURCES = init.c open.c close.c command.c read.c read_data.c \
|
|
write.c lib.c parameter.c
|
|
|
|
BUILT_SOURCES = lib.c
|
|
|
|
lib.c: lib.awk $(top_builddir)/config.h $(top_builddir)/features.def
|
|
$(AWK) -f $(srcdir)/lib.awk < $(top_builddir)/features.def > lib-t
|
|
mv lib-t lib.c
|
|
|
|
EXTRA_DIST = lib.awk
|
|
|
|
CLEANFILES = lib.c
|
|
|