forked from enlightenment/efl
Add --libs flag to ecore-config for each subsystem.
SVN revision: 16147
This commit is contained in:
parent
86bfc3c2ac
commit
d1e4392209
|
@ -4,11 +4,14 @@ prefix=@prefix@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
exec_prefix_set=no
|
exec_prefix_set=no
|
||||||
|
|
||||||
usage="\
|
usage() {
|
||||||
Usage: ecore-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
|
echo "Usage: ecore-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" 1>&2
|
||||||
|
echo " [--libs-con] [--libs-config] [--libs-dbus] [--libs-evas] [--libs-fb]" 1>&2
|
||||||
|
echo " [--libs-file] [--libs-ipc] [--libs-job] [--libs-txt] [--libs-x]" 1>&2
|
||||||
|
}
|
||||||
|
|
||||||
if test $# -eq 0; then
|
if test $# -eq 0; then
|
||||||
echo "${usage}" 1>&2
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -46,10 +49,50 @@ while test $# -gt 0; do
|
||||||
;;
|
;;
|
||||||
--libs)
|
--libs)
|
||||||
libdirs=-L@libdir@
|
libdirs=-L@libdir@
|
||||||
echo $libdirs -lecore @ecore_job_libs@ @ecore_x_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ @ecore_txt_libs@ @ecore_fb_libs@ @ecore_config_libs@ @ecore_file_libs@ @eet_libs@ -lm
|
echo $libdirs -lecore @ecore_job_libs@ @ecore_x_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ @ecore_txt_libs@ @ecore_fb_libs@ @ecore_config_libs@ @ecore_file_libs@ @ecore_dbus_libs@ @eet_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-con)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_con_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-config)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_config_libs@ @eet_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-dbus)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_dbus_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-evas)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_evas_libs@ @eet_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-fb)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_fb_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-file)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_file_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-ipc)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_ipc_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-job)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_job_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-txt)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_txt_libs@ -lm
|
||||||
|
;;
|
||||||
|
--libs-x)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @ecore_x_libs@ -lm
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "${usage}" 1>&2
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue