1999-12-19 Martin Baulig <martin@home-of-linux.org> * include/glibtop/glib-arrays.h: New file. * lib/glib-arrays.c: New file. (glibtop_get_proclist_as_array_l): New function. (glibtop_get_proc_args_as_array_l): New function. (glibtop_get_proc_map_as_array_l): New function. (glibtop_get_mountlist_as_array_l): New function.
34 lines
970 B
Makefile
34 lines
970 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 command.c read.c \
|
|
read_data.c write.c lib.c parameter.c \
|
|
sysdeps.c errors.c glib-arrays.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)
|
|
|