Install everything except the server binary in $(LIBGTOP_BACKEND_DIR).

2000-01-12  Martin Baulig  <martin@home-of-linux.org>

	* Makefile.am: Install everything except the server binary
	in $(LIBGTOP_BACKEND_DIR).

	* libgtop-server.backend: New file.

	* backend-server.c (glibtop_backend_server): Renamed to
	`LibGTopBackendInfo'.
This commit is contained in:
Martin Baulig
2000-01-12 20:45:19 +00:00
committed by Martin Baulig
parent c17f8f2421
commit b4122165eb
4 changed files with 30 additions and 3 deletions

View File

@@ -1,3 +1,13 @@
2000-01-12 Martin Baulig <martin@home-of-linux.org>
* Makefile.am: Install everything except the server binary
in $(LIBGTOP_BACKEND_DIR).
* libgtop-server.backend: New file.
* backend-server.c (glibtop_backend_server): Renamed to
`LibGTopBackendInfo'.
2000-01-08 Martin Baulig <martin@home-of-linux.org> 2000-01-08 Martin Baulig <martin@home-of-linux.org>
* command.h.in (glibtop_response): New structure. * command.h.in (glibtop_response): New structure.

View File

@@ -5,10 +5,15 @@ INCLUDES = @INCLUDES@ -D_BSD \
-DLIBGTOP_COMPILE_RELEASE=\"`uname -r`\" \ -DLIBGTOP_COMPILE_RELEASE=\"`uname -r`\" \
-DLIBGTOP_COMPILE_MACHINE=\"`uname -m`\" -DLIBGTOP_COMPILE_MACHINE=\"`uname -m`\"
backenddir = @LIBGTOP_BACKEND_DIR@
backend_DATA = \
libgtop-server.backend
noinst_HEADERS = \ noinst_HEADERS = \
glibtop-backend-private.h glibtop-backend-private.h
lib_LTLIBRARIES = \ backend_LTLIBRARIES = \
libgtop_backend_server.la libgtop_backend_server.la
bin_PROGRAMS = \ bin_PROGRAMS = \
@@ -26,7 +31,7 @@ libgtop_backend_server_la_SOURCES = \
write.c write.c
libgtop_backend_server_la_LDFLAGS = \ libgtop_backend_server_la_LDFLAGS = \
$(LT_VERSION_INFO) $(LT_VERSION_INFO) -export-dynamic
libgtop_server_SOURCES = \ libgtop_server_SOURCES = \
server.c \ server.c \

View File

@@ -38,7 +38,7 @@ _close_server (glibtop *, glibtop_backend *);
extern glibtop_call_vector glibtop_backend_server_call_vector; extern glibtop_call_vector glibtop_backend_server_call_vector;
glibtop_backend_info glibtop_backend_server = { glibtop_backend_info LibGTopBackendInfo = {
"glibtop-backend-server", _open_server, _close_server, "glibtop-backend-server", _open_server, _close_server,
&glibtop_backend_server_call_vector &glibtop_backend_server_call_vector
}; };

View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?> <!-- -*-xml-*- -->
<libgtop:Backends xmlns:libgtop="http://www.home-of-linux.org/libgtop/1.1">
<libgtop:Backend>
<libgtop:Name>glibtop-backend-server</libgtop:Name>
<libgtop:Location>
<libgtop:LibtoolName>libgtop_backend_server.la</libgtop:LibtoolName>
<libgtop:ShlibName>libgtop_backend_server.so</libgtop:ShlibName>
</libgtop:Location>
</libgtop:Backend>
</libgtop:Backends>