Mercurial > libavcodec.hg
comparison libpostproc/Makefile @ 3046:1127b4455bec libavcodec
Remove redundant --enable-shared-pp configure option and make the PP code
use the standard --enable-shared option.
| author | diego |
|---|---|
| date | Sat, 14 Jan 2006 18:07:36 +0000 |
| parents | ed98beb48872 |
| children | 986716310195 |
comparison
equal
deleted
inserted
replaced
| 3045:c5e521489fdf | 3046:1127b4455bec |
|---|---|
| 2 include ../../config.mak | 2 include ../../config.mak |
| 3 | 3 |
| 4 VPATH=$(SRC_PATH)/libavcodec/libpostproc | 4 VPATH=$(SRC_PATH)/libavcodec/libpostproc |
| 5 | 5 |
| 6 NAME=postproc | 6 NAME=postproc |
| 7 ifeq ($(SHARED_PP),yes) | 7 ifeq ($(BUILD_SHARED),yes) |
| 8 LIBVERSION=$(SPPVERSION) | 8 LIBVERSION=$(SPPVERSION) |
| 9 LIBMAJOR=$(SPPMAJOR) | 9 LIBMAJOR=$(SPPMAJOR) |
| 10 endif | 10 endif |
| 11 | 11 |
| 12 OBJS=postprocess.o | 12 OBJS=postprocess.o |
| 33 dep: depend | 33 dep: depend |
| 34 | 34 |
| 35 depend: | 35 depend: |
| 36 $(CC) -MM $(CFLAGS) postprocess.c 1>.depend | 36 $(CC) -MM $(CFLAGS) postprocess.c 1>.depend |
| 37 | 37 |
| 38 ifeq ($(SHARED_PP),yes) | 38 ifeq ($(BUILD_SHARED),yes) |
| 39 postprocess_pic.o: postprocess.c | 39 postprocess_pic.o: postprocess.c |
| 40 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $< | 40 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $< |
| 41 | 41 |
| 42 $(SLIBNAME): $(SOBJS) | 42 $(SLIBNAME): $(SOBJS) |
| 43 $(CC) $(SHFLAGS) -o $(SLIBNAME) $(SOBJS) | 43 $(CC) $(SHFLAGS) -o $(SLIBNAME) $(SOBJS) |
| 47 rm -f $@ | 47 rm -f $@ |
| 48 $(AR) rc $@ $(OBJS) | 48 $(AR) rc $@ $(OBJS) |
| 49 $(RANLIB) $@ | 49 $(RANLIB) $@ |
| 50 | 50 |
| 51 install: all | 51 install: all |
| 52 ifeq ($(SHARED_PP),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) |
| 57 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ | 57 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ |
