build: remove autotools support
This commit is contained in:
parent
3e13a474df
commit
4c28aacafe
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,6 +1,3 @@
|
||||
[submodule "m4/nc"]
|
||||
path = m4/nc
|
||||
url = git://git.nerdcruft.net/autocruft
|
||||
[submodule "cmake"]
|
||||
path = cmake
|
||||
url = git://git.nerdcruft.net/cmake
|
||||
|
71
Makefile.am
71
Makefile.am
@ -1,71 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = dist-bzip2 dist-xz subdir-objects
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
AM_CXXFLAGS = $(UTIL_CFLAGS)
|
||||
|
||||
DEFAULT_INCLUDES = -I${top_srcdir} -I${top_builddir} -I${top_builddir}/vk
|
||||
lib_LIBRARIES = libcruft-vk.a
|
||||
|
||||
SUFFIXES = .hpp.xml .hpp
|
||||
|
||||
vk.hpp: vk.xml vk.xsl
|
||||
$(XSLTPROC) $(XSLTFLAGS) -o $(builddir)/$@ $(srcdir)/vk.xsl $(srcdir)/vk.xml
|
||||
|
||||
EXTRA_DIST = vk.xml vk.xsl
|
||||
BUILT_SOURCES = vk.hpp
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
libcruft_vk_a_SOURCES = \
|
||||
vk.hpp \
|
||||
fwd.hpp \
|
||||
object.cpp \
|
||||
object.hpp \
|
||||
buffer.cpp \
|
||||
buffer.hpp \
|
||||
command_buffer.cpp \
|
||||
command_buffer.hpp \
|
||||
command_pool.cpp \
|
||||
command_pool.hpp \
|
||||
device.cpp \
|
||||
device.hpp \
|
||||
device_memory.cpp \
|
||||
device_memory.hpp \
|
||||
event.cpp \
|
||||
event.hpp \
|
||||
except.cpp \
|
||||
except.hpp \
|
||||
fence.cpp \
|
||||
fence.hpp \
|
||||
framebuffer.cpp \
|
||||
framebuffer.hpp \
|
||||
instance.cpp \
|
||||
instance.hpp \
|
||||
image.cpp \
|
||||
image.hpp \
|
||||
physical_device.cpp \
|
||||
physical_device.hpp \
|
||||
pipeline.cpp \
|
||||
pipeline.hpp \
|
||||
pipeline_cache.cpp \
|
||||
pipeline_cache.hpp \
|
||||
queue.cpp \
|
||||
queue.hpp \
|
||||
render_pass.cpp \
|
||||
render_pass.hpp \
|
||||
semaphore.cpp \
|
||||
semaphore.hpp \
|
||||
shader_module.cpp \
|
||||
shader_module.hpp \
|
||||
traits.hpp
|
||||
|
||||
|
||||
nobase_pkginclude_HEADERS = $(filter %.hpp %.ipp, $(libcruft_vk_a_SOURCES))
|
||||
pkgincludedir = $(includedir)/cruft/vk
|
||||
pkglibdir = $(libdir)/
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libcruft-vk.pc
|
||||
|
||||
.PHONY: doc
|
||||
|
||||
doc: $(top_builddir)/Doxyfile
|
||||
doxygen $<
|
64
configure.ac
64
configure.ac
@ -1,64 +0,0 @@
|
||||
AC_INIT([vk-cruft], [0.0.1], [danny@nerdcruft.net], [], [http://nerdcruft.net/])
|
||||
## Explicitly set an empty CXXFLAGS if not present to prevent AC_PROG_CXX from
|
||||
## generating a default -O2. This allows us to manually select -O0 when
|
||||
## debugging is enabled.
|
||||
: ${CXXFLAGS=""}
|
||||
|
||||
###############################################################################
|
||||
## Build environment discovery
|
||||
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_MACRO_DIR([m4/nc])
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AC_LANG([C++])
|
||||
|
||||
NC_CXX
|
||||
NC_PLATFORM
|
||||
NC_OPTIMISATION
|
||||
NC_WARNINGS
|
||||
NC_DEBUGGING
|
||||
|
||||
LT_INIT
|
||||
|
||||
AM_INIT_AUTOMAKE([1.14 foreign dist-xz dist-bzip2 subdir-objects])
|
||||
AM_SILENT_RULES([yes])
|
||||
AM_MAINTAINER_MODE([enable])
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AX_CHECK_GNU_MAKE
|
||||
|
||||
|
||||
###############################################################################
|
||||
## Required build packages
|
||||
|
||||
AC_CHECK_PROGS([XSLTPROC], [xsltproc], [false])
|
||||
AS_IF([test "x$XSLTPROC" == "xfalse"], [
|
||||
AC_MSG_ERROR([Cannot find xsltproc])
|
||||
])
|
||||
|
||||
|
||||
###############################################################################
|
||||
## Required packages
|
||||
|
||||
PKG_CHECK_MODULES_STATIC([UTIL], [libcruft-util])
|
||||
AC_SUBST([UTIL_CFLAGS])
|
||||
AC_SUBST([UTIL_LIBS])
|
||||
|
||||
###############################################################################
|
||||
## Output
|
||||
|
||||
AX_APPEND_FLAG([-include config.h])
|
||||
|
||||
NC_SUBPACKAGE([cruft-vk])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Doxyfile
|
||||
Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
1
m4/nc
1
m4/nc
@ -1 +0,0 @@
|
||||
Subproject commit be2fda8717ba0c1b983aa84581387457a2f903b7
|
Loading…
Reference in New Issue
Block a user