comparison Makefile @ 137:21532c56ed8b libavcodec

headers installation
author nickols_k
date Sat, 27 Oct 2001 12:40:13 +0000
parents 669955525b67
children 8b7772ef26a0
comparison
equal deleted inserted replaced
136:669955525b67 137:21532c56ed8b
98 98
99 motion-test: motion_test.o $(LIB) 99 motion-test: motion_test.o $(LIB)
100 $(CC) -o $@ $^ 100 $(CC) -o $@ $^
101 101
102 install: all 102 install: all
103 # install -s -m 644 $(LIB) $(prefix)/lib 103 # install -m 644 $(LIB) $(prefix)/lib
104 ifeq ($(BUILD_SHARED),yes) 104 ifeq ($(BUILD_SHARED),yes)
105 install -s -m 755 $(SLIB) $(prefix)/lib 105 install -s -m 755 $(SLIB) $(prefix)/lib
106 ln -sf $(prefix)/lib/$(SLIB) $(prefix)/lib/libffmpeg.so 106 ln -sf $(prefix)/lib/$(SLIB) $(prefix)/lib/libffmpeg.so
107 ldconfig 107 ldconfig
108 mkdir -p $(prefix)/include/libffmpeg
109 install -m 644 avcodec.h $(prefix)/include/libffmpeg/avcodec.h
108 endif 110 endif
109 # 111 #
110 # include dependency files if they exist 112 # include dependency files if they exist
111 # 113 #
112 ifneq ($(wildcard .depend),) 114 ifneq ($(wildcard .depend),)