0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

Clean up codec-cfg and friends handling.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19056 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-07-13 01:20:14 +00:00
parent 742e7da887
commit 4e3bf50988

View File

@ -6,8 +6,6 @@
include config.mak
PRG_CFG = codec-cfg
LIBAV_INC =
ifeq ($(CONFIG_LIBAVUTIL),yes)
LIBAV_INC += -I./libavutil
@ -412,18 +410,17 @@ $(PRG_MENCODER): $(MENCODER_DEP)
$(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
endif
codecs.conf.h: $(PRG_CFG) etc/codecs.conf
./$(PRG_CFG) ./etc/codecs.conf > $@
codec-cfg: codec-cfg.c codec-cfg.h help_mp.h
$(HOST_CC) -I. -DCODECS2HTML codec-cfg.c -o $@
codecs.conf.h: codec-cfg etc/codecs.conf
./codec-cfg ./etc/codecs.conf > $@
codec-cfg.o: codecs.conf.h
codecs2html: mp_msg.o
$(CC) -DCODECS2HTML codec-cfg.c mp_msg.o -o $@
$(PRG_CFG): codec-cfg.c codec-cfg.h help_mp.h
$(HOST_CC) $(HOST_CFLAGS) -I. codec-cfg.c -o $(PRG_CFG) \
-DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC)
install: $(ALL_PRG)
ifeq ($(VIDIX),yes)
$(MAKE) -C libdha install
@ -490,10 +487,10 @@ endif
@echo "Uninstall completed"
clean:
-rm -f *.o *.a *~ codecs.conf.h
-rm -f *.o *.a *~
distclean: clean doxygen_clean
-rm -f *~ $(PRG) $(PRG_MENCODER) $(PRG_CFG)
-rm -f *~ $(PRG) $(PRG_MENCODER) codec-cfg codecs2html
-rm -f .depend configure.log codecs.conf.h help_mp.h
@for a in $(PARTS); do $(MAKE) -C $$a distclean; done