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:
@${MKDIR} -p -m 0755 $(dest_LIBDIR)
@$(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:
@${MKDIR} -p -m 0755 $(dest_INCDIR)
@$(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/
datainstall:
......
......@@ -26,20 +26,22 @@ CUDALIBS = # Project-specific libraries to link against for CUDA
# values given below are the defaults - they
# may be customised/overridden in project
# Makefiles.
HFILES = *.h # installed into $FSLDIR/include/$PROJNAME/
AFILES = *.a # installed into $FSLDIR/lib/
SOFILES = *.so # installed into $FSLDIR/lib/
XFILES = # installed into $FSLDIR/bin/
FXFILES = # installed into $FSLDIR/bin/, only for internal builds
SCRIPTS = # installed into $FSLDIR/bin/
FSCRIPTS = # installed into $FSLDIR/bin/, only for internal builds
RUNTCLS = # link to Runtcl created in $FSLDIR/bin/ which assumes
# that <file>.tcl has been installed into
# $FSLDIR/tcl/
PYFILES = *.py # installed into $FSLDIR/etc/fsl/python/$PROJNAME/
TCLFILES = *.tcl # installed into $FSLDIR/tcl/
DATAFILES = # installed into $FSLDIR/data/$PROJNAME/
TESTXILES = # not currently used
HFILES = *.h # installed into $FSLDIR/include/$PROJNAME/
GLOBALHFILES = # installed into $FSLDIR/include/ (should
# not be used in normal circumstances)
AFILES = *.a # installed into $FSLDIR/lib/
SOFILES = *.so # installed into $FSLDIR/lib/
XFILES = # installed into $FSLDIR/bin/
FXFILES = # installed into $FSLDIR/bin/, only for internal builds
SCRIPTS = # installed into $FSLDIR/bin/
FSCRIPTS = # installed into $FSLDIR/bin/, only for internal builds
RUNTCLS = # link to Runtcl created in $FSLDIR/bin/ which assumes
# that <file>.tcl has been installed into
# $FSLDIR/tcl/
PYFILES = *.py # installed into $FSLDIR/etc/fsl/python/$PROJNAME/
TCLFILES = *.tcl # installed into $FSLDIR/tcl/
DATAFILES = # installed into $FSLDIR/data/$PROJNAME/
TESTXILES = # not currently used
# Final install destinations
# 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