Mercurial > libavutil.hg
comparison Makefile @ 26:254a8d098e95 libavutil
Separate library install into static and shared installation.
author | diego |
---|---|
date | Sat, 11 Feb 2006 18:50:45 +0000 |
parents | d25a948e2019 |
children | 3e908b79ab11 |
comparison
equal
deleted
inserted
replaced
25:d25a948e2019 | 26:254a8d098e95 |
---|---|
58 | 58 |
59 distclean: clean | 59 distclean: clean |
60 rm -f .depend | 60 rm -f .depend |
61 | 61 |
62 | 62 |
63 ifeq ($(BUILD_SHARED),yes) | 63 install-lib-shared: $(SLIBNAME) |
64 install: all | |
65 ifeq ($(CONFIG_WIN32),yes) | 64 ifeq ($(CONFIG_WIN32),yes) |
66 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" | 65 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" |
67 else | 66 else |
68 install -d $(libdir) | |
69 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ | 67 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ |
70 $(libdir)/$(SLIBNAME_WITH_VERSION) | 68 $(libdir)/$(SLIBNAME_WITH_VERSION) |
71 ln -sf $(SLIBNAME_WITH_VERSION) \ | 69 ln -sf $(SLIBNAME_WITH_VERSION) \ |
72 $(libdir)/$(SLIBNAME_WITH_MAJOR) | 70 $(libdir)/$(SLIBNAME_WITH_MAJOR) |
73 ln -sf $(SLIBNAME_WITH_VERSION) \ | 71 ln -sf $(SLIBNAME_WITH_VERSION) \ |
74 $(libdir)/$(SLIBNAME) | 72 $(libdir)/$(SLIBNAME) |
75 $(LDCONFIG) || true | |
76 endif | |
77 else | |
78 install: | |
79 endif | 73 endif |
80 | 74 |
81 installlib: all | 75 install-lib-static: $(LIB) |
82 install -m 644 $(LIB) "$(libdir)" | 76 install -m 644 $(LIB) "$(libdir)" |
83 | 77 |
84 install-headers: | 78 install-headers: |
85 mkdir -p "$(prefix)/include/ffmpeg" | 79 mkdir -p "$(prefix)/include/ffmpeg" |
86 install -m 644 $(SRC_PATH)/libavutil/avutil.h \ | 80 install -m 644 $(SRC_PATH)/libavutil/avutil.h \ |