diff --git a/guile/.cvsignore b/guile/.cvsignore index de3f8239..467504cf 100644 --- a/guile/.cvsignore +++ b/guile/.cvsignore @@ -1 +1,3 @@ reference.sgml +Makefile.in +Makefile diff --git a/guile/Makefile.am b/guile/Makefile.am new file mode 100644 index 00000000..e75e37ec --- /dev/null +++ b/guile/Makefile.am @@ -0,0 +1,51 @@ +LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ + +CFLAGS = -Wall -W @CFLAGS@ + +sitedir = $(datadir)/guile/site +libgtopmoduledir = $(datadir)/guile/libgtop + +libgtopmodule_LTLIBRARIES = libgtop.la libnames.la + +libgtop_la_SOURCES = dynamic.c + +libnames_la_SOURCES = dynamic_names.c + +libgtop_la_LIBADD = ../sysdeps/guile/guile.lo \ + ../lib/init.lo \ + ../lib/open.lo \ + ../lib/close.lo \ + ../lib/command.lo \ + ../lib/read.lo \ + ../lib/read_data.lo \ + ../lib/write.lo \ + ../lib/lib.lo \ + ../lib/parameter.lo \ + ../lib/sysdeps.lo \ + ../sysdeps/common/error.lo \ + ../sysdeps/common/fsusage.lo \ + ../sysdeps/common/gnuslib.lo \ + ../sysdeps/common/mountlist.lo \ + ../sysdeps/common/xmalloc.lo \ + ../sysdeps/@sysdeps_dir@/close.lo \ + ../sysdeps/@sysdeps_dir@/proclist.lo \ + ../sysdeps/@sysdeps_dir@/sem_limits.lo \ + ../sysdeps/@sysdeps_dir@/cpu.lo \ + ../sysdeps/@sysdeps_dir@/procmem.lo \ + ../sysdeps/@sysdeps_dir@/shm_limits.lo \ + ../sysdeps/@sysdeps_dir@/loadavg.lo \ + ../sysdeps/@sysdeps_dir@/procsegment.lo \ + ../sysdeps/@sysdeps_dir@/siglist.lo \ + ../sysdeps/@sysdeps_dir@/mem.lo \ + ../sysdeps/@sysdeps_dir@/procsignal.lo \ + ../sysdeps/@sysdeps_dir@/swap.lo \ + ../sysdeps/@sysdeps_dir@/msg_limits.lo \ + ../sysdeps/@sysdeps_dir@/procstate.lo \ + ../sysdeps/@sysdeps_dir@/uptime.lo \ + ../sysdeps/@sysdeps_dir@/open.lo \ + ../sysdeps/@sysdeps_dir@/proctime.lo \ + ../sysdeps/@sysdeps_dir@/prockernel.lo \ + ../sysdeps/@sysdeps_dir@/procuid.lo + +libnames_la_LIBADD = ../sysdeps/guile/names/guile-names.lo + diff --git a/guile/dynamic.c b/guile/dynamic.c new file mode 100644 index 00000000..ef623196 --- /dev/null +++ b/guile/dynamic.c @@ -0,0 +1,29 @@ +/* $Id$ */ + +/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + This file is part of the Gnome Top Library. + Contributed by Martin Baulig , April 1998. + + The Gnome Top Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The Gnome Top Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include + +void +scm_init_libgtop_libgtop_module (void) +{ + scm_register_module_xxx ("libgtop libgtop", glibtop_boot_guile); +} diff --git a/guile/dynamic_names.c b/guile/dynamic_names.c new file mode 100644 index 00000000..8f62b6a2 --- /dev/null +++ b/guile/dynamic_names.c @@ -0,0 +1,29 @@ +/* $Id$ */ + +/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + This file is part of the Gnome Top Library. + Contributed by Martin Baulig , April 1998. + + The Gnome Top Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The Gnome Top Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include + +void +scm_init_libgtop_names_module (void) +{ + scm_register_module_xxx ("libgtop names", glibtop_boot_guile_names); +}