From 6e023978cf10de75eb8cb20d79b91f721fb7662a Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Tue, 15 Apr 2003 22:29:37 +0000 Subject: 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 --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3