]> git.wh0rd.org Git - fontconfig.git/commitdiff
Include $(top_srcdir), $(top_srcdir)/src before anything else.
authorPatrick Lam <plam@MIT.EDU>
Tue, 25 Apr 2006 05:57:41 +0000 (05:57 +0000)
committerPatrick Lam <plam@MIT.EDU>
Tue, 25 Apr 2006 05:57:41 +0000 (05:57 +0000)
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam

18 files changed:
fc-cache/fc-cache.c
fc-cat/fc-cat.c
fc-match/fc-match.c
src/Makefile.am
src/fccache.c
src/fccfg.c
src/fccharset.c
src/fcdbg.c
src/fcfreetype.c
src/fcfs.c
src/fcinit.c
src/fclist.c
src/fcmatch.c
src/fcmatrix.c
src/fcname.c
src/fcpat.c
src/fcstr.c
src/fcxml.c

index ce6b567ce92e6b92ce064261640a4899f8713b5d..5e4ada40c0ad91eaa49457e42d681b722cfef7ed 100644 (file)
  * 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
 #include <config.h>
 #else
 #define HAVE_GETOPT 1
 #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)
 #define STRICT
 #include <windows.h>
index 09b20f66bf77dd94d052874627c354d46500ebea..cf3632325f4fd7a1e924e429cf2db1d566ed0d9a 100644 (file)
  * 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
 #include <config.h>
 #else
 #define HAVE_GETOPT 1
 #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
 #define HAVE_GETOPT 0
 #endif
index fa45018d55589f04f7fe7249470a9ff1b0d22550..d9742c97ea22298e1ab3103b28fbc4b68f549ab5 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <fontconfig/fontconfig.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #else
 #define HAVE_GETOPT 1
 #endif
 
+#include <fontconfig/fontconfig.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+
 #ifndef HAVE_GETOPT
 #define HAVE_GETOPT 0
 #endif
index 1eb7f8adf6e6beb040f0cf0445045e1931da1d0b..750b8d2a5f52d9d9a2ce22409995177ff48dc31c 100644 (file)
@@ -66,13 +66,13 @@ endif
 AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
 
 INCLUDES =                                             \
+       -I$(top_srcdir)                                 \
+       -I$(top_srcdir)/src                             \
        $(FREETYPE_CFLAGS)                              \
        $(LIBXML2_CFLAGS)                               \
        $(EXPAT_CFLAGS)                                 \
        $(WARN_CFLAGS)                                  \
-       -DFONTCONFIG_PATH='"$(CONFDIR)"'                \
-       -I$(top_srcdir)                                 \
-       -I$(top_srcdir)/src
+       -DFONTCONFIG_PATH='"$(CONFDIR)"'
 
 EXTRA_DIST = fontconfig.def.in
 
index 8f25b2cef6a7d809cddbfa9b0d38214e38ead0c4..7467f2d1cd7dbd07f46d09f0b6c254a199f850b6 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <fcntl.h>
 #include <dirent.h>
 #include <string.h>
 #include <sys/types.h>
-#include "fcint.h"
 #if defined(HAVE_MMAP) || defined(__CYGWIN__)
 #  include <unistd.h>
 #  include <sys/mman.h>
index cf92a2f0a5a4493e355ef05f517c09eca415e296..32e0084d9d3894b475f95e2db5611521afd3d76e 100644 (file)
@@ -22,9 +22,9 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <dirent.h>
 #include <sys/types.h>
-#include "fcint.h"
 
 #if defined (_WIN32) && (defined (PIC) || defined (DLL_EXPORT))
 #define STRICT
index dcc84574cd16ac4e97dd2f070e6dd1cc6b4fba2b..e0a09612859857e4bd557d3ebff890b62f2d8c0f 100644 (file)
@@ -22,8 +22,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <stdlib.h>
 #include "fcint.h"
+#include <stdlib.h>
 
 /* #define CHECK */
 
index e5481890fa7245a4abdcafcd8c0755fc7d419d3e..9b7e8f7c9ba551043d978788d2f857f34ebd1c18 100644 (file)
@@ -22,9 +22,9 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <stdio.h>
 #include <stdlib.h>
-#include "fcint.h"
 
 void
 FcValuePrint (const FcValue v)
index 87f3b999e2a663ea947066e76f80120b41893de2..f31aef893a1a44f8169e44895fedddf840e9acb3 100644 (file)
   THE SOFTWARE.
 */
 
+#include "fcint.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include "fcint.h"
 #include <ft2build.h>
 #include FT_FREETYPE_H
 #include FT_TRUETYPE_TABLES_H
index a9599ee3ca61afcb55214caf27966f730d0bc0c0..fdc15d7c2f7ed2d1cb8ed7af03795c0314e8a3d2 100644 (file)
@@ -22,8 +22,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <stdlib.h>
 #include "fcint.h"
+#include <stdlib.h>
 
 FcFontSet *
 FcFontSetCreate (void)
index 3a742a892e24639d2ada2c4e6460a93d1d16622d..9ce795273fd0e4fb00fe52182ea9fdb3abee3090 100644 (file)
@@ -22,8 +22,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <stdlib.h>
 #include "fcint.h"
+#include <stdlib.h>
 
 static FcConfig *
 FcInitFallbackConfig (void)
index 38c20e00db58f35cf9591f1c52d97b78f316e763..452268b789e6c757faf58d57d696e2d6b80c34f9 100644 (file)
@@ -22,8 +22,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <stdlib.h>
 #include "fcint.h"
+#include <stdlib.h>
 
 FcObjectSet *
 FcObjectSetCreate (void)
index 8d0fbc37ffe2e1a318347f229657d96e843fc7bd..e3748e50aaf76418360087561eef7e012347f3ad 100644 (file)
@@ -22,9 +22,9 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <string.h>
 #include <ctype.h>
-#include "fcint.h"
 #include <stdio.h>
 
 static double
index 863fe692c9056a84aa5676d1114048ca7b8ef635..3c4d9fb84a1e332170dc895fcb1813cd9be79cc9 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <math.h>
 #include <stdlib.h>
 #include <ctype.h>
-#include "fcint.h"
 
 const FcMatrix    FcIdentityMatrix = { 1, 0, 0, 1 };
 
index ed09597d94a5265a092f7f3b6d536393740a2cd0..a5c8feec9914c262ea9e280286933deb0f31f546 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include "fcint.h"
 
 /* Please do not revoke any of these bindings. */
 /* The __DUMMY__ object enables callers to distinguish the error return
index 658998bd891960ef1db44a155c7ed33e594292ef..bc4270b68052a348b6a0060ec0d45c3155d9ec01 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "fcint.h"
 
 static FcPattern ** _fcPatterns = 0;
 static int fcpattern_bank_count = 0, fcpattern_ptr, fcpattern_count;
index c177e0774a69a2036bcd21a45d8f36a302afd923..32c3a0a6d98bb44e0f6a700b8074499106936abf 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
-#include "fcint.h"
 
 FcChar8 *
 FcStrCopy (const FcChar8 *s)
index 7deeb137863a90b7e5a99ce7ba72bb45392964a1..f92bf567ce36a6a1b5416e793290d6ff3a045b58 100644 (file)
@@ -22,9 +22,9 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "fcint.h"
 #include <fcntl.h>
 #include <stdarg.h>
-#include "fcint.h"
 #include <dirent.h>
 
 #ifdef ENABLE_LIBXML2