Re: Kaffe and HP-UX 10.20 (fwd)

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Tue Nov 10 1998 - 18:38:12 EST


On Nov 10, 1998, Godmar Back <gback@cs.utah.edu> wrote:

> wanting to make changes to the configuration: they're not required
> to ./configure kaffe. Correct?

Yup

> It generates the Makefile.in's from some (supposedly?) simpler .am files.

They are simpler. Take [part of] one of the Makefiles of Amanda:

# Makefile for Amanda client programs.

INCLUDES = -I$(top_srcdir)/common-src

if WANT_CLIENT
lib_LTLIBRARIES = libamclient.la

libexec_PROGRAMS = amandad calcsize killpgrp rundump runtar selfcheck sendbackup sendsize versionsuffix
endif

if WANT_SAMBA
samba_sources = findpass.c
endif

libamclient_la_SOURCES= amandates.c getfsent.c \
                        unctime.c $(samba_sources)

libamclient_la_LDFLAGS = -release $(VERSION)

LDADD = libamclient.la ../common-src/libamanda.la

sendbackup_SOURCES = sendbackup.c sendbackup.h \
                        sendbackup-dump.c sendbackup-gnutar.c

noinst_HEADERS = amandates.h getfsent.h findpass.h

Rules are automatically created so that libamclient.la is installed in
$libdir and $(libexec_PROGRAMS) are installed in $libexecdir, but
they're only compiled if WANT_CLIENT was enabled by the configure
script. libamclient_la is build from the listed sources, and is
marked with the release number of Amanda. Programs in this directory
are linked with this library and with another library in
../common-src. The sendbackup program is created from the listed
sources; the sources of other programs are implicitly assumed as the
.c sources. $(noinst_HEADERS) are some other source files that must
be included in the distribution, but that are not to be installed.

Convincing, huh? :-)

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.anu.edu.au}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:02 EDT