mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9148 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			65 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| dnl **************************************************************************
 | |
| dnl * Initialize
 | |
| dnl **************************************************************************
 | |
| AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
 | |
| 
 | |
| dnl Place all of the extra autoconf files into the config subdirectory
 | |
| AC_CONFIG_AUX_DIR([autoconf])
 | |
| 
 | |
| dnl Configure a header file
 | |
| 
 | |
| dnl Configure Makefiles
 | |
| dnl List every Makefile that ecists 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 Verify that the source directory is valid
 | |
| AC_CONFIG_SRCDIR(["Makefile.common.in"])
 | |
| 
 | |
| 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 Location of LLVM source code
 | |
| AC_ARG_WITH(llvmsrc,AC_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[`cd ${srcdir}/../..; pwd`]))
 | |
| 
 | |
| dnl Location of LLVM object code
 | |
| AC_ARG_WITH(llvmobj,AC_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`]))
 | |
| 
 | |
| dnl **************************************************************************
 | |
| dnl * Create the output files
 | |
| dnl **************************************************************************
 | |
| AC_OUTPUT(Makefile.common)
 |