2 include ..
/..
/config.mak
4 VPATH
=$(SRC_PATH
)/libavcodec
/libpostproc
6 ifeq ($(SHARED_PP
),yes
)
7 SPPLIB
= $(SLIBPREF
)postproc
$(SLIBSUF
)
9 SPPVERSION
= $(SPPMAJOR
).0.1
11 PPLIB
= $(LIBPREF
)postproc
$(LIBSUF
)
14 SPPOBJS
=postprocess_pic.o
16 CFLAGS
= $(OPTFLAGS
) $(MLIB_INC
) -I.
-I..
$(EXTRA_INC
)
17 # -I/usr/X11R6/include/
24 $(CC
) -c
$(CFLAGS
) $(LIBOBJFLAGS
) -I
$(SRC_PATH
)/libavcodec
-I..
/..
-o
$@
$<
26 all: $(SWSLIB
) $(PPLIB
) $(SPPLIB
)
29 rm -f
*.o
*.a
*~
*.so
$(PPLIB
) $(SPPLIB
)
32 rm -f Makefile.bak
*.o
*.a
*~
*.so .depend
37 $(CC
) -MM
$(CFLAGS
) postprocess.c
1>.depend
39 ifeq ($(SHARED_PP
),yes
)
40 postprocess_pic.o
: postprocess.c
41 $(CC
) -c
$(CFLAGS
) -fomit-frame-pointer
-fPIC
-DPIC
-I..
-I..
/..
-o
$@
$<
44 $(CC
) -shared
-Wl
,-soname
,$(SPPLIB
).
$(SPPMAJOR
) \
45 -o
$(SPPLIB
) $(SPPOBJS
)
54 ifeq ($(SHARED_PP
),yes
)
55 ifeq ($(CONFIG_WIN32
),yes
)
56 install $(INSTALLSTRIP
) -m
755 $(SPPLIB
) "$(prefix)"
59 install $(INSTALLSTRIP
) -m
755 $(SPPLIB
) $(libdir)/$(SPPLIB
).
$(SPPVERSION
)
60 ln
-sf
$(SPPLIB
).
$(SPPVERSION
) $(libdir)/$(SPPLIB
)
61 ln
-sf
$(SPPLIB
).
$(SPPVERSION
) $(libdir)/$(SPPLIB
).
$(SPPMAJOR
)
62 install -d
$(libdir)/pkgconfig
63 install -m
644 ..
/..
/libpostproc.
pc $(libdir)/pkgconfig
67 mkdir
-p
$(prefix)/include/postproc
68 install -m
644 $(SRC_PATH
)/libavcodec
/libpostproc
/postprocess.h
$(prefix)/include/postproc
/postprocess.h
72 # include dependency files if they exist
74 ifneq ($(wildcard .depend
),)