mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 08:54:58 +00:00
* Make the auxilliary directory be llvm/autoconf not the project's * Use the LLVM_CONFIG_PROJECT macro to get the --with-llvm{src,obj} args git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20310 91177308-0d34-0410-b5e6-96231b3b80d8
66 lines
2.7 KiB
Plaintext
66 lines
2.7 KiB
Plaintext
dnl **************************************************************************
|
|
dnl * Initialize
|
|
dnl **************************************************************************
|
|
AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
|
|
|
|
dnl Tell autoconf that the auxilliary files are actually located in
|
|
dnl the LLVM autoconf directory, not here.
|
|
AC_CONFIG_AUX_DIR(../../autoconf)
|
|
|
|
dnl Tell autoconf that this is an LLVM project being configured
|
|
dnl This provides the --with-llvmsrc and --with-llvmobj options
|
|
LLVM_CONFIG_PROJECT
|
|
|
|
dnl Verify that the source directory is valid
|
|
AC_CONFIG_SRCDIR(["Makefile.common.in"])
|
|
|
|
dnl Configure a common Makefile
|
|
AC_CONFIG_FILES(Makefile.common)
|
|
|
|
dnl Configure project makefiles
|
|
dnl List every Makefile that exists within your source tree
|
|
AC_CONFIG_MAKEFILE(Makefile)
|
|
AC_CONFIG_MAKEFILE(lib/Makefile)
|
|
AC_CONFIG_MAKEFILE(lib/sample/Makefile)
|
|
AC_CONFIG_MAKEFILE(tools/Makefile)
|
|
AC_CONFIG_MAKEFILE(tools/sample/Makefile)
|
|
|
|
dnl **************************************************************************
|
|
dnl * Determine which system we are building on
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Check for programs.
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Check for libraries.
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Checks for header files.
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Checks for typedefs, structures, and compiler characteristics.
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Checks for library functions.
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Enable various compile-time options
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Set the location of various third-party software packages
|
|
dnl **************************************************************************
|
|
|
|
dnl **************************************************************************
|
|
dnl * Create the output files
|
|
dnl **************************************************************************
|
|
|
|
dnl This must be last
|
|
AC_OUTPUT
|