Skip to content

Commit 0c8975d

Browse files
committedJun 7, 2022
Initial commit
0 parents  commit 0c8975d

14 files changed

+150
-0
lines changed
 

‎.gitignore

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
##########################
2+
# Common generated files #
3+
##########################
4+
5+
*.a
6+
*.c.d
7+
*.o
8+
9+
.deps/
10+
.dirstamp
11+
12+
############################
13+
# Always generated in root #
14+
############################
15+
16+
/INSTALL
17+
/aclocal.m4
18+
/ar-lib
19+
/autom4te.cache/
20+
/autoscan.log
21+
/compile
22+
/config.guess
23+
/config.h.in
24+
/config.h.in~
25+
/config.sub
26+
/configure
27+
/configure.ac~
28+
/configure~
29+
/depcomp
30+
/install-sh
31+
/missing
32+
/test-driver
33+
34+
# Custom
35+
36+
/Makefile.in
37+
38+
###########################################
39+
# Only generated when configuring in root #
40+
###########################################
41+
42+
/config.h
43+
/config.log
44+
/config.status
45+
/stamp-h1
46+
/test-suite.log
47+
48+
/tests/test*.log
49+
/tests/test*.trs
50+
51+
# Custom
52+
53+
/Makefile
54+
55+
/autotools-project

‎.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "vendor/cross"]
2+
path = vendor/cross
3+
url = https://github.com/tailix/cross.git
4+
ignore = dirty

‎AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Alex Kotov <kotovalexarian@gmail.com>

‎COPYING

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Alex Kotov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎ChangeLog

Whitespace-only changes.

‎Makefile.am

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
AM_CFLAGS = \
2+
-std=c99 \
3+
-pedantic \
4+
-Wall \
5+
-Wextra
6+
7+
bin_PROGRAMS = autotools-project
8+
9+
autotools_project_SOURCES = \
10+
src/main.c

‎NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEWS.md

‎NEWS.md

Whitespace-only changes.

‎README

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

‎README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Autotools project
2+
=================
3+
4+
This is a template of an Autotools project.
5+
6+
Don't forget to change the following files:
7+
8+
* `AUTHORS`
9+
* `configure.ac`
10+
* `COPYING`
11+
* `Makefile.am`
12+
* `README.md`
13+
14+
Remove submodule `vendor/cross` if you don't need it.

‎autogen.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
set -eux
4+
5+
exec autoreconf -isf

‎configure.ac

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
AC_PREREQ([2.68])
2+
AC_INIT([autotools-project],
3+
[0.0.0],
4+
[https://github.com/tailix/autotools-project/issues],
5+
[autotools-project],
6+
[https://github.com/tailix/autotools-project])
7+
8+
AC_CONFIG_HEADERS([config.h])
9+
AC_CONFIG_SRCDIR([src/main.c])
10+
11+
AC_CANONICAL_BUILD
12+
AC_CANONICAL_HOST
13+
14+
15+
16+
AM_INIT_AUTOMAKE([1.9 subdir-objects])
17+
18+
AC_CONFIG_FILES([
19+
Makefile
20+
])
21+
22+
AC_LANG([C])
23+
24+
AM_PROG_AR
25+
AM_PROG_AS
26+
AC_PROG_CC
27+
AC_PROG_CC_C99
28+
AC_PROG_RANLIB
29+
AC_C_INLINE
30+
AC_CHECK_HEADER_STDBOOL
31+
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])
32+
33+
AC_OUTPUT

‎src/main.c

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
int main(const int argc __attribute__((unused)), char **const argv __attribute__((unused)))
2+
{
3+
return 0;
4+
}

‎vendor/cross

Submodule cross added at 0f8696e

0 commit comments

Comments
 (0)
Please sign in to comment.