Annotation of /trunk/x264/patches/x264-20070106_2245-only-libs.patch
Parent Directory | Revision Log
Revision 412 -
(hide annotations)
(download)
Wed Nov 14 15:14:56 2007 UTC (16 years, 10 months ago) by niro
File size: 1106 byte(s)
Wed Nov 14 15:14:56 2007 UTC (16 years, 10 months ago) by niro
File size: 1106 byte(s)
-split package to fix depwalker loops on resolving srcinstall deps
1 | niro | 412 | diff -Naur x264-snapshot-20070106-2245/Makefile x264-snapshot-20070106-2245-magellan/Makefile |
2 | --- x264-snapshot-20070106-2245/Makefile 2007-01-06 22:45:02.000000000 +0100 | ||
3 | +++ x264-snapshot-20070106-2245-magellan/Makefile 2007-11-14 15:14:37.000000000 +0100 | ||
4 | @@ -64,7 +64,7 @@ | ||
5 | .PHONY: all default fprofiled clean distclean install install-gtk uninstall | ||
6 | all: default | ||
7 | |||
8 | -default: $(DEP) x264$(EXE) | ||
9 | +default: $(DEP) | ||
10 | |||
11 | libx264.a: .depend $(OBJS) $(OBJASM) | ||
12 | ar rc libx264.a $(OBJS) $(OBJASM) | ||
13 | @@ -139,13 +139,12 @@ | ||
14 | rm -f config.mak config.h x264.pc | ||
15 | $(MAKE) -C gtk distclean | ||
16 | |||
17 | -install: x264 $(SONAME) | ||
18 | +install: libx264.a $(SONAME) | ||
19 | install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) | ||
20 | install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig | ||
21 | install -m 644 x264.h $(DESTDIR)$(includedir) | ||
22 | install -m 644 libx264.a $(DESTDIR)$(libdir) | ||
23 | install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig | ||
24 | - install x264 $(DESTDIR)$(bindir) | ||
25 | ranlib $(DESTDIR)$(libdir)/libx264.a | ||
26 | $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so) | ||
27 | $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir)) |