2003-08-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Add bsp.pc.in
	* bsp.pc.in: New (pkgconfig support).
This commit is contained in:
Ralf Corsepius
2003-08-13 10:07:44 +00:00
parent 2907b36179
commit d4b5e87662
3 changed files with 32 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2003-08-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add bsp.pc.in
* bsp.pc.in: New (pkgconfig support).
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address. * configure.ac: Use rtems-bugs@rtems.com as bug report email address.

View File

@@ -38,5 +38,12 @@ preinstall-stamp:
touch preinstall-stamp touch preinstall-stamp
CLEANFILES = preinstall-stamp CLEANFILES = preinstall-stamp
@host_alias@-@RTEMS_BSP@.pc: config.status bsp.pc.in
./config.status --file=$@:$(srcdir)/bsp.pc.in
pkgconfigdir = $(prefix)/lib/pkgconfig
pkgconfig_DATA = @host_alias@-@RTEMS_BSP@.pc
DISTCLEANFILES += @host_alias@-@RTEMS_BSP@.pc
include $(top_srcdir)/../../automake/subdirs.am include $(top_srcdir)/../../automake/subdirs.am
include $(top_srcdir)/../../automake/host.am include $(top_srcdir)/../../automake/host.am

20
c/src/bsp.pc.in Normal file
View File

@@ -0,0 +1,20 @@
#
# pkg-config support file for RTEMS BSP @RTEMS_BSP@
#
# Warning: This stuff is experimental and may be changed at any time.
#
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
CPU_CFLAGS=@CPU_CFLAGS@
CFLAGS_OPTIMIZE=@CFLAGS_OPTIMIZE_V@
CFLAGS_DEBUG=@CFLAGS_DEBUG_V@
RTEMS_BSP=@RTEMS_BSP@
Name: @host_alias@-@RTEMS_BSP@
Version: @VERSION@
Description: RTEMS BSP @RTEMS_BSP@
Libs:
Cflags: -qrtems -B${exec_prefix}/lib/ -B${libdir}/ --specs bsp_specs ${CPU_CFLAGS}