• Henri Fallon's avatar
    · 49a0736e
    Henri Fallon authored
    All decoders (audio, video, subtitles) are now modules.
    
    - mpeg_vdec, mpeg_adec and ac3_adec are builtins by default
    - ac3_spdif, spu_dec and lpcm_dec are plugins by default
    49a0736e
Makefile 628 Bytes
###############################################################################
# vlc (VideoLAN Client) MPEG audio decoder module makefile
# (c)2001 VideoLAN
###############################################################################

#
# Objects
#
PLUGIN_C = video_parser.o vpar_headers.o vpar_blocks.o vpar_synchro.o vpar_pool.o video_decoder.o
BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o)

ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
#
# Virtual targets
#

include ../../Makefile.modules

#
# Real targets
#

../mpeg_vdec.so: $(PLUGIN_C)
	$(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) 

../mpeg_vdec.a: $(BUILTIN_C)
	ar r $@ $^
	$(RANLIB) $@