-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
232 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,22 @@ | ||
# Ignore libtoolize artifacts | ||
ltmain.sh | ||
m4/ | ||
|
||
# Ignore autoreconf artifacts | ||
/autom4te.cache | ||
/autoconf | ||
aclocal.m4 | ||
autom4te.cache/ | ||
configure | ||
Makefile.in | ||
|
||
# Ignore automake --add-missing artifacts | ||
ar-lib | ||
compile | ||
config.guess | ||
config.sub | ||
install-sh | ||
missing | ||
depcomp | ||
*.o | ||
*.lo | ||
*.a | ||
*.la | ||
.dirstamp | ||
*.pc | ||
|
||
# Ignore configure artifacts | ||
Makefile | ||
.deps | ||
.libs | ||
|
||
Makefile.in | ||
configure | ||
config.log | ||
config.status | ||
libtool | ||
.deps/ | ||
Makefile | ||
|
||
# Ignore make artifacts | ||
*.o | ||
*.lo | ||
*.la | ||
.libs | ||
src/hqx | ||
/hqx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
ACLOCAL_AMFLAGS = -I m4 | ||
ACLOCAL_AMFLAGS = -I autoconf/m4 | ||
|
||
SUBDIRS = src | ||
pkgconfigdir = ${libdir}/pkgconfig | ||
pkgconfig_DATA = hqx.pc | ||
|
||
EXTRA_DIST = README.md | ||
|
||
bin_PROGRAMS = hqx | ||
lib_LTLIBRARIES = libhqx.la | ||
|
||
libhqx_la_SOURCES = \ | ||
src/init.c \ | ||
src/hq2x.c \ | ||
src/hq3x.c \ | ||
src/hq4x.c \ | ||
src/common.h | ||
libhqx_la_LDFLAGS = -no-undefined -version-info @HQX_LTVERSION@ | ||
|
||
include_HEADERS = src/hqx.h | ||
|
||
hqx_SOURCES = src/hqx.c | ||
hqx_CFLAGS = $(IL_CFLAGS) -I. | ||
hqx_LDADD = libhqx.la $(IL_LIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,29 @@ | ||
AC_INIT([hqx], [1.0], [[email protected]]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_PROG_CC | ||
AC_INIT([hqx], [1.2], [https://github.com/grom358/hqx/issues], | ||
[hqx], [https://github.com/grom358/hqx]) | ||
AC_CONFIG_AUX_DIR([autoconf]) | ||
AC_CONFIG_MACRO_DIR([autoconf/m4]) | ||
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects -Wall]) | ||
AM_SILENT_RULES([yes]) | ||
|
||
AC_LANG([C]) | ||
AC_PROG_CPP | ||
AC_PROG_CC | ||
AM_PROG_AR | ||
AC_C_INLINE | ||
AC_C_BIGENDIAN | ||
AM_INIT_AUTOMAKE([-Wall -Werror]) | ||
AM_PROG_CC_C_O | ||
AM_PROG_AR | ||
|
||
AC_CHECK_HEADER([IL/il.h],,AC_MSG_ERROR("DevIL il.h required")) | ||
|
||
AC_ARG_ENABLE([debug], | ||
[AS_HELP_STRING([--enable-debug], [Compile a debug version of the library])], | ||
[CFLAGS="-Wall -g -O0"], | ||
[CFLAGS="-O3"]) | ||
|
||
AC_LIBTOOL_WIN32_DLL | ||
AC_PROG_LIBTOOL | ||
LT_INIT([win32-dll]) | ||
HQX_LTVERSION=1:0:0 | ||
AC_SUBST([HQX_LTVERSION]) | ||
|
||
dnl Win32 | ||
AS_CASE([$host], | ||
[*mingw32*], [PLATFORM="MINGW32"], | ||
[*cygwin*], [PLATFORM="CYGWIN"], | ||
[*darwin*], [PLATFORM="OSX"]) | ||
AC_SUBST([PLATFORM]) | ||
PKG_CHECK_MODULES([IL], [IL], , | ||
AC_MSG_ERROR([DevIL (http://openil.sf.net) is required.])) | ||
|
||
AM_CONDITIONAL([WINDOWS_BUILD], | ||
[test "x$PLATFORM" = "xMINGW32" -o "x$PLATFORM" = "xCYGWIN"]) | ||
AC_ARG_ENABLE([debug], | ||
AS_HELP_STRING([--enable-debug], [Compile a debug version of the library])) | ||
AS_IF([test "x$enable_debug" = "xyes"], | ||
[CFLAGS="-Wall -g -O0"], | ||
[CFLAGS="-O3"]) | ||
|
||
AC_CONFIG_FILES([Makefile src/Makefile]) | ||
AC_CONFIG_FILES([Makefile hqx.pc]) | ||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
prefix=@prefix@ | ||
exec_prefix=@exec_prefix@ | ||
libdir=@libdir@ | ||
includedir=@includedir@ | ||
|
||
Name: @PACKAGE_TARNAME@ | ||
Description: Fast, high-quality magnification filter designed for pixel art | ||
Version: @PACKAGE_VERSION@ | ||
URL: @PACKAGE_URL@ | ||
Requires.private: IL | ||
Cflags: -I${includedir} | ||
Libs: -L${libdir} -lhqx |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters