2014-12-19 05:01:53 +01:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2014-12-18 11:43:21.385084191 +0100
|
2015-12-23 12:49:50 +01:00
|
|
|
Refresh: Wed Dec 2 14:19:14 CET 2015
|
2015-05-07 13:37:59 +02:00
|
|
|
|
|
|
|
Author could not decide between "sdlbgifast" and "bgifast"
|
|
|
|
(same for bgislow), so add extra symbols to enable both names.
|
2014-12-19 05:01:53 +01:00
|
|
|
|
|
|
|
---
|
2016-03-04 20:34:18 +01:00
|
|
|
Makefile.am | 2 ++
|
|
|
|
configure.ac | 9 +++++++++
|
|
|
|
src/Makefile.am | 8 ++++++++
|
|
|
|
test/Makefile.am | 11 +++++++++++
|
|
|
|
4 files changed, 30 insertions(+)
|
2014-12-19 05:01:53 +01:00
|
|
|
|
2016-03-04 20:34:18 +01:00
|
|
|
Index: SDL_bgi-2.0.6/Makefile.am
|
2014-12-19 05:01:53 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2016-03-04 20:34:18 +01:00
|
|
|
+++ SDL_bgi-2.0.6/Makefile.am
|
2014-12-19 05:01:53 +01:00
|
|
|
@@ -0,0 +1,2 @@
|
|
|
|
+ACLOCAL_AMFLAGS = -I m4
|
2016-03-04 20:34:18 +01:00
|
|
|
+SUBDIRS = src test
|
|
|
|
Index: SDL_bgi-2.0.6/configure.ac
|
2014-12-19 05:01:53 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2016-03-04 20:34:18 +01:00
|
|
|
+++ SDL_bgi-2.0.6/configure.ac
|
2014-12-19 05:01:53 +01:00
|
|
|
@@ -0,0 +1,9 @@
|
2016-03-04 20:34:18 +01:00
|
|
|
+AC_INIT([SDL_bgi], [2.0.6])
|
2014-12-19 05:01:53 +01:00
|
|
|
+AC_CONFIG_AUX_DIR([build-aux])
|
|
|
|
+AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
+AC_PROG_CC
|
|
|
|
+AM_INIT_AUTOMAKE([foreign subdir-objects tar-pax dist-xz no-dist-gzip])
|
|
|
|
+LT_INIT
|
2015-05-07 13:37:59 +02:00
|
|
|
+PKG_CHECK_MODULES([sdl2], [sdl2])
|
2016-03-04 20:34:18 +01:00
|
|
|
+AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
|
2014-12-19 05:01:53 +01:00
|
|
|
+AC_OUTPUT
|
2016-03-04 20:34:18 +01:00
|
|
|
Index: SDL_bgi-2.0.6/src/Makefile.am
|
2014-12-19 05:01:53 +01:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2016-03-04 20:34:18 +01:00
|
|
|
+++ SDL_bgi-2.0.6/src/Makefile.am
|
|
|
|
@@ -0,0 +1,8 @@
|
2015-05-07 13:37:59 +02:00
|
|
|
+AM_CPPFLAGS = ${sdl2_CFLAGS}
|
2014-12-19 05:01:53 +01:00
|
|
|
+AM_CFLAGS = -Wall
|
|
|
|
+lib_LTLIBRARIES = libSDL_bgi.la
|
|
|
|
+libSDL_bgi_la_SOURCES = SDL_bgi.c
|
2015-05-07 13:37:59 +02:00
|
|
|
+libSDL_bgi_la_LIBADD = -lm ${sdl2_LIBS}
|
2015-12-23 12:49:50 +01:00
|
|
|
+libSDL_bgi_la_LDFLAGS = -no-undefined -version-info 1:0:0
|
2015-05-07 13:37:59 +02:00
|
|
|
+pkgincludedir = ${includedir}/SDL2
|
|
|
|
+pkginclude_HEADERS = SDL_bgi.h
|
2016-03-04 20:34:18 +01:00
|
|
|
Index: SDL_bgi-2.0.6/test/Makefile.am
|
2015-05-07 13:37:59 +02:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
2016-03-04 20:34:18 +01:00
|
|
|
+++ SDL_bgi-2.0.6/test/Makefile.am
|
|
|
|
@@ -0,0 +1,11 @@
|
2015-05-07 13:37:59 +02:00
|
|
|
+AM_CPPFLAGS = -I${top_srcdir}/src
|
|
|
|
+AM_CFLAGS = -Wall
|
|
|
|
+EXTRA_PROGRAMS = \
|
|
|
|
+ cellular dla fern floodfilltest hopalong life \
|
2016-03-04 20:34:18 +01:00
|
|
|
+ mandelbrot mousetest moveit plasma sdlbgidemo simple turtledemo
|
|
|
|
+LDADD = ../src/libSDL_bgi.la
|
2015-05-07 13:37:59 +02:00
|
|
|
+hopalong_LDADD = ${LDADD} -lm
|
2016-03-04 20:34:18 +01:00
|
|
|
+plasma_LDADD = ${LDADD} -lm
|
2015-05-07 13:37:59 +02:00
|
|
|
+sdlbgidemo_LDADD = ${LDADD} -lm
|
|
|
|
+turtledemo_SOURCES = turtle.c turtledemo.c
|
|
|
|
+turtledemo_LDADD = ${LDADD} -lm
|