Index: x264-svn/Makefile =================================================================== --- x264-svn.orig/Makefile +++ x264-svn/Makefile @@ -66,7 +66,7 @@ DEP = depend .PHONY: all default fprofiled clean distclean install install-gtk uninstall dox test testclean all: default -default: $(DEP) x264$(EXE) +default: $(DEP) libx264.a: .depend $(OBJS) $(OBJASM) ar rc libx264.a $(OBJS) $(OBJASM) @@ -142,13 +142,12 @@ distclean: clean rm -rf test/ $(MAKE) -C gtk distclean -install: x264 $(SONAME) +install: libx264.a $(SONAME) install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig install -m 644 x264.h $(DESTDIR)$(includedir) install -m 644 libx264.a $(DESTDIR)$(libdir) install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig - install x264 $(DESTDIR)$(bindir) ranlib $(DESTDIR)$(libdir)/libx264.a $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so) $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))