these days it's everyone's hobby to put lots of funky stuff in ecore, that has nothing core-ish about it. so here's an --libs-core arg that makes ecore-config only echo the core libs of ecore. also formatted the argument list a bit nicer, so that it fits in a 80x24 terminal.

SVN revision: 28646
This commit is contained in:
tilman 2007-03-10 22:25:58 +00:00 committed by tilman
parent 8df6a0235f
commit 0b2ec0d179
1 changed files with 10 additions and 3 deletions

View File

@ -5,9 +5,12 @@ exec_prefix=@exec_prefix@
exec_prefix_set=no
usage() {
echo "Usage: ecore-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" 1>&2
echo " [--libs-con] [--libs-config] [--libs-dbus] [--libs-desktop] [--libs-evas]" 1>&2
echo " [--libs-fb] [--libs-file] [--libs-ipc] [--libs-job] [--libs-txt] [--libs-x]" 1>&2
echo "Usage: ecore-config [--prefix[=DIR]] [--exec-prefix[=DIR]]" 1>&2
echo " [--version] [--libs] [--cflags]" 1>&2
echo " [--libs-core]" 1>&2
echo " [--libs-con] [--libs-config] [--libs-dbus] [--libs-desktop]" 1>&2
echo " [--libs-evas] [--libs-fb] [--libs-file] [--libs-ipc]" 1>&2
echo " [--libs-job] [--libs-txt] [--libs-x]" 1>&2
}
if test $# -eq 0; then
@ -51,6 +54,10 @@ while test $# -gt 0; do
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@ @ecore_desktop_libs@ @ecore_dbus_libs@ @SSL_LIBS@ @winsock_libs@ @CURL_LIBS@ @EET_LIBS@ @EVAS_LIBS@ @x_libs@ @Xcursor_libs@ @Xrender_libs@ @Xprint_libs@ @Xinerama_libs@ @Xrandr_libs@ @Xfixes_libs@ @Xdamage_libs@ @Xss_libs@ @iconv_libs@ @tslib_libs@ @fam_libs@ -lm
;;
--libs-core)
libdirs=-L@libdir@
echo $libdirs -lecore -lm
;;
--libs-con)
libdirs=-L@libdir@
echo $libdirs -lecore @ecore_con_libs@ @SSL_LIBS@ @winsock_libs@ @CURL_LIBS@ -lm