Mercurial > libavformat.hg
comparison Makefile @ 944:7082e2e7a3cd libavformat
Separate library install into static and shared installation.
author | diego |
---|---|
date | Sat, 11 Feb 2006 18:50:45 +0000 |
parents | 0b4d844727ff |
children | cff8bd30adfb |
comparison
equal
deleted
inserted
replaced
943:4e7a66723f1d | 944:7082e2e7a3cd |
---|---|
122 endif | 122 endif |
123 | 123 |
124 depend: $(SRCS) | 124 depend: $(SRCS) |
125 $(CC) -MM $(CFLAGS) $^ 1>.depend | 125 $(CC) -MM $(CFLAGS) $^ 1>.depend |
126 | 126 |
127 ifeq ($(BUILD_SHARED),yes) | 127 |
128 install: all | 128 install-lib-shared: $(SLIBNAME) |
129 ifeq ($(CONFIG_WIN32),yes) | 129 ifeq ($(CONFIG_WIN32),yes) |
130 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" | 130 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" |
131 else | 131 else |
132 install -d $(libdir) | |
133 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ | 132 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ |
134 $(libdir)/$(SLIBNAME_WITH_VERSION) | 133 $(libdir)/$(SLIBNAME_WITH_VERSION) |
135 ln -sf $(SLIBNAME_WITH_VERSION) \ | 134 ln -sf $(SLIBNAME_WITH_VERSION) \ |
136 $(libdir)/$(SLIBNAME_WITH_MAJOR) | 135 $(libdir)/$(SLIBNAME_WITH_MAJOR) |
137 ln -sf $(SLIBNAME_WITH_VERSION) \ | 136 ln -sf $(SLIBNAME_WITH_VERSION) \ |
138 $(libdir)/$(SLIBNAME) | 137 $(libdir)/$(SLIBNAME) |
139 $(LDCONFIG) || true | |
140 endif | |
141 else | |
142 install: | |
143 endif | 138 endif |
144 | 139 |
145 installlib: all | 140 install-lib-static: $(LIB) |
146 install -m 644 $(LIB) "$(libdir)" | 141 install -m 644 $(LIB) "$(libdir)" |
147 | 142 |
148 install-headers: | 143 install-headers: |
149 mkdir -p "$(prefix)/include/ffmpeg" | 144 mkdir -p "$(prefix)/include/ffmpeg" |
150 install -m 644 $(SRC_PATH)/libavformat/avformat.h $(SRC_PATH)/libavformat/avio.h \ | 145 install -m 644 $(SRC_PATH)/libavformat/avformat.h $(SRC_PATH)/libavformat/avio.h \ |