This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: about the location of package's header file


ylyuan wrote:
> 
> Hi,from the document I know that includ_dir specify the desired location of a package's exported header files in the install tree. So from the cdl
> hal_i386_pc.cdl,
>  cdl_package CYGPKG_HAL_I386_PC {
>     display  "i386 PC target"
>     parent        CYGPKG_HAL_I386
>     define_header hal_i386_pc.h
>     include_dir   cyg/hal
>     description   "
>            The i386 PC Target HAL package provides the
>            support needed to run eCos binaries on an i386 PC."
>     .....
> },
> I think the hal_i386_pc.h should locate in the include/cyg/hal,but in fact
> it in include/pkgconf.Why?
> Thanks a lot!

Configuration files (that go in include/pkgconf) are not the same as the
exported header files. Configuration header files are generated by the
configuration system and so live centrally in include/pkgconf.

Exported package header files go wherever include_dir says they should go.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]