SHA256
1
0
forked from pool/SDL_bgi
SDL_bgi/sdlbgi-automake.diff

42 lines
1.2 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-12-18 11:43:21.385084191 +0100
---
Makefile.am | 2 ++
configure.ac | 9 +++++++++
src/Makefile.am | 6 ++++++
3 files changed, 17 insertions(+)
Index: SDL_bgi-1.0.1/Makefile.am
===================================================================
--- /dev/null
+++ SDL_bgi-1.0.1/Makefile.am
@@ -0,0 +1,2 @@
+ACLOCAL_AMFLAGS = -I m4
+SUBDIRS = src
Index: SDL_bgi-1.0.1/configure.ac
===================================================================
--- /dev/null
+++ SDL_bgi-1.0.1/configure.ac
@@ -0,0 +1,9 @@
+AC_INIT([SDL_bgi], [1.0.1])
+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
+PKG_CHECK_MODULES([sdlgfx], [SDL_gfx])
+AC_CONFIG_FILES([Makefile src/Makefile])
+AC_OUTPUT
Index: SDL_bgi-1.0.1/src/Makefile.am
===================================================================
--- /dev/null
+++ SDL_bgi-1.0.1/src/Makefile.am
@@ -0,0 +1,6 @@
+AM_CPPFLAGS = ${sdlgfx_CFLAGS}
+AM_CFLAGS = -Wall
+lib_LTLIBRARIES = libSDL_bgi.la
+libSDL_bgi_la_SOURCES = SDL_bgi.c
+libSDL_bgi_la_LIBADD = ${sdlgfx_LIBS}
+include_HEADERS = SDL_bgi.h