Mercurial > libavcodec.hg
comparison libpostproc/Makefile @ 3110:b090207c3d18 libavcodec
Separate header file installation from the general install target.
| author | diego |
|---|---|
| date | Sat, 11 Feb 2006 17:44:06 +0000 |
| parents | 6ade7a72ae52 |
| children | 380d5841b346 |
comparison
equal
deleted
inserted
replaced
| 3109:6ade7a72ae52 | 3110:b090207c3d18 |
|---|---|
| 46 $(LIB): $(OBJS) | 46 $(LIB): $(OBJS) |
| 47 rm -f $@ | 47 rm -f $@ |
| 48 $(AR) rc $@ $(OBJS) | 48 $(AR) rc $@ $(OBJS) |
| 49 $(RANLIB) $@ | 49 $(RANLIB) $@ |
| 50 | 50 |
| 51 install: all install-headers | 51 install: all |
| 52 ifeq ($(BUILD_SHARED),yes) | 52 ifeq ($(BUILD_SHARED),yes) |
| 53 ifeq ($(CONFIG_WIN32),yes) | 53 ifeq ($(CONFIG_WIN32),yes) |
| 54 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" | 54 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" |
| 55 else | 55 else |
| 56 install -d $(libdir) | 56 install -d $(libdir) |
| 62 $(libdir)/$(SLIBNAME) | 62 $(libdir)/$(SLIBNAME) |
| 63 $(LDCONFIG) || true | 63 $(LDCONFIG) || true |
| 64 endif | 64 endif |
| 65 endif | 65 endif |
| 66 | 66 |
| 67 installlib: all install-headers | 67 installlib: all |
| 68 install -m 644 $(LIB) "$(libdir)" | 68 install -m 644 $(LIB) "$(libdir)" |
| 69 | 69 |
| 70 install-headers: | 70 install-headers: |
| 71 mkdir -p $(prefix)/include/postproc | 71 mkdir -p $(prefix)/include/postproc |
| 72 install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h | 72 install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h |
