cogl/Makefile.am: Correct the way gen-enums.bat is created

Don't use --symbol-prefix cogl_gtype as we are still using the old
namespace in cogl-1.12, so there will still be the various _get_type()'s
like before

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Chun-wei Fan 2012-08-16 23:38:20 +08:00
parent e6bd6128a2
commit 8dbf7ffe05

View File

@ -563,7 +563,7 @@ dist-hook: ../build/win32/vs9/cogl.vcproj ../build/win32/vs10/cogl.vcxproj ../bu
rm cogl.vs10.sourcefiles.filters rm cogl.vs10.sourcefiles.filters
cogl.vsenums_h: cogl.vsenums_h:
echo 'perl %1\bin\glib-mkenums --symbol-prefix cogl_gtype --template ../../cogl/cogl-enum-types.h.in ' >vsenums_h.temp1 echo 'perl %1\bin\glib-mkenums --template ../../cogl/cogl-enum-types.h.in ' >vsenums_h.temp1
for F in `echo $(cogl_1_public_h) $(srcdir)/cogl-win32-renderer.h`; do \ for F in `echo $(cogl_1_public_h) $(srcdir)/cogl-win32-renderer.h`; do \
case $$F in \ case $$F in \
*xlib*.h|*wayland*.h) ;; \ *xlib*.h|*wayland*.h) ;; \
@ -578,7 +578,7 @@ cogl.vsenums_h:
rm vsenums_h.temp rm vsenums_h.temp
cogl.vsenums_c: cogl.vsenums_c:
echo 'perl %1\bin\glib-mkenums --symbol-prefix cogl_gtype --template ../../cogl/cogl-enum-types.c.in ' >vsenums_c.temp1 echo 'perl %1\bin\glib-mkenums --template ../../cogl/cogl-enum-types.c.in ' >vsenums_c.temp1
for F in `echo $(cogl_1_public_h) $(srcdir)/cogl-win32-renderer.h`; do \ for F in `echo $(cogl_1_public_h) $(srcdir)/cogl-win32-renderer.h`; do \
case $$F in \ case $$F in \
*xlib*.h|*wayland*.h) ;; \ *xlib*.h|*wayland*.h) ;; \