Skip to content
Snippets Groups Projects
Commit ca30b112 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: Allow hook for header files to be installed "globally", i.e. within

$FSLDIR/include, rather than $FSLDIR/include/$PROJNAME. Needed so armawrap
can install armadillo at $FSLDIR/include/armadillo
parent 0a13902b
No related branches found
No related tags found
No related merge requests found
...@@ -84,10 +84,13 @@ libinstall: ...@@ -84,10 +84,13 @@ libinstall:
@${MKDIR} -p -m 0755 $(dest_LIBDIR) @${MKDIR} -p -m 0755 $(dest_LIBDIR)
@$(call _x_install,"library files",${dest_LIBDIR},0644,${AFILES} ${SOFILES}) @$(call _x_install,"library files",${dest_LIBDIR},0644,${AFILES} ${SOFILES})
# Installs HFILES into $FSLDIR/include/$PROJNAME/ # Installs:
# - HFILES into $FSLDIR/include/$PROJNAME/
# - GLOBALHFILES into $FSLDIR/include/
hdrinstall: hdrinstall:
@${MKDIR} -p -m 0755 $(dest_INCDIR) @${MKDIR} -p -m 0755 $(dest_INCDIR)
@$(call _x_install,"header files",${dest_INCDIR}/${PROJNAME}/,0644,${HFILES}) @$(call _x_install,"header files",${dest_INCDIR}/${PROJNAME}/,0644,${HFILES})
@$(call _x_install,"global header files",${dest_INCDIR}/,0644,${GLOBALHFILES})
# Installs DATAFILES into $FSLDIR/data/$PROJNAME/ # Installs DATAFILES into $FSLDIR/data/$PROJNAME/
datainstall: datainstall:
......
...@@ -26,20 +26,22 @@ CUDALIBS = # Project-specific libraries to link against for CUDA ...@@ -26,20 +26,22 @@ CUDALIBS = # Project-specific libraries to link against for CUDA
# values given below are the defaults - they # values given below are the defaults - they
# may be customised/overridden in project # may be customised/overridden in project
# Makefiles. # Makefiles.
HFILES = *.h # installed into $FSLDIR/include/$PROJNAME/ HFILES = *.h # installed into $FSLDIR/include/$PROJNAME/
AFILES = *.a # installed into $FSLDIR/lib/ GLOBALHFILES = # installed into $FSLDIR/include/ (should
SOFILES = *.so # installed into $FSLDIR/lib/ # not be used in normal circumstances)
XFILES = # installed into $FSLDIR/bin/ AFILES = *.a # installed into $FSLDIR/lib/
FXFILES = # installed into $FSLDIR/bin/, only for internal builds SOFILES = *.so # installed into $FSLDIR/lib/
SCRIPTS = # installed into $FSLDIR/bin/ XFILES = # installed into $FSLDIR/bin/
FSCRIPTS = # installed into $FSLDIR/bin/, only for internal builds FXFILES = # installed into $FSLDIR/bin/, only for internal builds
RUNTCLS = # link to Runtcl created in $FSLDIR/bin/ which assumes SCRIPTS = # installed into $FSLDIR/bin/
# that <file>.tcl has been installed into FSCRIPTS = # installed into $FSLDIR/bin/, only for internal builds
# $FSLDIR/tcl/ RUNTCLS = # link to Runtcl created in $FSLDIR/bin/ which assumes
PYFILES = *.py # installed into $FSLDIR/etc/fsl/python/$PROJNAME/ # that <file>.tcl has been installed into
TCLFILES = *.tcl # installed into $FSLDIR/tcl/ # $FSLDIR/tcl/
DATAFILES = # installed into $FSLDIR/data/$PROJNAME/ PYFILES = *.py # installed into $FSLDIR/etc/fsl/python/$PROJNAME/
TESTXILES = # not currently used TCLFILES = *.tcl # installed into $FSLDIR/tcl/
DATAFILES = # installed into $FSLDIR/data/$PROJNAME/
TESTXILES = # not currently used
# Final install destinations # Final install destinations
# for project outputs # for project outputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment