blob: d429ac0952f8d596df143f16e29b6518c9983a96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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))
|