mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Addopted to recent changes in edelib-gui*.pc files
This commit is contained in:
parent
971dd60f51
commit
e12c43e404
14
Jamconfig.in
14
Jamconfig.in
@ -93,12 +93,14 @@ LIBM ?= -lm ;
|
|||||||
#REMOVE_UNUSED_DEPENDENCIES_TRICK = 1 ;
|
#REMOVE_UNUSED_DEPENDENCIES_TRICK = 1 ;
|
||||||
|
|
||||||
# edelib libraries path
|
# edelib libraries path
|
||||||
EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
|
EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
|
||||||
EDELIBLIB ?= @EDELIB_LIBS@ ;
|
EDELIBLIB ?= @EDELIB_LIBS@ ;
|
||||||
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
|
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
|
||||||
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
|
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
|
||||||
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
|
EDELIB_GUI_NO_IMAGES_INCLUDE ?= @EDELIB_GUI_NO_IMAGES_CFLAGS@ ;
|
||||||
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;
|
EDELIB_GUI_NO_IMAGES_LIB ?= @EDELIB_GUI_NO_IMAGES_LIBS@ ;
|
||||||
|
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
|
||||||
|
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;
|
||||||
|
|
||||||
# fltk libraries path
|
# fltk libraries path
|
||||||
FLTKINCLUDE ?= @FLTK_CFLAGS@ ;
|
FLTKINCLUDE ?= @FLTK_CFLAGS@ ;
|
||||||
|
@ -72,8 +72,8 @@ rule Program
|
|||||||
}
|
}
|
||||||
|
|
||||||
# EdeProgram [target] : [sources] : [noinstall] ;
|
# EdeProgram [target] : [sources] : [noinstall] ;
|
||||||
# Creates EDE specific programs. They will be linked with EDELIBLIB
|
# Creates EDE specific programs. They will be linked with EDELIB_GUI_LIB.
|
||||||
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'.
|
# If [noinstall] is given, [target] will not be installed wit 'jam install'.
|
||||||
rule EdeProgram
|
rule EdeProgram
|
||||||
{
|
{
|
||||||
if ! $(EDELIBLIB) {
|
if ! $(EDELIBLIB) {
|
||||||
@ -82,8 +82,8 @@ rule EdeProgram
|
|||||||
}
|
}
|
||||||
|
|
||||||
MakeProgramPrivate $(1) : $(2)
|
MakeProgramPrivate $(1) : $(2)
|
||||||
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB) $(STDLIB)
|
: $(EDELIB_GUI_LIB) $(STDLIB)
|
||||||
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ;
|
: $(GLOBALFLAGS) $(EDELIB_GUI_INCLUDE) ;
|
||||||
|
|
||||||
if $(3) != "noinstall" {
|
if $(3) != "noinstall" {
|
||||||
InstallEdeProgram $(1) ;
|
InstallEdeProgram $(1) ;
|
||||||
@ -91,8 +91,8 @@ rule EdeProgram
|
|||||||
}
|
}
|
||||||
|
|
||||||
# EdeProgramAsFltkBare [target] : [sources] : [noinstall] ;
|
# EdeProgramAsFltkBare [target] : [sources] : [noinstall] ;
|
||||||
# Creates EDE specific programs. They will be linked with EDELIBLIB
|
# Creates EDE specific programs. They will be linked with EDELIB_GUI_NO_IMAGES_LIB
|
||||||
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'.
|
# If [noinstall] is given, [target] will not be installed wit 'jam install'.
|
||||||
rule EdeProgramAsFltkBare
|
rule EdeProgramAsFltkBare
|
||||||
{
|
{
|
||||||
if ! $(EDELIBLIB) {
|
if ! $(EDELIBLIB) {
|
||||||
@ -101,8 +101,8 @@ rule EdeProgramAsFltkBare
|
|||||||
}
|
}
|
||||||
|
|
||||||
MakeProgramPrivate $(1) : $(2)
|
MakeProgramPrivate $(1) : $(2)
|
||||||
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB_NOIMAGES) $(STDLIB)
|
: $(EDELIB_GUI_NO_IMAGES_LIB) $(STDLIB)
|
||||||
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ;
|
: $(GLOBALFLAGS) $(EDELIB_GUI_NO_IMAGES_INCLUDE) ;
|
||||||
|
|
||||||
if $(3) != "noinstall" {
|
if $(3) != "noinstall" {
|
||||||
InstallEdeProgram $(1) ;
|
InstallEdeProgram $(1) ;
|
||||||
|
@ -122,6 +122,11 @@ if test "$have_edelib_gui" = "no"; then
|
|||||||
AC_MSG_ERROR(edelib-gui not found! You must install it first)
|
AC_MSG_ERROR(edelib-gui not found! You must install it first)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(EDELIB_GUI_NO_IMAGES, [edelib-gui-no-images],, [have_edelib_gui_no_images=no])
|
||||||
|
if test "$have_edelib_gui_no_images" = "no"; then
|
||||||
|
AC_MSG_ERROR(edelib-gui (without images) not found! You must install it first)
|
||||||
|
fi
|
||||||
|
|
||||||
PKG_CHECK_MODULES(EDELIB_DBUS, [edelib-dbus],, [have_edelib_dbus=no])
|
PKG_CHECK_MODULES(EDELIB_DBUS, [edelib-dbus],, [have_edelib_dbus=no])
|
||||||
if test "$have_edelib_dbus" = "no"; then
|
if test "$have_edelib_dbus" = "no"; then
|
||||||
AC_MSG_ERROR(edelib-dbus not found! You must install it first)
|
AC_MSG_ERROR(edelib-dbus not found! You must install it first)
|
||||||
|
Loading…
Reference in New Issue
Block a user