Commit c0d2635e authored by Sam Hocevar's avatar Sam Hocevar

  * Fixed a typo in the Altivec iDCT module declaration.
  * Made a few enhancements to the Makefile.
parent d4c55a87
...@@ -96,7 +96,7 @@ LIB += -ldl -lsocket -lnsl -lpthread ...@@ -96,7 +96,7 @@ LIB += -ldl -lsocket -lnsl -lpthread
endif endif
ifneq (,$(findstring darwin,$(SYS))) ifneq (,$(findstring darwin,$(SYS)))
LIB += -ldl -dyn LIB += -ldl -framework Carbon
endif endif
ifeq ($(SYS),beos) ifeq ($(SYS),beos)
...@@ -159,12 +159,20 @@ endif ...@@ -159,12 +159,20 @@ endif
# #
# C compiler flags: plugin compilation # C compiler flags: plugin compilation
# #
PCFLAGS += -fPIC
#
# C compiler flags: plugin linking
#
ifneq (,$(findstring darwin,$(SYS))) ifneq (,$(findstring darwin,$(SYS)))
PCFLAGS += -bundle -undefined suppress PLCFLAGS += -bundle -undefined suppress
else
ifeq ($(SYS),beos)
PLCFLAGS += -nostart plugins/_APP_
else else
PCFLAGS += -fPIC
PLCFLAGS += -shared PLCFLAGS += -shared
endif endif
endif
# #
# C compiler flags: dependancies # C compiler flags: dependancies
...@@ -179,6 +187,20 @@ LCFLAGS += $(LIB) ...@@ -179,6 +187,20 @@ LCFLAGS += $(LIB)
LCFLAGS += -Wall LCFLAGS += -Wall
#LCFLAGS += -s #LCFLAGS += -s
ifeq ($(SYS),beos)
LCFLAGS += -Xlinker -soname=_APP_
else
ifneq (,$(findstring qnx,$(SYS)))
LCFLAGS += -Xlinker -export-dynamic
else
ifneq (,$(findstring darwin,$(SYS)))
LCFLAGS += -dyn
else
LCFLAGS += --export-dynamic @DYNAMIC_FLAG@
endif
endif
endif
# #
# Debugging and profiling support (unless optimisations are active) # Debugging and profiling support (unless optimisations are active)
# #
...@@ -337,6 +359,12 @@ PLUGIN_GGI = plugins/ggi/ggi.o \ ...@@ -337,6 +359,12 @@ PLUGIN_GGI = plugins/ggi/ggi.o \
PLUGIN_GLIDE = plugins/glide/glide.o \ PLUGIN_GLIDE = plugins/glide/glide.o \
plugins/glide/vout_glide.o plugins/glide/vout_glide.o
PLUGIN_GNOME = plugins/gnome/gnome.o \
plugins/gnome/intf_gnome.o \
plugins/gnome/gnome_callbacks.o \
plugins/gnome/gnome_interface.o \
plugins/gnome/gnome_support.o
PLUGIN_GTK = plugins/gtk/gtk.o \ PLUGIN_GTK = plugins/gtk/gtk.o \
plugins/gtk/intf_gtk.o \ plugins/gtk/intf_gtk.o \
plugins/gtk/gtk_callbacks.o \ plugins/gtk/gtk_callbacks.o \
...@@ -344,32 +372,20 @@ PLUGIN_GTK = plugins/gtk/gtk.o \ ...@@ -344,32 +372,20 @@ PLUGIN_GTK = plugins/gtk/gtk.o \
plugins/gtk/gtk_support.o \ plugins/gtk/gtk_support.o \
plugins/gtk/gtk_playlist.o plugins/gtk/gtk_playlist.o
PLUGIN_GNOME = plugins/gnome/gnome.o \ PLUGIN_IDCT = plugins/idct/idct.o
plugins/gnome/intf_gnome.o \
plugins/gnome/gnome_callbacks.o \
plugins/gnome/gnome_interface.o \
plugins/gnome/gnome_support.o
PLUGIN_QT = plugins/qt/qt.o \ PLUGIN_IDCTCLASSIC = plugins/idct/idctclassic.o
plugins/qt/intf_qt.o
PLUGIN_KDE = plugins/kde/kde.o \ PLUGIN_IDCTMMX = plugins/idct/idctmmx.o
plugins/kde/intf_kde.o
PLUGIN_IDCT = plugins/idct/idct.o \ PLUGIN_IDCTMMXEXT = plugins/idct/idctmmxext.o
plugins/idct/idct_common.o
PLUGIN_IDCTCLASSIC = plugins/idct/idctclassic.o \ PLUGIN_IDCTALTIVEC = plugins/idct/idctaltivec.o
plugins/idct/idct_common.o
PLUGIN_IDCTMMX = plugins/idct/idctmmx.o \
plugins/idct/idct_common.o
PLUGIN_IDCTMMXEXT = plugins/idct/idctmmxext.o \ PLUGIN_IDCTCOMMON = plugins/idct/idct_common.o
plugins/idct/idct_common.o
PLUGIN_IDCTALTIVEC = plugins/idct/idctaltivec.o PLUGIN_KDE = plugins/kde/kde.o \
#FIXME : we should have plugins/idct/idct_common.o here plugins/kde/intf_kde.o
PLUGIN_MACOSX = plugins/macosx/macosx.o \ PLUGIN_MACOSX = plugins/macosx/macosx.o \
plugins/macosx/intf_macosx.o \ plugins/macosx/intf_macosx.o \
...@@ -378,18 +394,17 @@ PLUGIN_MACOSX = plugins/macosx/macosx.o \ ...@@ -378,18 +394,17 @@ PLUGIN_MACOSX = plugins/macosx/macosx.o \
PLUGIN_MGA = plugins/mga/mga.o \ PLUGIN_MGA = plugins/mga/mga.o \
plugins/mga/vout_mga.o plugins/mga/vout_mga.o
PLUGIN_MOTION = plugins/motion/motion.o \ PLUGIN_MOTION = plugins/motion/motion.o \
plugins/motion/vdec_motion_common.o \ plugins/motion/vdec_motion_inner.o
plugins/motion/vdec_motion_inner.o
PLUGIN_MOTIONMMX = plugins/motion/motionmmx.o \ PLUGIN_MOTIONMMX = plugins/motion/motionmmx.o \
plugins/motion/vdec_motion_common.o \
plugins/motion/vdec_motion_inner_mmx.o plugins/motion/vdec_motion_inner_mmx.o
PLUGIN_MOTIONMMXEXT = plugins/motion/motionmmxext.o \ PLUGIN_MOTIONMMXEXT = plugins/motion/motionmmxext.o \
plugins/motion/vdec_motion_common.o \
plugins/motion/vdec_motion_inner_mmxext.o plugins/motion/vdec_motion_inner_mmxext.o
PLUGIN_MOTIONCOMMON = plugins/motion/vdec_motion_common.o
PLUGIN_NCURSES = plugins/text/ncurses.o \ PLUGIN_NCURSES = plugins/text/ncurses.o \
plugins/text/intf_ncurses.o plugins/text/intf_ncurses.o
...@@ -398,6 +413,9 @@ PLUGIN_NULL = plugins/null/null.o ...@@ -398,6 +413,9 @@ PLUGIN_NULL = plugins/null/null.o
PLUGIN_PS = plugins/mpeg/ps.o \ PLUGIN_PS = plugins/mpeg/ps.o \
plugins/mpeg/input_ps.o plugins/mpeg/input_ps.o
PLUGIN_QT = plugins/qt/qt.o \
plugins/qt/intf_qt.o
PLUGIN_SDL = plugins/sdl/sdl.o \ PLUGIN_SDL = plugins/sdl/sdl.o \
plugins/sdl/vout_sdl.o \ plugins/sdl/vout_sdl.o \
plugins/sdl/aout_sdl.o plugins/sdl/aout_sdl.o
...@@ -429,11 +447,13 @@ STD_PLUGIN_OBJ = \ ...@@ -429,11 +447,13 @@ STD_PLUGIN_OBJ = \
$(PLUGIN_IDCTCLASSIC) \ $(PLUGIN_IDCTCLASSIC) \
$(PLUGIN_IDCTMMX) \ $(PLUGIN_IDCTMMX) \
$(PLUGIN_IDCTMMXEXT) \ $(PLUGIN_IDCTMMXEXT) \
$(PLUGIN_IDCTCOMMON) \
$(PLUGIN_MACOSX) \ $(PLUGIN_MACOSX) \
$(PLUGIN_MGA) \ $(PLUGIN_MGA) \
$(PLUGIN_MOTION) \ $(PLUGIN_MOTION) \
$(PLUGIN_MOTIONMMX) \ $(PLUGIN_MOTIONMMX) \
$(PLUGIN_MOTIONMMXEXT) \ $(PLUGIN_MOTIONMMXEXT) \
$(PLUGIN_MOTIONCOMMON) \
$(PLUGIN_NCURSES) \ $(PLUGIN_NCURSES) \
$(PLUGIN_NULL) \ $(PLUGIN_NULL) \
$(PLUGIN_PS) \ $(PLUGIN_PS) \
...@@ -442,14 +462,6 @@ STD_PLUGIN_OBJ = \ ...@@ -442,14 +462,6 @@ STD_PLUGIN_OBJ = \
$(PLUGIN_YUV) \ $(PLUGIN_YUV) \
$(PLUGIN_YUVMMX) $(PLUGIN_YUVMMX)
# list duplicates
STD_PLUGIN_COMMON = plugins/idct/idct_common.o \
plugins/motion/vdec_motion_common.o
# filter out duplicates from the plugin object lists
STD_PLUGIN_OBJ := $(filter-out $(STD_PLUGIN_COMMON), \
$(STD_PLUGIN_OBJ)) $(STD_PLUGIN_COMMON)
NONSTD_PLUGIN_OBJ = \ NONSTD_PLUGIN_OBJ = \
$(PLUGIN_X11) \ $(PLUGIN_X11) \
$(PLUGIN_GLIDE) \ $(PLUGIN_GLIDE) \
...@@ -642,170 +654,119 @@ $(PLUGIN_IDCTALTIVEC): %.o: %.c ...@@ -642,170 +654,119 @@ $(PLUGIN_IDCTALTIVEC): %.o: %.c
# #
vlc: $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ) vlc: $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ)
$(CC) $(CFLAGS) -o $@ $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ) $(LCFLAGS)
ifeq ($(SYS),beos) ifeq ($(SYS),beos)
$(CC) $(CFLAGS) $(LCFLAGS) -Xlinker -soname=_APP_ -o $@ $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ)
rm -f ./plugins/_APP_ rm -f ./plugins/_APP_
ln -s ../vlc ./plugins/_APP_ ln -s ../vlc ./plugins/_APP_
else
ifeq ($(SYS),nto-qnx)
$(CC) $(CFLAGS) $(LCFLAGS) -Xlinker -export-dynamic -o $@ $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ)
else
$(CC) $(CFLAGS) $(LCFLAGS) --export-dynamic @DYNAMIC_FLAG@ -o $@ $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ)
endif
endif endif
# #
# Plugin targets # Plugin targets
# #
lib/alsa.so: $(PLUGIN_ALSA)
$(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -lasound
lib/beos.so: $(PLUGIN_BEOS) lib/beos.so: $(PLUGIN_BEOS)
$(CC) $(PCFLAGS) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ -lbe -lgame -lroot -ltracker $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -lbe -lgame -lroot -ltracker
lib/esd.so: $(PLUGIN_ESD) lib/esd.so: $(PLUGIN_ESD)
ifneq (,$(findstring bsd,$(SYS))) ifneq (,$(findstring bsd,$(SYS)))
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -lesd $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -lesd
else else
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -laudiofile -lesd $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -laudiofile -lesd
endif endif
lib/macosx.so: $(PLUGIN_MACOSX)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/darwin.so: $(PLUGIN_DARWIN) lib/darwin.so: $(PLUGIN_DARWIN)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -framework CoreAudio $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -framework CoreAudio
lib/dsp.so: $(PLUGIN_DSP) lib/dsp.so: $(PLUGIN_DSP)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/qt.so: $(PLUGIN_QT)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -lqt -L${QTDIR}/lib
lib/kde.so: $(PLUGIN_KDE) lib/dummy.so: $(PLUGIN_DUMMY)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -lkdeui -lkdecore -lqt -ldl $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/alsa.so: $(PLUGIN_ALSA) lib/dvd.so: $(PLUGIN_DVD)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -lasound $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/fb.so: $(PLUGIN_FB) lib/fb.so: $(PLUGIN_FB)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
ifeq ($(SYS),nto-qnx)
lib/x11.so: $(PLUGIN_X11)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -L/usr/X11R6/lib -lX11 -lXext -lsocket
else
lib/x11.so: $(PLUGIN_X11)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -L/usr/X11R6/lib -lX11 -lXext
endif
lib/mga.so: $(PLUGIN_MGA)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -L/usr/X11R6/lib -lX11 -lXext
lib/gtk.so: $(PLUGIN_GTK)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ `gtk-config --libs gtk | sed 's,-rdynamic,,'`
lib/gnome.so: $(PLUGIN_GNOME)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ `gnome-config --libs gnomeui | sed 's,-rdynamic,,'`
lib/glide.so: $(PLUGIN_GLIDE)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(LIB_GLIDE)
lib/ggi.so: $(PLUGIN_GGI) lib/ggi.so: $(PLUGIN_GGI)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(LIB_GGI) $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GGI)
lib/sdl.so: $(PLUGIN_SDL) lib/glide.so: $(PLUGIN_GLIDE)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(LIB_SDL) $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GLIDE)
lib/ncurses.so: $(PLUGIN_NCURSES) lib/gnome.so: $(PLUGIN_GNOME)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ -lncurses $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) `gnome-config --libs gnomeui | sed 's,-rdynamic,,'`
ifeq ($(SYS),beos) lib/gtk.so: $(PLUGIN_GTK)
lib/null.so: $(PLUGIN_NULL) $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) `gtk-config --libs gtk | sed 's,-rdynamic,,'`
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_
lib/ps.so: $(PLUGIN_PS) lib/idct.so: $(PLUGIN_IDCT) $(PLUGIN_IDCTCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/ts.so: $(PLUGIN_TS) lib/idctclassic.so: $(PLUGIN_IDCTCLASSIC) $(PLUGIN_IDCTCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/dvd.so: $(PLUGIN_DVD) lib/idctmmx.so: $(PLUGIN_IDCTMMX) $(PLUGIN_IDCTCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/dummy.so: $(PLUGIN_DUMMY) lib/idctmmxext.so: $(PLUGIN_IDCTMMXEXT) $(PLUGIN_IDCTCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/yuv.so: $(PLUGIN_YUV) lib/idctaltivec.so: $(PLUGIN_IDCTALTIVEC) $(PLUGIN_IDCTCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -framework VecLib
lib/yuvmmx.so: $(PLUGIN_YUVMMX) lib/kde.so: $(PLUGIN_KDE)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -lkdeui -lkdecore -lqt -ldl
lib/motion.so: $(PLUGIN_MOTION) lib/macosx.so: $(PLUGIN_MACOSX)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/motionmmx.so: $(PLUGIN_MOTIONMMX) lib/mga.so: $(PLUGIN_MGA)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -L/usr/X11R6/lib -lX11 -lXext
lib/motionmmxext.so: $(PLUGIN_MOTIONMMXEXT) lib/motion.so: $(PLUGIN_MOTION) $(PLUGIN_MOTIONCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/idct.so: $(PLUGIN_IDCT) lib/motionmmx.so: $(PLUGIN_MOTIONMMX) $(PLUGIN_MOTIONCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/idctclassic.so: $(PLUGIN_IDCTCLASSIC) lib/motionmmxext.so: $(PLUGIN_MOTIONMMXEXT) $(PLUGIN_MOTIONCOMMON)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/idctmmx.so: $(PLUGIN_IDCTMMX) lib/ncurses.so: $(PLUGIN_NCURSES)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -lncurses
lib/idctmmxext.so: $(PLUGIN_IDCTMMXEXT)
$(CC) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_
else
lib/null.so: $(PLUGIN_NULL) lib/null.so: $(PLUGIN_NULL)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/ps.so: $(PLUGIN_PS) lib/ps.so: $(PLUGIN_PS)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/ts.so: $(PLUGIN_TS) lib/qt.so: $(PLUGIN_QT)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -lqt -L${QTDIR}/lib
lib/dvd.so: $(PLUGIN_DVD) lib/sdl.so: $(PLUGIN_SDL)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_SDL)
lib/dummy.so: $(PLUGIN_DUMMY) lib/ts.so: $(PLUGIN_TS)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/x11.so: $(PLUGIN_X11)
ifeq ($(SYS),nto-qnx)
$(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -L/usr/X11R6/lib -lX11 -lXext -lsocket
else
$(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -L/usr/X11R6/lib -lX11 -lXext
endif
lib/yuv.so: $(PLUGIN_YUV) lib/yuv.so: $(PLUGIN_YUV)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/yuvmmx.so: $(PLUGIN_YUVMMX) lib/yuvmmx.so: $(PLUGIN_YUVMMX)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
lib/motion.so: $(PLUGIN_MOTION)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/motionmmx.so: $(PLUGIN_MOTIONMMX)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/motionmmxext.so: $(PLUGIN_MOTIONMMXEXT)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/idct.so: $(PLUGIN_IDCT)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/idctclassic.so: $(PLUGIN_IDCTCLASSIC)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/idctmmx.so: $(PLUGIN_IDCTMMX)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/idctmmxext.so: $(PLUGIN_IDCTMMXEXT)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^
lib/idctaltivec.so: $(PLUGIN_IDCTALTIVEC)
$(CC) $(PCFLAGS) $(PLCFLAGS) -o $@ $^ plugins/idct/idct_common.o -framework VecLib
endif
################################################################################ ################################################################################
# Note on generic rules and dependancies # Note on generic rules and dependancies
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* idctaltivec.c : Altivec IDCT module * idctaltivec.c : Altivec IDCT module
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: idctaltivec.c,v 1.1 2001/03/20 20:09:37 massiot Exp $ * $Id: idctaltivec.c,v 1.2 2001/03/21 02:58:29 sam Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/ *****************************************************************************/
#define MODULE_NAME idctmmxext #define MODULE_NAME idctaltivec
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment