[csw-maintainers] OpenCSW distribution specific pre-processor macro

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Dec 13 17:41:15 CET 2011


Peter FELECAN <pfelecan at opencsw.org> wrote:

> In many cases I'm interested in supplying a package which have build
> dependencies on the presence or absence of OpenCSW packages on a Solaris
> system.
>
> This is easy to provide for the GCC suite by adding to the predefined
> macros one such as __opencsw__.


Why do you like to do this?

The Schily makefile system auto-adds -DSCHILY_BUILD and it could be configured to 
add more specific things for specific projects. Could this approach work for 
you?

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


More information about the maintainers mailing list