1999-11-28 Martin Baulig <martin@home-of-linux.org> * lib/lib.pl: We now have a new, more extensible client/server communication model. Include `$(top_srcdir)/scripts/c_types.pl' here.
23 lines
566 B
Makefile
23 lines
566 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
|
|
|
|
libgtop_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
|
|
BUILT_SOURCES = lib.c
|
|
|
|
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
|
|
|
|
EXTRA_DIST = lib.pl
|
|
|
|
CLEANFILES = lib.c
|
|
|