Add missing header files to Bliss install

This commit is contained in:
Erik Schnetter 2016-06-19 13:46:38 -04:00
parent d8b9cda632
commit fa471a4ed1

View file

@ -1,6 +1,6 @@
--- old/Makefile.spack --- old/Makefile.spack
+++ new/Makefile.spack +++ new/Makefile.spack
@@ -0,0 +1,48 @@ @@ -0,0 +1,59 @@
+# Set PREFIX to the install location for both building and installing +# Set PREFIX to the install location for both building and installing
+# Set GMP_PREFIX to the location where GMP is installed +# Set GMP_PREFIX to the location where GMP is installed
+ +
@ -33,18 +33,29 @@
+%.lo: %.cc +%.lo: %.cc
+ libtool --mode=compile --tag=CXX c++ -g -O3 -o $@ -c $*.cc + libtool --mode=compile --tag=CXX c++ -g -O3 -o $@ -c $*.cc
+%.gmp.lo: %.cc +%.gmp.lo: %.cc
+ libtool --mode=compile --tag=CXX c++ -g -O3 -o $@ \ + libtool --mode=compile --tag=CXX c++ -g -O3 -o $@ \
+ -c -DBLISS_USE_GMP $*.cc + -c -DBLISS_USE_GMP $*.cc
+ +
+install: +install:
+ mkdir -p $(PREFIX)/bin + mkdir -p $(PREFIX)/bin
+ mkdir -p $(PREFIX)/include + mkdir -p $(PREFIX)/include/bliss
+ mkdir -p $(PREFIX)/lib + mkdir -p $(PREFIX)/lib
+ libtool --mode=install cp bliss $(PREFIX)/bin/bliss + libtool --mode=install cp bliss $(PREFIX)/bin/bliss
+ libtool --mode=install cp bliss_gmp $(PREFIX)/bin/bliss_gmp + libtool --mode=install cp bliss_gmp $(PREFIX)/bin/bliss_gmp
+ libtool --mode=install cp bliss_C.h $(PREFIX)/include/bliss_C.h + libtool --mode=install cp bignum.hh $(PREFIX)/include/bliss/bignum.hh
+ libtool --mode=install cp graph.hh $(PREFIX)/include/graph.hh + libtool --mode=install cp bliss_C.h $(PREFIX)/include/bliss/bliss_C.h
+ libtool --mode=install cp utils.hh $(PREFIX)/include/utils.hh + libtool --mode=install cp defs.hh $(PREFIX)/include/bliss/defs.hh
+ libtool --mode=install cp graph.hh $(PREFIX)/include/bliss/graph.hh
+ libtool --mode=install cp heap.hh $(PREFIX)/include/bliss/heap.hh
+ libtool --mode=install cp kqueue.hh $(PREFIX)/include/bliss/kqueue.hh
+ libtool --mode=install cp kstack.hh $(PREFIX)/include/bliss/kstack.hh
+ libtool --mode=install cp orbit.hh $(PREFIX)/include/bliss/orbit.hh
+ libtool --mode=install cp partition.hh \
+ $(PREFIX)/include/bliss/partition.hh
+ libtool --mode=install cp timer.hh $(PREFIX)/include/bliss/timer.hh
+ libtool --mode=install cp uintseqhash.hh \
+ $(PREFIX)/include/bliss/uintseqhash.hh
+ libtool --mode=install cp utils.hh $(PREFIX)/include/bliss/utils.hh
+ libtool --mode=install cp libbliss.la $(PREFIX)/lib/libbliss.la + libtool --mode=install cp libbliss.la $(PREFIX)/lib/libbliss.la
+ libtool --mode=install cp libbliss_gmp.la $(PREFIX)/lib/libbliss_gmp.la + libtool --mode=install cp libbliss_gmp.la $(PREFIX)/lib/libbliss_gmp.la
+ +