compilation: build edge/compose with accessors separately
authorVladimir Vukicevic <vladimir@pobox.com>
Tue, 4 Sep 2007 18:18:40 +0000 (11:18 -0700)
committerVladimir Vukicevic <vladimir@pobox.com>
Thu, 6 Sep 2007 18:51:54 +0000 (11:51 -0700)
Simplify the build by creating a new file for pixman-compose and
pixman-edge built with accessor functions.

pixman/Makefile.am
pixman/pixman-compose-accessors.c [new file with mode: 0644]
pixman/pixman-edge-accessors.c [new file with mode: 0644]

index 708e0dd..b7138e4 100644 (file)
@@ -1,15 +1,17 @@
 lib_LTLIBRARIES = libpixman-1.la
 libpixman_1_la_LDFLAGS = -version-info $(LT_VERSION_INFO)
-libpixman_1_la_LIBADD = @DEP_LIBS@ -lm libpixmanwrapper.la
+libpixman_1_la_LIBADD = @DEP_LIBS@ -lm
 libpixman_1_la_SOURCES =               \
        pixman.h                \
        pixman-region.c         \
        pixman-private.h        \
        pixman-image.c          \
        pixman-compose.c        \
+       pixman-compose-accessors.c      \
        pixman-pict.c           \
        pixman-utils.c          \
        pixman-edge.c           \
+       pixman-edge-accessors.c         \
        pixman-edge-imp.h       \
        pixman-trap.c           \
        pixman-compute-region.c \
@@ -18,15 +20,6 @@ libpixman_1_la_SOURCES =             \
 libpixmanincludedir = $(includedir)/pixman-1/
 libpixmaninclude_HEADERS = pixman.h
 
-# wrapper library
-noinst_LTLIBRARIES = libpixmanwrapper.la
-libpixmanwrapper_la_SOURCES =  \
-       pixman-compose.c        \
-       pixman-edge.c
-libpixmanwrapper_la_CFLAGS = $(DEP_CFLAGS) -DPIXMAN_FB_ACCESSORS
-
-
-
 # mmx code
 if USE_MMX
 noinst_LTLIBRARIES += libpixman-mmx.la
diff --git a/pixman/pixman-compose-accessors.c b/pixman/pixman-compose-accessors.c
new file mode 100644 (file)
index 0000000..5393cf4
--- /dev/null
@@ -0,0 +1,4 @@
+
+#define PIXMAN_FB_ACCESSORS
+
+#include "pixman-compose.c"
diff --git a/pixman/pixman-edge-accessors.c b/pixman/pixman-edge-accessors.c
new file mode 100644 (file)
index 0000000..ea3a31e
--- /dev/null
@@ -0,0 +1,4 @@
+
+#define PIXMAN_FB_ACCESSORS
+
+#include "pixman-edge.c"