1include $(top_srcdir)/build/autotools/Makefile.am.silent 2 3NULL = 4 5BUILT_SOURCES = 6 7CLEANFILES = 8DISTCLEANFILES = 9 10EXTRA_DIST = 11 12# tesselator sources 13cogl_tesselator_sources = \ 14 tesselator/dict-list.h \ 15 tesselator/dict.c \ 16 tesselator/dict.h \ 17 tesselator/geom.c \ 18 tesselator/geom.h \ 19 tesselator/gluos.h \ 20 tesselator/memalloc.h \ 21 tesselator/mesh.c \ 22 tesselator/mesh.h \ 23 tesselator/normal.c \ 24 tesselator/normal.h \ 25 tesselator/priorityq-heap.h \ 26 tesselator/priorityq-sort.h \ 27 tesselator/priorityq.c \ 28 tesselator/priorityq.h \ 29 tesselator/render.c \ 30 tesselator/render.h \ 31 tesselator/sweep.c \ 32 tesselator/sweep.h \ 33 tesselator/tess.c \ 34 tesselator/tess.h \ 35 tesselator/tesselator.h \ 36 tesselator/tessmono.c \ 37 tesselator/tessmono.h \ 38 tesselator/GL/glu.h \ 39 $(NULL) 40 41source_c = \ 42 $(cogl_tesselator_sources) \ 43 cogl-path-private.h \ 44 cogl1-path.c \ 45 cogl-path.c \ 46 $(NULL) 47 48EXTRA_DIST += \ 49 tesselator/README \ 50 tesselator/priorityq-heap.c \ 51 cogl-path.symbols \ 52 $(NULL) 53 54source_1_x_h = \ 55 cogl-path-types.h \ 56 cogl1-path-functions.h \ 57 $(NULL) 58 59source_h = \ 60 cogl-path.h \ 61 $(source_1_x_h) \ 62 cogl2-path-functions.h \ 63 $(NULL) 64 65if USE_GLIB 66# glib-mkenums rules 67glib_enum_h = cogl-path-enum-types.h 68glib_enum_c = cogl-path-enum-types.c 69glib_enum_headers = $(source_1_x_h) 70include $(top_srcdir)/build/autotools/Makefile.am.enums 71endif 72 73lib_LTLIBRARIES = libcogl-path.la 74 75libcogl_path_la_SOURCES = $(source_c) $(source_h) 76nodist_libcogl_path_la_SOURCES = $(BUILT_SOURCES) 77libcogl_path_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS) 78libcogl_path_la_LIBADD = $(top_builddir)/cogl/libcogl.la 79libcogl_path_la_LIBADD += $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS) 80libcogl_path_la_LDFLAGS = \ 81 -export-dynamic \ 82 -export-symbols-regex "^(cogl|cogl2)_(framebuffer|path|is|clip|[sg]et)_.*" \ 83 -no-undefined \ 84 -version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ \ 85 -rpath $(libdir) 86 87AM_CPPFLAGS = \ 88 -DCOGL_COMPILATION \ 89 -DG_LOG_DOMAIN=\"CoglPath\" \ 90 -I$(srcdir)/tesselator \ 91 -I$(top_srcdir)/cogl \ 92 -I$(top_builddir)/cogl \ 93 -I$(top_srcdir)/cogl/winsys \ 94 -I$(top_srcdir) \ 95 -I$(top_builddir) 96 97cogl_pathheadersdir = $(includedir)/cogl/cogl-path 98cogl_pathheaders_HEADERS = $(source_h) 99if USE_GLIB 100nodist_cogl_pathheaders_HEADERS = cogl-path-enum-types.h 101endif 102 103pc_files = cogl-path-1.0.pc \ 104 cogl-path-2.0-experimental.pc 105 106pkgconfigdir = $(libdir)/pkgconfig 107pkgconfig_DATA = $(pc_files) 108 109EXTRA_DIST += cogl-path.pc.in 110DISTCLEANFILES += $(pc_files) 111 112dist-hook: \ 113 $(top_builddir)/build/win32/vs9/cogl-path.vcproj \ 114 $(top_builddir)/build/win32/vs10/cogl-path.vcxproj \ 115 $(top_builddir)/build/win32/vs10/cogl-path.vcxproj.filters 116 117MSVC_PROJECT = cogl-path 118MSVC_PROJECT_SRCDIR = cogl-path 119MSVC_PROJECT_SRCS = $(source_c) 120MSVC_PROJECT_EXCLUDES = dummy 121 122include $(top_srcdir)/build/Makefile-msvcproj.mak 123