summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2004-12-06 14:44:11 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2004-12-06 14:44:11 +0000
commitc09e2fdead920629acc7a15490d2ea9efdab1b50 (patch)
tree484978ae69271ddb7b5f7b1b5c1b9468619355d6 /examples
parentfe5bb1c39c0f1dae70c9e3b18094d219e8333854 (diff)
downloadlibgtop-c09e2fdead920629acc7a15490d2ea9efdab1b50.tar.gz
Removed libgtop_names :)
* acconfig.h: * configure.in: * debian/libgtop-dev.files.in: * doc/Makefile.am: * examples/Makefile.am: * examples/third.c: * include/glibtop/cpu.h: * include/glibtop/fsusage.h: * include/glibtop/loadavg.h: * include/glibtop/mem.h: * include/glibtop/mountlist.h: * include/glibtop/msg_limits.h: * include/glibtop/netlist.h: * include/glibtop/netload.h: * include/glibtop/ppp.h: * include/glibtop/procargs.h: * include/glibtop/prockernel.h: * include/glibtop/proclist.h: * include/glibtop/procmap.h: * include/glibtop/procmem.h: * include/glibtop/procsegment.h: * include/glibtop/procsignal.h: * include/glibtop/procstate.h: * include/glibtop/proctime.h: * include/glibtop/procuid.h: * include/glibtop/sem_limits.h: * include/glibtop/shm_limits.h: * include/glibtop/swap.h: * include/glibtop/sysdeps.h: * include/glibtop/uptime.h: * po/POTFILES.in: * sysdeps/Makefile.am: * sysdeps/names/.cvsignore: * sysdeps/names/Makefile.am: * sysdeps/names/cpu.c: * sysdeps/names/fsusage.c: * sysdeps/names/loadavg.c: * sysdeps/names/mem.c: * sysdeps/names/mountlist.c: * sysdeps/names/msg_limits.c: * sysdeps/names/netlist.c: * sysdeps/names/netload.c: * sysdeps/names/ppp.c: * sysdeps/names/procargs.c: * sysdeps/names/prockernel.c: * sysdeps/names/proclist.c: * sysdeps/names/procmap.c: * sysdeps/names/procmem.c: * sysdeps/names/procsegment.c: * sysdeps/names/procsignal.c: * sysdeps/names/procstate.c: * sysdeps/names/proctime.c: * sysdeps/names/procuid.c: * sysdeps/names/sem_limits.c: * sysdeps/names/shm_limits.c: * sysdeps/names/swap.c: * sysdeps/names/sysdeps.c: * sysdeps/names/uptime.c: Removed libgtop_names :)
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am12
-rw-r--r--examples/third.c58
2 files changed, 1 insertions, 69 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 45f261cb..ab41a46c 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -12,7 +12,7 @@ noinst_PROGRAMS = first second pprint procargs df netlist \
EXTRA_PROGRAMS = first_static second_static \
mountlist_static procmap_static \
- third third_static smp smp_static \
+ smp smp_static \
netload_static sysdeps_static \
timings_static pprint_static procargs_static \
df_static netlist_static
@@ -52,16 +52,6 @@ sysdeps_static_SOURCES = $(sysdeps_SOURCES)
sysdeps_static_LDADD = $(sysdeps_LDADD)
sysdeps_static_LDFLAGS = -static
-third_names_LIBS = $(top_builddir)/sysdeps/names/libgtop_names-2.0.la
-
-third_SOURCES = third.c
-third_LDADD = $(third_names_LIBS) \
- $(top_builddir)/lib/libgtop-2.0.la \
- @INTLLIBS@
-
-third_static_SOURCES = $(third_SOURCES)
-third_static_LDADD = $(third_LDADD)
-third_static_LDFLAGS = -static
mountlist_SOURCES = mountlist.c
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
diff --git a/examples/third.c b/examples/third.c
deleted file mode 100644
index 10592d78..00000000
--- a/examples/third.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/* $Id$ */
-
-/* Copyright (C) 1998-99 Martin Baulig
- This file is part of LibGTop 1.0.
-
- Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
-
- LibGTop is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License,
- or (at your option) any later version.
-
- LibGTop 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 General Public License
- for more details.
-
- You should have received a copy of the GNU General Public License
- along with LibGTop; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-*/
-
-#include <locale.h>
-#include <libintl.h>
-#include <stdio.h>
-
-#include <glibtop.h>
-
-#include <glibtop/open.h>
-#include <glibtop/close.h>
-
-#include <glibtop/union.h>
-#include <glibtop/sysdeps.h>
-
-void main_prog(int argc, char *argv[]);
-
-int
-main (int argc, char *argv[])
-{
- setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
- textdomain (GETTEXT_PACKAGE);
-
- gh_enter (argc, argv, main_prog);
- exit (0);
-}
-
-void
-main_prog (int argc, char *argv[])
-{
- glibtop_boot_guile ();
-#ifdef GLIBTOP_GUILE_NAMES
- glibtop_boot_guile_names ();
-#endif
-
- gh_repl (argc, argv);
-}