comparison libpostproc/Makefile @ 2564:ad15cccd015f libavcodec

add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
author michael
date Wed, 16 Mar 2005 19:11:58 +0000
parents e003222c878d
children c0ce123ef11c
comparison
equal deleted inserted replaced
2563:1e52ef4887b5 2564:ad15cccd015f
52 install: all 52 install: all
53 ifeq ($(SHARED_PP),yes) 53 ifeq ($(SHARED_PP),yes)
54 ifeq ($(CONFIG_WIN32),yes) 54 ifeq ($(CONFIG_WIN32),yes)
55 install $(INSTALLSTRIP) -m 755 $(SPPLIB) "$(prefix)" 55 install $(INSTALLSTRIP) -m 755 $(SPPLIB) "$(prefix)"
56 else 56 else
57 install -d $(prefix)/lib 57 install -d $(libdir)
58 install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(prefix)/lib/$(SPPLIB).$(SPPVERSION) 58 install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(libdir)/$(SPPLIB).$(SPPVERSION)
59 ln -sf $(SPPLIB).$(SPPVERSION) $(prefix)/lib/$(SPPLIB) 59 ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB)
60 ldconfig || true 60 ldconfig || true
61 endif 61 endif
62 endif 62 endif
63 mkdir -p $(prefix)/include/postproc 63 mkdir -p $(prefix)/include/postproc
64 install -m 644 postprocess.h $(prefix)/include/postproc/postprocess.h 64 install -m 644 postprocess.h $(prefix)/include/postproc/postprocess.h