2000-01-01 Martin Baulig <martin@home-of-linux.org> * backends/: New directory. * backends/server/: New directory. * backends/sysdeps/: New directory. * include/glibtop/backend.h: New file. * include/glibtop/call-vector.h.in: New file. Template file for `call-vector.h'. * include/glibtop/call-vector.pl: New file. Creates 'call-vector.h' from `call-vector.h.in'. * include/glibtop/errors.h (GLIBTOP_ERROR_NO_SUCH_BACKEND): New error constant. (GLIBTOP_ERROR_NOT_IMPLEMENTED): New error constant. * include/glibtop/limits.h (GLIBTOP_BACKEND_NAME_LEN): New constant. * glibtop-server-private.h (glibtop_server_private): Added `GSList *backend_list' and removed `input', `output', `socket' and `pid'. * lib/command.c: Removed. Moved to `backends/server/'. * lib/read.c: Removed. Moved to `backends/server/'. * lib/read_data.c: Removed. Moved to `backends/server/'. * lib/write.c: Removed. Moved to `backends/server/'.
34 lines
974 B
Makefile
34 lines
974 B
Makefile
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
INCLUDES = @INCLUDES@
|
|
|
|
lib_LTLIBRARIES = libgtop.la
|
|
|
|
libgtop_la_SOURCES = init.c open.c close.c lib.c parameter.c \
|
|
sysdeps.c errors.c glib-arrays.c \
|
|
backend.c init-backends.c open-backend.c
|
|
|
|
libgtop_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
|
|
glibtopdir = $(includedir)/glibtop
|
|
|
|
glibtop_HEADERS = structures.h
|
|
|
|
BUILT_SOURCES = lib.c structures.h
|
|
|
|
lib.c: lib.pl $(top_builddir)/config.h $(top_srcdir)/features.def $(top_srcdir)/scripts/c_types.pl
|
|
$(PERL) -I $(top_srcdir)/scripts $(srcdir)/lib.pl < $(top_srcdir)/features.def > lib-t
|
|
mv lib-t lib.c
|
|
|
|
structures.h: structures.pl $(top_builddir)/config.h \
|
|
$(top_srcdir)/features.def $(top_srcdir)/structures.def
|
|
$(PERL) -I $(top_srcdir)/scripts $(srcdir)/structures.pl \
|
|
$(top_srcdir)/features.def $(top_srcdir)/structures.def \
|
|
structures.h > tmp-s
|
|
mv tmp-s structures.h
|
|
|
|
EXTRA_DIST = lib.pl
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|