[csw-maintainers] GAR modulations questions
Dagobert Michelsen
dam at opencsw.org
Tue Oct 6 19:18:21 CEST 2009
Hi Maciej,
Am 06.10.2009 um 18:16 schrieb Maciej (Matchek) Blizinski:
> Here's my minimal example:
>
> https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/examples/modulations/branches/minimal-version-modulation/Makefile
Ok. But allow me the comment that this is a real special case.
I have exactly 1 (one) package that needs this (automake) and I
do it with
$(foreach VERSION,$(MODULATIONS_GARVERSION),$(eval
MERGE_SCRIPTS_isa-$(ISA)-garversion-$(VERSION) = copy-all))
All other packages need different rules:
expat
flac
libmm
libtool
neon
openldap
readline
Usually you have something like this:
MERGE_SCRIPTS_isa-i386-garversion-1.95.8 = copy-only
MERGE_DIRS_isa-i386-garversion-1.95.8 = $(libdir)
MERGE_SCRIPTS_isa-amd64-garversion-1.95.8 = copy-relocated-only
MERGE_DIRS_isa-amd64-garversion-1.95.8 = $(libdir)
MERGE_SCRIPTS_isa-i386-garversion-2.0.1 = copy-all
MERGE_SCRIPTS_isa-amd64-garversion-2.0.1 = copy-relocated-only
MERGE_DIRS_isa-amd64-garversion-2.0.1 = $(bindir) $(sbindir) $
(libexecdir) $(libdir)
MERGE_SCRIPTS_isa-sparcv8-garversion-1.95.8 = copy-only
MERGE_DIRS_isa-sparcv8-garversion-1.95.8 = $(libdir)
MERGE_SCRIPTS_isa-sparcv9-garversion-1.95.8 = copy-relocated-only
MERGE_DIRS_isa-sparcv9-garversion-1.95.8 = $(libdir)
MERGE_SCRIPTS_isa-sparcv8-garversion-2.0.1 = copy-all
MERGE_SCRIPTS_isa-sparcv9-garversion-2.0.1 = copy-relocated-only
MERGE_DIRS_isa-sparcv9-garversion-2.0.1 = $(bindir) $(sbindir) $
(libexecdir) $(libdir)
which could be collapsed with smart merge rules as
MERGE_SCRIPTS_isa-default-garversion-extra = copy-only
MERGE_DIRS_isa-default-garversion-extra = $(libdir)
MERGE_SCRIPTS_isa-extra-garversion-extra = copy-relocated-only
MERGE_DIRS_isa-extra-garversion-extra = $(libdir)
MERGE_SCRIPTS_isa-default-garversion-default = copy-all
MERGE_SCRIPTS_isa-extra-garversion-default = copy-relocated-only
MERGE_DIRS_isa-extra-garversion-default = $(bindir) $(sbindir) $
(libexecdir) $(libdir)
And this can be the default for version modulations if it were
built-in.
Best regards
-- Dago
More information about the maintainers
mailing list