build: Do not build a noinst library for the tesselator
Let's try to keep Cogl's build as non-recursive as possible, in the hope that one day we'll be able to make it fully non-recursive along with the rest of Clutter.
This commit is contained in:
parent
732eecf5c6
commit
64924f0e98
@ -2,13 +2,16 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|||||||
|
|
||||||
NULL =
|
NULL =
|
||||||
|
|
||||||
SUBDIRS = driver tesselator
|
SUBDIRS = driver
|
||||||
|
|
||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
|
|
||||||
EXTRA_DIST =
|
EXTRA_DIST =
|
||||||
CLEANFILES =
|
CLEANFILES =
|
||||||
DISTCLEANFILES =
|
DISTCLEANFILES =
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES =
|
||||||
|
|
||||||
# pkg-config ==================================================================
|
# pkg-config ==================================================================
|
||||||
pc_files = \
|
pc_files = \
|
||||||
cogl-$(COGL_DRIVER)-$(CLUTTER_API_VERSION).pc \
|
cogl-$(COGL_DRIVER)-$(CLUTTER_API_VERSION).pc \
|
||||||
@ -48,7 +51,6 @@ AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|||||||
|
|
||||||
BUILT_SOURCES += cogl-defines.h
|
BUILT_SOURCES += cogl-defines.h
|
||||||
DISTCLEANFILES += cogl-defines.h
|
DISTCLEANFILES += cogl-defines.h
|
||||||
|
|
||||||
EXTRA_DIST += cogl-defines.h.in
|
EXTRA_DIST += cogl-defines.h.in
|
||||||
|
|
||||||
# public headers
|
# public headers
|
||||||
@ -73,12 +75,52 @@ cogl_public_h = \
|
|||||||
$(srcdir)/cogl.h \
|
$(srcdir)/cogl.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
cogl_sources_c = \
|
# winsys sources, common to all backends
|
||||||
$(srcdir)/cogl-debug.h \
|
cogl_winsys_common_sources = \
|
||||||
$(srcdir)/winsys/cogl-winsys.h \
|
$(srcdir)/winsys/cogl-winsys.h \
|
||||||
$(srcdir)/winsys/cogl-context-winsys.h \
|
$(srcdir)/winsys/cogl-context-winsys.h \
|
||||||
$(srcdir)/winsys/cogl-context-winsys.c \
|
$(srcdir)/winsys/cogl-context-winsys.c \
|
||||||
$(srcdir)/winsys/cogl-winsys-feature-functions.h \
|
$(srcdir)/winsys/cogl-winsys-feature-functions.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
$(srcdir)/tesselator/README \
|
||||||
|
$(srcdir)/tesselator/priorityq-heap.c
|
||||||
|
|
||||||
|
# sources
|
||||||
|
cogl_sources_c = \
|
||||||
|
$(cogl_winsys_common_sources) \
|
||||||
|
$(cogl_tesselator_sources) \
|
||||||
|
$(srcdir)/cogl-debug.h \
|
||||||
$(srcdir)/cogl-handle.h \
|
$(srcdir)/cogl-handle.h \
|
||||||
$(srcdir)/cogl-context.h \
|
$(srcdir)/cogl-context.h \
|
||||||
$(srcdir)/cogl-context.c \
|
$(srcdir)/cogl-context.c \
|
||||||
@ -174,12 +216,11 @@ glib_enum_c = cogl-enum-types.c
|
|||||||
glib_enum_headers = $(cogl_public_h)
|
glib_enum_headers = $(cogl_public_h)
|
||||||
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-cogl.la
|
noinst_LTLIBRARIES += libclutter-cogl.la
|
||||||
|
|
||||||
libclutter_cogl_la_LIBADD = \
|
libclutter_cogl_la_LIBADD = \
|
||||||
-lm $(CLUTTER_LIBS) \
|
-lm $(CLUTTER_LIBS) \
|
||||||
$(top_builddir)/clutter/cogl/cogl/driver/$(COGL_DRIVER)/libclutter-cogl-driver.la \
|
$(top_builddir)/clutter/cogl/cogl/driver/$(COGL_DRIVER)/libclutter-cogl-driver.la
|
||||||
$(top_builddir)/clutter/cogl/cogl/tesselator/libtesselator.la
|
|
||||||
|
|
||||||
libclutter_cogl_la_SOURCES = $(cogl_sources_c)
|
libclutter_cogl_la_SOURCES = $(cogl_sources_c)
|
||||||
nodist_libclutter_cogl_la_SOURCES = $(BUILT_SOURCES)
|
nodist_libclutter_cogl_la_SOURCES = $(BUILT_SOURCES)
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libtesselator.la
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
|
||||||
-I$(srcdir)/winsys \
|
|
||||||
-I$(srcdir)/driver/$(COGL_DRIVER) \
|
|
||||||
-I$(srcdir)/clutter/cogl/cogl/tesselator \
|
|
||||||
-I$(top_builddir)/clutter/cogl
|
|
||||||
|
|
||||||
libtesselator_la_SOURCES = \
|
|
||||||
dict-list.h \
|
|
||||||
dict.c \
|
|
||||||
dict.h \
|
|
||||||
geom.c \
|
|
||||||
geom.h \
|
|
||||||
gluos.h \
|
|
||||||
memalloc.h \
|
|
||||||
mesh.c \
|
|
||||||
mesh.h \
|
|
||||||
normal.c \
|
|
||||||
normal.h \
|
|
||||||
priorityq-heap.h \
|
|
||||||
priorityq-sort.h \
|
|
||||||
priorityq.c \
|
|
||||||
priorityq.h \
|
|
||||||
render.c \
|
|
||||||
render.h \
|
|
||||||
sweep.c \
|
|
||||||
sweep.h \
|
|
||||||
tess.c \
|
|
||||||
tess.h \
|
|
||||||
tesselator.h \
|
|
||||||
tessmono.c \
|
|
||||||
tessmono.h \
|
|
||||||
GL/glu.h
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
README \
|
|
||||||
priorityq-heap.c
|
|
@ -1131,7 +1131,6 @@ AC_CONFIG_FILES([
|
|||||||
clutter/cogl/cogl/driver/Makefile
|
clutter/cogl/cogl/driver/Makefile
|
||||||
clutter/cogl/cogl/driver/gl/Makefile
|
clutter/cogl/cogl/driver/gl/Makefile
|
||||||
clutter/cogl/cogl/driver/gles/Makefile
|
clutter/cogl/cogl/driver/gles/Makefile
|
||||||
clutter/cogl/cogl/tesselator/Makefile
|
|
||||||
clutter/cogl/pango/Makefile
|
clutter/cogl/pango/Makefile
|
||||||
clutter/json/Makefile
|
clutter/json/Makefile
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user