2013-04-28 02:22:24 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
|
|
|
NULL =
|
|
|
|
|
|
|
|
BUILT_SOURCES =
|
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
|
|
|
|
EXTRA_DIST =
|
|
|
|
|
|
|
|
# tesselator sources
|
|
|
|
cogl_tesselator_sources = \
|
|
|
|
$(srcdir)/tesselator/dict-list.h \
|
|
|
|
$(srcdir)/tesselator/dict.c \
|
|
|
|
$(srcdir)/tesselator/dict.h \
|
|
|
|
$(srcdir)/tesselator/geom.c \
|
|
|
|
$(srcdir)/tesselator/geom.h \
|
|
|
|
$(srcdir)/tesselator/gluos.h \
|
|
|
|
$(srcdir)/tesselator/memalloc.h \
|
|
|
|
$(srcdir)/tesselator/mesh.c \
|
|
|
|
$(srcdir)/tesselator/mesh.h \
|
|
|
|
$(srcdir)/tesselator/normal.c \
|
|
|
|
$(srcdir)/tesselator/normal.h \
|
|
|
|
$(srcdir)/tesselator/priorityq-heap.h \
|
|
|
|
$(srcdir)/tesselator/priorityq-sort.h \
|
|
|
|
$(srcdir)/tesselator/priorityq.c \
|
|
|
|
$(srcdir)/tesselator/priorityq.h \
|
|
|
|
$(srcdir)/tesselator/render.c \
|
|
|
|
$(srcdir)/tesselator/render.h \
|
|
|
|
$(srcdir)/tesselator/sweep.c \
|
|
|
|
$(srcdir)/tesselator/sweep.h \
|
|
|
|
$(srcdir)/tesselator/tess.c \
|
|
|
|
$(srcdir)/tesselator/tess.h \
|
|
|
|
$(srcdir)/tesselator/tesselator.h \
|
|
|
|
$(srcdir)/tesselator/tessmono.c \
|
|
|
|
$(srcdir)/tesselator/tessmono.h \
|
|
|
|
$(srcdir)/tesselator/GL/glu.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
source_c = \
|
|
|
|
$(cogl_tesselator_sources) \
|
|
|
|
cogl-path-private.h \
|
|
|
|
cogl1-path.c \
|
|
|
|
cogl-path.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
$(srcdir)/tesselator/README \
|
|
|
|
$(srcdir)/tesselator/priorityq-heap.c \
|
2013-08-28 02:28:35 +00:00
|
|
|
$(srcdir)/cogl-path.symbols \
|
2013-04-28 02:22:24 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
source_1_x_h = \
|
|
|
|
$(srcdir)/cogl-path-types.h \
|
|
|
|
$(srcdir)/cogl1-path-functions.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
source_h = \
|
|
|
|
cogl-path.h \
|
|
|
|
$(source_1_x_h) \
|
|
|
|
cogl2-path-functions.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if USE_GLIB
|
|
|
|
# glib-mkenums rules
|
|
|
|
glib_enum_h = cogl-path-enum-types.h
|
|
|
|
glib_enum_c = cogl-path-enum-types.c
|
|
|
|
glib_enum_headers = $(source_1_x_h)
|
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
|
|
|
endif
|
|
|
|
|
2013-11-27 21:02:03 +00:00
|
|
|
lib_LTLIBRARIES = libcogl-path.la
|
2013-04-28 02:22:24 +00:00
|
|
|
|
|
|
|
libcogl_path_la_SOURCES = $(source_c) $(source_h)
|
|
|
|
nodist_libcogl_path_la_SOURCES = $(BUILT_SOURCES)
|
2013-11-27 21:02:03 +00:00
|
|
|
libcogl_path_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
libcogl_path_la_LIBADD = $(top_builddir)/cogl/libcogl.la
|
|
|
|
libcogl_path_la_LIBADD += $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
|
|
|
libcogl_path_la_LDFLAGS = \
|
|
|
|
-export-dynamic \
|
2014-01-22 12:02:53 +00:00
|
|
|
-export-symbols-regex "^(cogl|cogl2)_(framebuffer|path|is|clip|[sg]et)_.*" \
|
2013-11-27 21:02:03 +00:00
|
|
|
-no-undefined \
|
|
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ \
|
|
|
|
-rpath $(libdir)
|
2013-04-28 02:22:24 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DCOGL_COMPILATION \
|
|
|
|
-DG_LOG_DOMAIN=\"CoglPath\" \
|
|
|
|
-I$(srcdir)/tesselator \
|
|
|
|
-I$(top_srcdir)/cogl \
|
|
|
|
-I$(top_builddir)/cogl \
|
|
|
|
-I$(top_srcdir)/cogl/winsys \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)
|
|
|
|
|
|
|
|
cogl_pathheadersdir = $(includedir)/cogl/cogl-path
|
|
|
|
cogl_pathheaders_HEADERS = $(source_h)
|
|
|
|
if USE_GLIB
|
|
|
|
nodist_cogl_pathheaders_HEADERS = cogl-path-enum-types.h
|
|
|
|
endif
|
2013-08-27 09:55:39 +00:00
|
|
|
|
2013-11-27 21:02:03 +00:00
|
|
|
pc_files = cogl-path-1.0.pc \
|
|
|
|
cogl-path-2.0-experimental.pc
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
|
|
|
|
EXTRA_DIST += cogl-path.pc.in
|
|
|
|
DISTCLEANFILES += $(pc_files)
|
|
|
|
|
2013-08-27 09:55:39 +00:00
|
|
|
dist-hook: \
|
|
|
|
$(top_builddir)/build/win32/vs9/cogl-path.vcproj \
|
|
|
|
$(top_builddir)/build/win32/vs10/cogl-path.vcxproj \
|
|
|
|
$(top_builddir)/build/win32/vs10/cogl-path.vcxproj.filters
|
|
|
|
|
|
|
|
MSVC_PROJECT = cogl-path
|
|
|
|
MSVC_PROJECT_SRCDIR = cogl-path
|
|
|
|
MSVC_PROJECT_SRCS = $(source_c)
|
|
|
|
MSVC_PROJECT_EXCLUDES = dummy
|
|
|
|
|
|
|
|
include $(top_srcdir)/build/Makefile-msvcproj.mak
|