[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem with a GNUmakefile for a framework with "special" headers
From: |
Nicola Pero |
Subject: |
RE: Problem with a GNUmakefile for a framework with "special" headers |
Date: |
Thu, 23 Jun 2011 14:38:54 +0200 (CEST) |
> The filesystem structure is like this:
>
> x/a.h
> y/z/b.m
> y/z/GNUmakefile
>
> so in the GNUmakefile its like this:
>
> z_HEADER_FILES = ../../x/a.h
I think what you want is
z_HEADER_FILES_DIR = ../../x
z_HEADER_FILES = a.h
or maybe
z_HEADER_FILES_DIR = ../../
z_HEADER_FILES = x/a.h
depending if you want the header installed as
z.framework/Versions/1.0.0/Headers/a.h
or as
z.framework/Versions/1.0.0/Headers/x/a.h
If you need something even more complicated, there is also
z_HEADER_FILES_INSTALL_DIR to play with.
Thanks
PS: Using a file in a subdirectory (as in x/a.h) inside z_HEADER_FILES
is only supported since gnustep-make 2.4.0 (released May 2010). If you
want to target older releases, avoid subdirectories in there, and use
z_HEADER_FILES_DIR and z_HEADER_FILES_INSTALL_DIR (if you can).