Revision 1609f668 postproc/Makefile

View differences:

postproc/Makefile
2 2
include ../config.mak
3 3

  
4 4
SWSLIB = libswscale.a
5
ifeq ($(SHARED_PP),yes)
5 6
SPPLIB = libpostproc.so
6 7
SPPVERSION = 0.0.1
8
endif
7 9
PPLIB = libpostproc.a
8 10

  
9 11
SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
......
41 43
cs_test: $(CS_TEST_OBJS)
42 44
	$(CC) $(CS_TEST_OBJS) -o cs_test
43 45

  
46
ifeq ($(SHARED_PP),yes)
44 47
postprocess_pic.o: postprocess.c
45 48
	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
46 49

  
47 50
$(SPPLIB): $(SPPOBJS)
48 51
	$(CC) -shared -Wl,-soname,$(SPPLIB).0 \
49 52
	-o $(SPPLIB) $(SPPOBJS)
50

  
53
endif
54
	
51 55
$(PPLIB): $(PPOBJS)
52 56
	$(AR) r $(PPLIB) $(PPOBJS)
53 57

  

Also available in: Unified diff