mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
build: fix make install include path
* now we can include library headers like this: #include <cglm/cglm.h>
This commit is contained in:
13
autogen.sh
13
autogen.sh
@@ -6,12 +6,15 @@
|
|||||||
# Full license can be found in the LICENSE file
|
# Full license can be found in the LICENSE file
|
||||||
#
|
#
|
||||||
|
|
||||||
cd `dirname "$0"`
|
cd $(dirname "$0")
|
||||||
|
|
||||||
if [ "`uname`" = "Darwin" ]; then
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
libtoolBin=$(which glibtoolize)
|
libtoolBin=$(which glibtoolize)
|
||||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
libtoolBinDir=$(dirname "${libtoolBin}")
|
||||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
|
||||||
|
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
|
||||||
|
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
AC_INIT([cglm], [0.2.0], [info@recp.me])
|
AC_INIT([cglm], [0.2.1], [info@recp.me])
|
||||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||||
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
#define CGLM_VERSION_MAJOR 0
|
#define CGLM_VERSION_MAJOR 0
|
||||||
#define CGLM_VERSION_MINOR 2
|
#define CGLM_VERSION_MINOR 2
|
||||||
#define CGLM_VERSION_PATCH 0
|
#define CGLM_VERSION_PATCH 1
|
||||||
|
|
||||||
#endif /* cglm_version_h */
|
#endif /* cglm_version_h */
|
||||||
|
55
makefile.am
55
makefile.am
@@ -32,36 +32,41 @@ TESTS = $(check_PROGRAMS)
|
|||||||
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
|
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
|
||||||
test_test_mat4_CFLAGS = $(checkCFLAGS)
|
test_test_mat4_CFLAGS = $(checkCFLAGS)
|
||||||
|
|
||||||
nobase_include_HEADERS = include/cglm-version.h \
|
cglmdir=$(includedir)/cglm
|
||||||
include/cglm.h \
|
cglm_HEADERS = include/cglm-version.h \
|
||||||
include/cglm-call.h \
|
include/cglm.h \
|
||||||
include/cglm-cam.h \
|
include/cglm-call.h \
|
||||||
include/cglm-io.h \
|
include/cglm-cam.h \
|
||||||
include/cglm-mat3.h \
|
include/cglm-io.h \
|
||||||
include/cglm-types.h \
|
include/cglm-mat3.h \
|
||||||
include/cglm-common.h \
|
include/cglm-types.h \
|
||||||
include/cglm-affine.h \
|
include/cglm-common.h \
|
||||||
include/cglm-vec.h \
|
include/cglm-affine.h \
|
||||||
include/cglm-euler.h \
|
include/cglm-vec.h \
|
||||||
include/cglm-util.h \
|
include/cglm-euler.h \
|
||||||
include/cglm-quat.h \
|
include/cglm-util.h \
|
||||||
include/cglm-mat.h \
|
include/cglm-quat.h \
|
||||||
include/cglm-affine-mat.h \
|
include/cglm-mat.h \
|
||||||
include/arch/simd/cglm-mat-simd-avx.h \
|
include/cglm-affine-mat.h
|
||||||
|
|
||||||
|
cglm_arch_simddir=$(includedir)/cglm/arch/simd/
|
||||||
|
cglm_arch_simd_HEADERS = include/arch/simd/cglm-mat-simd-avx.h \
|
||||||
include/arch/simd/cglm-affine-mat-avx.h \
|
include/arch/simd/cglm-affine-mat-avx.h \
|
||||||
include/arch/simd/cglm-quat-simd.h \
|
include/arch/simd/cglm-quat-simd.h \
|
||||||
include/arch/simd/cglm-affine-mat-sse2.h \
|
include/arch/simd/cglm-affine-mat-sse2.h \
|
||||||
include/arch/simd/cglm-mat3-simd-sse2.h \
|
include/arch/simd/cglm-mat3-simd-sse2.h \
|
||||||
include/arch/simd/cglm-mat-simd-sse2.h \
|
include/arch/simd/cglm-mat-simd-sse2.h \
|
||||||
include/arch/simd/cglm-intrin.h \
|
include/arch/simd/cglm-intrin.h
|
||||||
include/call/cglmc-euler.h \
|
|
||||||
include/call/cglmc-quat.h \
|
cglm_calldir=$(includedir)/cglm/call
|
||||||
include/call/cglmc-cam.h \
|
cglm_call_HEADERS = include/call/cglmc-euler.h \
|
||||||
include/call/cglmc-io.h \
|
include/call/cglmc-quat.h \
|
||||||
include/call/cglmc-affine.h \
|
include/call/cglmc-cam.h \
|
||||||
include/call/cglmc-vec.h \
|
include/call/cglmc-io.h \
|
||||||
include/call/cglmc-mat3.h \
|
include/call/cglmc-affine.h \
|
||||||
include/call/cglmc-mat.h
|
include/call/cglmc-vec.h \
|
||||||
|
include/call/cglmc-mat3.h \
|
||||||
|
include/call/cglmc-mat.h
|
||||||
|
|
||||||
libcglm_la_SOURCES=\
|
libcglm_la_SOURCES=\
|
||||||
src/cglm-euler.c \
|
src/cglm-euler.c \
|
||||||
|
Reference in New Issue
Block a user