aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-04-15 22:29:37 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2003-04-15 22:29:37 +0000
commit6e023978cf10de75eb8cb20d79b91f721fb7662a (patch)
treeef2b00785b6ee508afb5f8e692b86a6292b08bca /Makefile
parentdeabd4fdde195c65362f3e3bb27a5fef38fabc26 (diff)
downloadffmpeg-6e023978cf10de75eb8cb20d79b91f721fb7662a.tar.gz
Changes for SPARC/Solaris compatibility. Now it should be possible to
build and test ffmpeg on SPARC/Solaris 8+ out of the box. Originally committed as revision 1778 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a066516a6..47ef022607 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,12 @@ INSTALLVHOOK=install-vhook
CLEANVHOOK=clean-vhook
endif
+ifeq ($(TARGET_OS), SunOS)
+TEST=/usr/bin/test
+else
+TEST=test
+endif
+
OBJS = ffmpeg.o ffserver.o
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
FFLIBS = -L./libavformat -lavformat -L./libavcodec -lavcodec
@@ -112,7 +118,7 @@ endif
.libs: lib
@test -f .libs || touch .libs
- @for i in $(DEP_LIBS) ; do if test $$i -nt .libs ; then touch .libs; fi ; done
+ @for i in $(DEP_LIBS) ; do if $(TEST) $$i -nt .libs ; then touch .libs; fi ; done
clean: $(CLEANVHOOK)
$(MAKE) -C libavcodec clean