mirror of
				https://github.com/tailix/autotools-project.git
				synced 2025-10-30 23:16:12 -04:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
						commit
						0c8975daec
					
				
					 14 changed files with 150 additions and 0 deletions
				
			
		
							
								
								
									
										55
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,55 @@
 | 
			
		|||
##########################
 | 
			
		||||
# Common generated files #
 | 
			
		||||
##########################
 | 
			
		||||
 | 
			
		||||
*.a
 | 
			
		||||
*.c.d
 | 
			
		||||
*.o
 | 
			
		||||
 | 
			
		||||
.deps/
 | 
			
		||||
.dirstamp
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Always generated in root #
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
/INSTALL
 | 
			
		||||
/aclocal.m4
 | 
			
		||||
/ar-lib
 | 
			
		||||
/autom4te.cache/
 | 
			
		||||
/autoscan.log
 | 
			
		||||
/compile
 | 
			
		||||
/config.guess
 | 
			
		||||
/config.h.in
 | 
			
		||||
/config.h.in~
 | 
			
		||||
/config.sub
 | 
			
		||||
/configure
 | 
			
		||||
/configure.ac~
 | 
			
		||||
/configure~
 | 
			
		||||
/depcomp
 | 
			
		||||
/install-sh
 | 
			
		||||
/missing
 | 
			
		||||
/test-driver
 | 
			
		||||
 | 
			
		||||
# Custom
 | 
			
		||||
 | 
			
		||||
/Makefile.in
 | 
			
		||||
 | 
			
		||||
###########################################
 | 
			
		||||
# Only generated when configuring in root #
 | 
			
		||||
###########################################
 | 
			
		||||
 | 
			
		||||
/config.h
 | 
			
		||||
/config.log
 | 
			
		||||
/config.status
 | 
			
		||||
/stamp-h1
 | 
			
		||||
/test-suite.log
 | 
			
		||||
 | 
			
		||||
/tests/test*.log
 | 
			
		||||
/tests/test*.trs
 | 
			
		||||
 | 
			
		||||
# Custom
 | 
			
		||||
 | 
			
		||||
/Makefile
 | 
			
		||||
 | 
			
		||||
/autotools-project
 | 
			
		||||
							
								
								
									
										4
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
[submodule "vendor/cross"]
 | 
			
		||||
	path = vendor/cross
 | 
			
		||||
	url = https://github.com/tailix/cross.git
 | 
			
		||||
	ignore = dirty
 | 
			
		||||
							
								
								
									
										1
									
								
								AUTHORS
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								AUTHORS
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Alex Kotov <kotovalexarian@gmail.com>
 | 
			
		||||
							
								
								
									
										21
									
								
								COPYING
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								COPYING
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
MIT License
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2022 Alex Kotov
 | 
			
		||||
 | 
			
		||||
Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
in the Software without restriction, including without limitation the rights
 | 
			
		||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
The above copyright notice and this permission notice shall be included in all
 | 
			
		||||
copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
			
		||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | 
			
		||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 | 
			
		||||
SOFTWARE.
 | 
			
		||||
							
								
								
									
										0
									
								
								ChangeLog
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								ChangeLog
									
										
									
									
									
										Normal file
									
								
							
							
								
								
									
										10
									
								
								Makefile.am
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Makefile.am
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
AM_CFLAGS = \
 | 
			
		||||
	-std=c99 \
 | 
			
		||||
	-pedantic \
 | 
			
		||||
	-Wall \
 | 
			
		||||
	-Wextra
 | 
			
		||||
 | 
			
		||||
bin_PROGRAMS = autotools-project
 | 
			
		||||
 | 
			
		||||
autotools_project_SOURCES = \
 | 
			
		||||
	src/main.c
 | 
			
		||||
							
								
								
									
										1
									
								
								NEWS
									
										
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								NEWS
									
										
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
NEWS.md
 | 
			
		||||
							
								
								
									
										0
									
								
								NEWS.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								NEWS.md
									
										
									
									
									
										Normal file
									
								
							
							
								
								
									
										1
									
								
								README
									
										
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								README
									
										
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
README.md
 | 
			
		||||
							
								
								
									
										14
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
Autotools project
 | 
			
		||||
=================
 | 
			
		||||
 | 
			
		||||
This is a template of an Autotools project.
 | 
			
		||||
 | 
			
		||||
Don't forget to change the following files:
 | 
			
		||||
 | 
			
		||||
* `AUTHORS`
 | 
			
		||||
* `configure.ac`
 | 
			
		||||
* `COPYING`
 | 
			
		||||
* `Makefile.am`
 | 
			
		||||
* `README.md`
 | 
			
		||||
 | 
			
		||||
Remove submodule `vendor/cross` if you don't need it.
 | 
			
		||||
							
								
								
									
										5
									
								
								autogen.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								autogen.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
set -eux
 | 
			
		||||
 | 
			
		||||
exec autoreconf -isf
 | 
			
		||||
							
								
								
									
										33
									
								
								configure.ac
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								configure.ac
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
AC_PREREQ([2.68])
 | 
			
		||||
AC_INIT([autotools-project],
 | 
			
		||||
  [0.0.0],
 | 
			
		||||
  [https://github.com/tailix/autotools-project/issues],
 | 
			
		||||
  [autotools-project],
 | 
			
		||||
  [https://github.com/tailix/autotools-project])
 | 
			
		||||
 | 
			
		||||
AC_CONFIG_HEADERS([config.h])
 | 
			
		||||
AC_CONFIG_SRCDIR([src/main.c])
 | 
			
		||||
 | 
			
		||||
AC_CANONICAL_BUILD
 | 
			
		||||
AC_CANONICAL_HOST
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
AM_INIT_AUTOMAKE([1.9 subdir-objects])
 | 
			
		||||
 | 
			
		||||
AC_CONFIG_FILES([
 | 
			
		||||
  Makefile
 | 
			
		||||
])
 | 
			
		||||
 | 
			
		||||
AC_LANG([C])
 | 
			
		||||
 | 
			
		||||
AM_PROG_AR
 | 
			
		||||
AM_PROG_AS
 | 
			
		||||
AC_PROG_CC
 | 
			
		||||
AC_PROG_CC_C99
 | 
			
		||||
AC_PROG_RANLIB
 | 
			
		||||
AC_C_INLINE
 | 
			
		||||
AC_CHECK_HEADER_STDBOOL
 | 
			
		||||
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])
 | 
			
		||||
 | 
			
		||||
AC_OUTPUT
 | 
			
		||||
							
								
								
									
										4
									
								
								src/main.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/main.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
int main(const int argc __attribute__((unused)), char **const argv __attribute__((unused)))
 | 
			
		||||
{
 | 
			
		||||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								vendor/cross
									
										
									
									
										vendored
									
									
										Submodule
									
								
							
							
						
						
									
										1
									
								
								vendor/cross
									
										
									
									
										vendored
									
									
										Submodule
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Subproject commit 0f8696e6cca8ea7ab6adf22cfcc6b53c819fa516
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue