Include $(top_srcdir), $(top_srcdir)/src before anything else.
Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
This commit is contained in:
parent
55e145b025
commit
f045376c08
|
@ -22,13 +22,6 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fontconfig/fontconfig.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#else
|
#else
|
||||||
|
@ -38,6 +31,14 @@
|
||||||
#define HAVE_GETOPT 1
|
#define HAVE_GETOPT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <fontconfig/fontconfig.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#if defined (_WIN32)
|
#if defined (_WIN32)
|
||||||
#define STRICT
|
#define STRICT
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
@ -22,14 +22,6 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fontconfig/fontconfig.h>
|
|
||||||
#include <../src/fccache.c>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#else
|
#else
|
||||||
|
@ -39,6 +31,15 @@
|
||||||
#define HAVE_GETOPT 1
|
#define HAVE_GETOPT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <fontconfig/fontconfig.h>
|
||||||
|
#include <../src/fccache.c>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#ifndef HAVE_GETOPT
|
#ifndef HAVE_GETOPT
|
||||||
#define HAVE_GETOPT 0
|
#define HAVE_GETOPT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,11 +22,6 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fontconfig/fontconfig.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#else
|
#else
|
||||||
|
@ -36,6 +31,12 @@
|
||||||
#define HAVE_GETOPT 1
|
#define HAVE_GETOPT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <fontconfig/fontconfig.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef HAVE_GETOPT
|
#ifndef HAVE_GETOPT
|
||||||
#define HAVE_GETOPT 0
|
#define HAVE_GETOPT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -66,13 +66,13 @@ endif
|
||||||
AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
|
AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
|
-I$(top_srcdir) \
|
||||||
|
-I$(top_srcdir)/src \
|
||||||
$(FREETYPE_CFLAGS) \
|
$(FREETYPE_CFLAGS) \
|
||||||
$(LIBXML2_CFLAGS) \
|
$(LIBXML2_CFLAGS) \
|
||||||
$(EXPAT_CFLAGS) \
|
$(EXPAT_CFLAGS) \
|
||||||
$(WARN_CFLAGS) \
|
$(WARN_CFLAGS) \
|
||||||
-DFONTCONFIG_PATH='"$(CONFDIR)"' \
|
-DFONTCONFIG_PATH='"$(CONFDIR)"'
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/src
|
|
||||||
|
|
||||||
EXTRA_DIST = fontconfig.def.in
|
EXTRA_DIST = fontconfig.def.in
|
||||||
|
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "fcint.h"
|
|
||||||
#if defined(HAVE_MMAP) || defined(__CYGWIN__)
|
#if defined(HAVE_MMAP) || defined(__CYGWIN__)
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "fcint.h"
|
|
||||||
|
|
||||||
#if defined (_WIN32) && (defined (PIC) || defined (DLL_EXPORT))
|
#if defined (_WIN32) && (defined (PIC) || defined (DLL_EXPORT))
|
||||||
#define STRICT
|
#define STRICT
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "fcint.h"
|
#include "fcint.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* #define CHECK */
|
/* #define CHECK */
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "fcint.h"
|
|
||||||
|
|
||||||
void
|
void
|
||||||
FcValuePrint (const FcValue v)
|
FcValuePrint (const FcValue v)
|
||||||
|
|
|
@ -44,10 +44,10 @@
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "fcint.h"
|
|
||||||
#include <ft2build.h>
|
#include <ft2build.h>
|
||||||
#include FT_FREETYPE_H
|
#include FT_FREETYPE_H
|
||||||
#include FT_TRUETYPE_TABLES_H
|
#include FT_TRUETYPE_TABLES_H
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "fcint.h"
|
#include "fcint.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
FcFontSet *
|
FcFontSet *
|
||||||
FcFontSetCreate (void)
|
FcFontSetCreate (void)
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "fcint.h"
|
#include "fcint.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
static FcConfig *
|
static FcConfig *
|
||||||
FcInitFallbackConfig (void)
|
FcInitFallbackConfig (void)
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "fcint.h"
|
#include "fcint.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
FcObjectSet *
|
FcObjectSet *
|
||||||
FcObjectSetCreate (void)
|
FcObjectSetCreate (void)
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "fcint.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
static double
|
static double
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "fcint.h"
|
|
||||||
|
|
||||||
const FcMatrix FcIdentityMatrix = { 1, 0, 0, 1 };
|
const FcMatrix FcIdentityMatrix = { 1, 0, 0, 1 };
|
||||||
|
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "fcint.h"
|
|
||||||
|
|
||||||
/* Please do not revoke any of these bindings. */
|
/* Please do not revoke any of these bindings. */
|
||||||
/* The __DUMMY__ object enables callers to distinguish the error return
|
/* The __DUMMY__ object enables callers to distinguish the error return
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "fcint.h"
|
|
||||||
|
|
||||||
static FcPattern ** _fcPatterns = 0;
|
static FcPattern ** _fcPatterns = 0;
|
||||||
static int fcpattern_bank_count = 0, fcpattern_ptr, fcpattern_count;
|
static int fcpattern_bank_count = 0, fcpattern_ptr, fcpattern_count;
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "fcint.h"
|
|
||||||
|
|
||||||
FcChar8 *
|
FcChar8 *
|
||||||
FcStrCopy (const FcChar8 *s)
|
FcStrCopy (const FcChar8 *s)
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fcint.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "fcint.h"
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
#ifdef ENABLE_LIBXML2
|
#ifdef ENABLE_LIBXML2
|
||||||
|
|
Loading…
Reference in New Issue