<'
if {[llength $argv] ni {1 2}} {
  error "expected arguments: middleware ?component?"
}
lappend argv {*}[dotgen components] ;# default to first component defined
lassign $argv middleware component
'>
# pkg-config file for <"[$component name]"> c client
#
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@/genom/<"$middleware">
includedir=@includedir@/genom/<"$middleware">

Name: <"[$component name]">-c-client
Description: <"[$component name]"> C client (<"$middleware">)
Version: @PACKAGE_VERSION@
Requires: genom3-c-client = @GENOM_CLIENT_PROTOCOL@
Cflags: -I${includedir}
Libs: -L${libdir} -l<"[$component name]">-c-client
