From: <enl...@li...> - 2000-11-17 00:37:01
|
Enlightenment CVS committal Author : mej Project : e17 Module : libs/imlib2 Modified Files: Makefile.am Log Message: Imlib2 now benefits from the same MMX goop that Eterm has. :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- Makefile.am 2000/10/13 00:11:34 1.14 +++ Makefile.am 2000/11/17 00:37:00 1.15 @@ -10,6 +10,9 @@ $(X_CFLAGS) -I$(prefix)/include -I$(includedir) \ -I. -I$(top_srcdir) -I$(top_srcdir)/src \ -I$(top_srcdir)/loaders +MMX_SRCS = asm_blend.S asm_rgba.S asm_scale.S asm_rotate.S \ + asm_blend_cmod.S +MMX_OBJS = $(MMX_SRCS:.S=.lo) lib_LTLIBRARIES = libImlib2.la include_HEADERS = Imlib2.h @@ -18,22 +21,27 @@ filter.c script.c dynamic_filters.c \ Imlib2.h image.h scale.h blend.h updates.h colormod.h \ file.h common.h rgbadraw.h font.h format.h \ - rotate.h grad.h filter.h script.h dynamic_filters.h \ - asm_blend.S asm_rgba.S asm_scale.S asm_rotate.S \ - asm_blend_cmod.S + rotate.h grad.h filter.h script.h dynamic_filters.h + EXTRA_libImlib2_la_SOURCES = rend.c ximage.c rgba.c color.c grab.c draw.c \ context.c color.h context.h draw.h grab.h rend.h \ rgba.h ximage.h +libImlib2_la_LDFLAGS = -version-info 1:0:0 +if HAVE_MMX +libImlib2_la_LIBADD = $(X_OBJS) @DLLDFLAGS@ $(MMX_OBJS) \ + $(top_builddir)/libltdl/libltdlc.la \ + $(x_libs) -lttf $(LDFLAGS) +libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h $(X_OBJS) $(MMX_OBJS) +else libImlib2_la_LIBADD = $(X_OBJS) @DLLDFLAGS@ \ $(top_builddir)/libltdl/libltdlc.la \ $(x_libs) -lttf $(LDFLAGS) libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h $(X_OBJS) -libImlib2_la_LDFLAGS = -version-info 1:0:0 +endif SYS_LOADERS_PATH = @pkglibdir@ image.lo: loaderpath.h loaderpath.h: Makefile @echo "#define SYS_LOADERS_PATH \"${SYS_LOADERS_PATH}\"" > $@ @echo "#define USER_LOADERS_PATH \".loaders\"" >> $@ - |