Commit 7add0cf8 authored by Thomas Grill's avatar Thomas Grill
Browse files

Merge pull request #15 from umlaeute/pkgconfig

basic pkg-config support, for autotools on linux
parents 109740c6 171f92aa
......@@ -6,4 +6,6 @@
SUBDIRS = source # tutorial
# EXTRA_DIST = flext.doxy
\ No newline at end of file
# EXTRA_DIST = flext.doxy
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(SYSTEM)-flext.pc
......@@ -186,6 +186,7 @@ AC_SUBST(FRAMEWORKS)
AC_OUTPUT([
Makefile
source/Makefile
$SYSTEM-flext.pc
])
# tutorial/Makefile
......
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/flext
Name: max-flext
Description: C++ glue layer for Pure Data and Max
Version: @VERSION@
Cflags: -I${includedir} -DFLEXT_SYS=1 -DFLEXT_SHARED
Libs: -L${libdir} -lflext-max
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/flext
Name: pd-flext
Description: C++ glue layer for Pure Data and Max
Version: @VERSION@
Cflags: -I${includedir} -DPD -DFLEXT_SYS=2 -DFLEXT_SHARED
Libs: -L${libdir} -lflext-pd
## sections below ought to be factored out into standalone .pc files
#Name: pd-flext-static
#Description: C++ glue layer for Pure Data and Max (static)
#Version: @VERSION@
#Cflags: -I${includedir} -DPD
#Libs: -L${libdir} -lflext-pd_s
#
#Name: pd-flext-inline
#Description: C++ glue layer for Pure Data and Max (inline)
#Version: @VERSION@
#Cflags: -I${includedir} -DPD -DFLEXT_INLINE
#Libs:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment