remove the gnu autotools stuff
This commit is contained in:
		
							parent
							
								
									823fcecc03
								
							
						
					
					
						commit
						ea280a39b4
					
				| @ -0,0 +1,3 @@ | ||||
| 2019-08-19 Florian Stinglmayr <fstinglmayr@gmail.com> | ||||
| 	* build switch to cmake | ||||
| 	* release version 0.4 | ||||
							
								
								
									
										20
									
								
								Makefile.am
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								Makefile.am
									
									
									
									
									
								
							| @ -1,20 +0,0 @@ | ||||
| AM_YFLAGS =		-d | ||||
| AM_LFLAGS =		-P dp | ||||
| BUILT_SOURCES =		lib/dice_parse.h | ||||
| 
 | ||||
| lib_LTLIBRARIES =	libdice.la | ||||
| libdice_la_SOURCES =	lib/dice_lexer.l \
 | ||||
| 			lib/dice_parse.y \
 | ||||
| 			lib/dice.h \
 | ||||
| 			lib/dice.c \
 | ||||
| 			lib/diceexpr.c | ||||
| 
 | ||||
| include_HEADERS =	lib/dice.h | ||||
| 
 | ||||
| AM_CFLAGS =		-Ilib | ||||
| 
 | ||||
| libdice_la_LIBADD =	${BSD_LIBS} -lm | ||||
| 
 | ||||
| pkgconfig_DATA =	libdice.pc | ||||
| 
 | ||||
| SUBDIRS	=		. tests | ||||
							
								
								
									
										19
									
								
								autogen.sh
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								autogen.sh
									
									
									
									
									
								
							| @ -1,19 +0,0 @@ | ||||
| #!/bin/sh | ||||
| 
 | ||||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| if [ $(uname) = "OpenBSD" ]; then | ||||
|     export AUTOMAKE_VERSION=1.15 | ||||
|     export AUTOCONF_VERSION=2.69 | ||||
| fi | ||||
| 
 | ||||
| cd "$(dirname "$0")" | ||||
| 
 | ||||
| PATH=$PATH:/usr/local/bin | ||||
| 
 | ||||
| aclocal $AC_SEARCH_OPTS | ||||
| autoconf | ||||
| autoreconf --install | ||||
| autoheader | ||||
| automake --copy --add-missing | ||||
							
								
								
									
										10
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								build.sh
									
									
									
									
									
								
							| @ -1,10 +0,0 @@ | ||||
| #!/bin/sh | ||||
| 
 | ||||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| cd "$(dirname "$0")" | ||||
| 
 | ||||
| ./autogen.sh | ||||
| ./configure "$@" | ||||
| make | ||||
							
								
								
									
										27
									
								
								configure.ac
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								configure.ac
									
									
									
									
									
								
							| @ -1,27 +0,0 @@ | ||||
| AC_PREREQ([2.69]) | ||||
| AC_INIT([libdice], [0.2], [florian@n0la.org]) | ||||
| AM_INIT_AUTOMAKE([subdir-objects]) | ||||
| LT_INIT() | ||||
| AC_CONFIG_HEADERS([config.h]) | ||||
| 
 | ||||
| AC_PROG_CC | ||||
| 
 | ||||
| AC_PROG_LEX | ||||
| AC_PROG_YACC | ||||
| 
 | ||||
| PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.0.1]) | ||||
| 
 | ||||
| AC_CHECK_HEADER_STDBOOL() | ||||
| 
 | ||||
| AC_CHECK_FUNCS([arc4random_uniform],, | ||||
|    [PKG_CHECK_MODULES([BSD], [libbsd])]) | ||||
| 
 | ||||
| AC_CONFIG_FILES([Makefile tests/Makefile]) | ||||
| 
 | ||||
| AC_SEARCH_LIBS([sqrt], [m]) | ||||
| AC_SEARCH_LIBS([cos], [m]) | ||||
| 
 | ||||
| PKG_INSTALLDIR | ||||
| AC_CONFIG_FILES([libdice.pc]) | ||||
| 
 | ||||
| AC_OUTPUT | ||||
| @ -1,10 +0,0 @@ | ||||
| check_PROGRAMS =	test_dice_simple_roll \
 | ||||
| 			test_dice_parse \
 | ||||
| 			test_dice_evaluate \
 | ||||
| 			test_dice_fudge \
 | ||||
| 			test_expr_parse | ||||
| 
 | ||||
| AM_CFLAGS =	-I../lib ${CMOCKA_CFLAGS} | ||||
| AM_LDFLAGS =	${CMOCKA_LIBS} ../libdice.la | ||||
| 
 | ||||
| TESTS =		$(check_PROGRAMS) | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user