Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ lib/*.la
*.dylib
*.exe
*.tar.gz
*.pc
libtool
m4/
tests/.deps/
Expand All @@ -30,3 +31,4 @@ tests/Makefile.in

# editor temp files
*.sw[nop]
*~
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
SUBDIRS = lib tests
ACLOCAL_AMFLAGS = -I m4
pkgconfig_DATA = libsirocco.pc
dist-hook:
cp README.md $(distdir)
cp ZVK.py $(distdir)
Expand Down
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign -Wall])
AM_PROG_AR
AC_PROG_CXX
PKG_INSTALLDIR
LT_INIT([shared win32-dll])
AC_CANONICAL_HOST
AS_CASE([$host_os], [*cygwin* | *mingw*], [SIROCCO_LDFLAGS=-no-undefined])
AC_SUBST(SIROCCO_LDFLAGS)
AC_CONFIG_FILES([Makefile lib/Makefile tests/Makefile])
AC_CONFIG_FILES([Makefile lib/Makefile tests/Makefile libsirocco.pc])
AC_OUTPUT
11 changes: 11 additions & 0 deletions libsirocco.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: @PACKAGE_NAME@
URL: https://github.com/miguelmarco/SIROCCO2
Description: Sirocco Is a ROot Certified COntinuator
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lsirocco
Cflags: -I${includedir}