分类:
2011-11-18 09:50:36
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: SSQClient
Description: a client library used to xxxxxxx.
Version: @VERSION@
Libs: -L${libdir} -lxxxclient
Cflags: -I${includedir}/@PACKAGE_NAME@
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = cmcclient.pc.in \
$(NULL)
AC_CONFIG_FILES([Makefile
pkgconfig/Makefile
pkgconfig/ssqclient.pc
src/Makefile
pcdatadir = $(libdir)/pkgconfig
pcdata_DATA = pkgconfig/ssqclient.pc \
$(NULL)
dnl -------------------------------------------------------------------------
dnl With only compile client libs.
dnl -------------------------------------------------------------------------
AC_ARG_WITH([client],
[AS_HELP_STRING([--with-client], [where only compile libs for client @<:@default=no@:>@])],
[],
[with_client=no]
)
AM_CONDITIONAL(WITH_CLIENT, test x$with_client != xno)
UTOMAKE_OPTIONS = foreign
SUBDIRS = dirA \
dirB \
dirC \
$(NULL)
if !WITH_CLIENT
SUBDIRS += dir1 dir2 dir3
endif