Changeset 6116299e395a1d8a27c1a7280749a0a7d59d0d66

Show
Ignore:
Timestamp:
16/04/01 09:40:11 (7 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 987406811 +0000
git-parent:

[5427a369c4a6ef96ab69119879e32360b301f737]

git-author:
Sam Hocevar <sam@videolan.org> 987406811 +0000
Message:
  • Added .cvsignore files in the plugins directories.
  • Additional Makefile cleaning for built-in modules.
  • Fixed Makefile for Solaris target.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • .cvsignore

    r45b6443 r6116299  
    11.* 
    2 *.ts 
    32core 
    4 dep 
     3.dep 
    54gmon.out 
    6 vlc 
    75vlc-debug.log 
    86vlc-debug.ct 
     
    108config.cache 
    119config.status 
    12 Makefile 
     10Makefile.opts 
     11Makefile.modules 
    1312build-stamp 
     13vlc 
    1414gvlc 
    15 fbvlc 
     15qvlc 
     16kvlc 
     17gnome-vlc 
  • ChangeLog

    r4a5e3b5 r6116299  
    55HEAD 
    66 
     7  * Additional Makefile cleaning for built-in modules. 
     8  * Fixed Makefile for Solaris target. 
    79  * All Debian packages are now lintian-clean. 
    810  * Fixed XVideo plugin linking. 
  • INSTALL

    r8ccd224 r6116299  
    22 
    33 
    4 Building VideoLAN 
    5 ================= 
     4Configuring VideoLAN 
     5==================== 
    66 
    77A typical way to configure vlc is: 
     
    1111See `./configure --help' for more information. 
    1212 
    13 Then, run `make' to build vlc. 
    14  
    1513Here is a shortcut to copy-paste for a complete build: 
    1614 
    17    make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \ 
     15   make distclean && ./configure --prefix=/usr --enable-gnome \ 
    1816      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ 
    19       --enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo \ 
    20    && make 
     17      --enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo 
    2118 
    2219If you intend to debug stuff, you may want to disable optimizations: 
    2320 
    24    make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \ 
     21   make distclean && ./configure --prefix=/usr --enable-gnome \ 
    2522      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ 
    2623      --enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo \ 
    27       --disable-optimizatons && make 
     24      --disable-optimizatons 
     25 
     26 
     27Building VideoLAN 
     28================= 
     29 
     30Have a look at the generated Makefile.opts file, you may want to choose 
     31which modules will be compiled as plugins, and which ones will remain in 
     32the core application. The configure script tries to guess for you. 
     33 
     34Once configured, run `make' to build vlc. 
    2835 
    2936 
  • Makefile

    r79a45f7 r6116299  
    33############################################################################### 
    44 
    5 include Makefile.opts 
     5-include Makefile.opts 
    66 
    77############################################################################### 
     
    3030        mpeg/ps mpeg/ts null/null qt/qt sdl/sdl \ 
    3131        text/text x11/x11 x11/xvideo yuv/yuv yuv/yuvmmx 
    32  
    33 # 
    34 # Translate plugin names 
    35 # 
    36 PLUGINS_OBJ := $(shell for i in : $(PLUGINS) ; do echo " "$(PLUGINS_TARGETS)" " | sed 's@.*/\('$$i'\) .*@lib/\1.so@ ; s@^ .*@@' ; done) 
    37 BUILTINS_OBJ := $(shell for i in : $(BUILTINS) ; do echo " "$(PLUGINS_TARGETS)" " | sed 's@.*/\('$$i'\) .*@lib/\1.a@ ; s@^ .*@@' ; done) 
    3832 
    3933# 
     
    145139# Other lists of files 
    146140# 
    147 objects := $(C_OBJ) 
    148 cdependancies := $(objects:%.o=.dep/%.d) 
    149 cppobjects := $(CPP_OBJ) 
    150 cppdependancies := $(cppobjects:%.o=.dep/%.dpp) 
     141C_DEP := $(C_OBJ:%.o=.dep/%.d) 
     142CPP_DEP := $(CPP_OBJ:%.o=.dep/%.dpp) 
     143 
     144
     145# Translate plugin names 
     146
     147PLUGIN_OBJ := $(shell for i in : $(PLUGINS) ; do echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.*/\('$$i'\) .*@lib/\1.so@' -e 's@^ .*@@' ; done) 
     148BUILTIN_OBJ := $(shell for i in : $(BUILTINS) ; do echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.*/\('$$i'\) .*@lib/\1.a@' -e 's@^ .*@@' ; done) 
    151149 
    152150# All symbols must be exported 
     
    161159# 
    162160all: vlc ${ALIASES} plugins vlc.app 
    163  
    164 Makefile.opts: 
    165     @echo 
    166     @echo "Sorry, you need to run ./configure before using this makefile." 
    167     @echo "To make clean or make distclean, use this:" 
    168     @echo 
    169     @echo "    touch Makefile.opts Makefile.modules && make distclean" 
    170     @echo 
    171     @exit 1 
    172161 
    173162clean: 
     
    209198    @echo objects: $(objects) 
    210199    @echo cppobjects: $(cppobjects) 
    211     @echo PLUGINS_OBJ: $(PLUGINS_OBJ) 
    212     @echo BUILTINS_OBJ: $(BUILTINS_OBJ) 
     200    @echo PLUGIN_OBJ: $(PLUGIN_OBJ) 
     201    @echo BUILTIN_OBJ: $(BUILTIN_OBJ) 
    213202 
    214203 
     
    222211    find debian -mindepth 1 -maxdepth 1 -type d | \ 
    223212        while read i ; do rm -Rf /tmp/vlc-${PROGRAM_VERSION}/$$i ; done 
    224     # .c .h .in .cpp 
    225     find include src plugins -type f -name '*.[chi]*' | while read i ; \ 
    226         do cp $$i /tmp/vlc-${PROGRAM_VERSION}/$$i ; \ 
    227     done 
     213    # .c .h .in .cpp .glade 
     214    find include src plugins -type f -name '*.[chig]*' | while read i ; \ 
     215        do cp $$i /tmp/vlc-${PROGRAM_VERSION}/$$i ; done 
     216    # Makefiles 
     217    find . plugins -type f -name Makefile | while read i ; \ 
     218        do cp $$i /tmp/vlc-${PROGRAM_VERSION}/$$i ; done 
    228219    # extra files 
    229220    cp -a extras/* /tmp/vlc-${PROGRAM_VERSION}/extras 
     
    236227    # copy misc files 
    237228    cp vlc.spec AUTHORS COPYING ChangeLog INSTALL README TODO todo.pl \ 
    238         Makefile Makefile.opts.in Makefile.dep Makefile.modules
     229        Makefile.opts.in Makefile.dep Makefile.modules.in
    239230        configure configure.in install-sh config.sub config.guess \ 
    240231            /tmp/vlc-${PROGRAM_VERSION}/ 
     
    244235            cp debian/$$file /tmp/vlc-${PROGRAM_VERSION}/debian/ ; \ 
    245236        done 
    246     for file in default8x16.psf default8x9.psf vlc_beos.rsrc ; do \ 
     237    for file in default8x16.psf default8x9.psf vlc_beos.rsrc vlc.icns ; do \ 
    247238        cp share/$$file /tmp/vlc-${PROGRAM_VERSION}/share/ ; done 
    248239    for icon in vlc gvlc qvlc gnome-vlc kvlc ; do \ 
     
    288279# Generic rules (see below) 
    289280# 
    290 $(cdependancies): %.d: FORCE 
     281$(C_DEP): %.d: FORCE 
    291282    @$(MAKE) -s --no-print-directory -f Makefile.dep $@ 
    292283 
    293 $(cppdependancies): %.dpp: FORCE 
     284$(CPP_DEP): %.dpp: FORCE 
    294285    @$(MAKE) -s --no-print-directory -f Makefile.dep $@ 
    295286 
    296 $(H_OBJ): Makefile.opts Makefile 
     287$(H_OBJ): Makefile.opts Makefile.dep Makefile 
    297288    rm -f $@ && cp $@.in $@ 
    298289    for i in $(BUILTINS) ; do \ 
     
    308299    echo "};" >> $@ ; 
    309300 
    310 $(C_OBJ): %.o: Makefile.dep 
     301$(C_OBJ): %.o: Makefile.opts Makefile.dep Makefile 
    311302$(C_OBJ): %.o: .dep/%.d 
    312303$(C_OBJ): %.o: %.c 
     
    318309endif 
    319310 
    320 $(CPP_OBJ): %.o: Makefile.dep 
     311$(CPP_OBJ): %.o: Makefile.opts Makefile.dep Makefile 
    321312$(CPP_OBJ): %.o: .dep/%.dpp 
    322313$(CPP_OBJ): %.o: %.cpp 
     
    326317# Main application target 
    327318# 
    328 vlc: $(H_OBJ) $(C_OBJ) $(CPP_OBJ) $(BUILTINS_OBJ) 
    329     $(CC) $(CFLAGS) -o $@ $(C_OBJ) $(CPP_OBJ) $(BUILTINS_OBJ) $(LCFLAGS) 
     319vlc: Makefile.opts Makefile.dep Makefile $(H_OBJ) $(C_OBJ) $(CPP_OBJ) $(BUILTIN_OBJ) 
     320    $(CC) $(CFLAGS) -o $@ $(C_OBJ) $(CPP_OBJ) $(BUILTIN_OBJ) $(LCFLAGS) 
    330321ifeq ($(SYS),beos) 
    331322    rm -f ./lib/_APP_ 
     
    338329# Plugins target 
    339330# 
    340 plugins: $(PLUGINS_OBJ) 
    341 $(PLUGINS_OBJ): FORCE 
    342     cd $(shell echo " "$(PLUGINS_TARGETS)" " | sed 's@.* \([^/]*/\)'$(@:lib/%.so=%)' .*@plugins/\1@ ; s@^ .*@@') && $(MAKE) $(@:%=../../%) 
     331plugins: Makefile.modules Makefile.opts Makefile.dep Makefile $(PLUGIN_OBJ) 
     332$(PLUGIN_OBJ): FORCE 
     333    cd $(shell echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.* \([^/]*/\)'$(@:lib/%.so=%)' .*@plugins/\1@' -e 's@^ .*@@') && $(MAKE) $(@:%=../../%) 
    343334 
    344335# 
    345336# Built-in modules target 
    346337# 
    347 builtins: $(BUILTINS_OBJ) 
    348 $(BUILTINS_OBJ): FORCE 
    349     cd $(shell echo " "$(PLUGINS_TARGETS)" " | sed 's@.* \([^/]*/\)'$(@:lib/%.a=%)' .*@plugins/\1@ ; s@^ .*@@') && $(MAKE) $(@:%=../../%) 
    350  
     338builtins: Makefile.modules Makefile.opts Makefile.dep Makefile $(BUILTIN_OBJ) 
     339$(BUILTIN_OBJ): FORCE 
     340    cd $(shell echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.* \([^/]*/\)'$(@:lib/%.a=%)' .*@plugins/\1@' -e 's@^ .*@@') && $(MAKE) $(@:%=../../%) 
     341 
  • Makefile.dep

    r6b3c854 r6116299  
    4646-include $(MAKECMDGOALS) 
    4747 
    48 $(cdependancies): .dep/%.d: %.c 
     48$(C_DEP): .dep/%.d: %.c 
    4949    @test -d .dep/$(dir $*) || mkdir -p .dep/$(dir $*) 
    5050    #@echo "generating dependancies for $*.c" 
     
    5454    [ -s $@ ] || rm -f $@' 
    5555 
    56 $(cppdependancies): .dep/%.dpp: %.cpp 
     56$(CPP_DEP): .dep/%.dpp: %.cpp 
    5757    @test -d .dep/$(dir $*) || mkdir -p .dep/$(dir $*) 
    5858    #@echo "generating dependancies for $*.c" 
  • Makefile.opts.in

    r79a45f7 r6116299  
    9090# DEFINE will contain some of the constants definitions decided in Makefile,  
    9191# including SYS_xx. It will be passed to C compiler. 
    92 DEFINE += -DSYS_$(shell echo $(SYS) | sed 's/-.*//' | tr '[a-z].' '[A-Z]_') 
     92DEFINE += -DSYS_$(shell echo $(SYS) | sed -e 's/-.*//' | tr '[a-z].' '[A-Z]_') 
    9393 
    9494# On Linux activate 64-bit off_t (by default under BSD) 
     
    116116# Libraries needed by built-in modules 
    117117# 
    118 LIB += $(shell for i in ${BUILTINS} ; do echo $$i | tr '[a-z]' '[A-Z]' | sed 's/.*/$$LIB_&/' ; done) 
     118LIB += $(shell for i in ${BUILTINS} ; do echo $$i | tr '[a-z]' '[A-Z]' | sed -e 's/.*/$$LIB_&/' ; done) 
    119119 
    120120# 
  • include/.cvsignore

    r15928ef r6116299  
    11config.h 
    22defs.h 
     3modules_builtin.h 
  • plugins/alsa/Makefile

    r79a45f7 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_ALSA = alsa.o aout_alsa.o 
    12 BUILTIN_ALSA = $(PLUGIN_ALSA:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_ALSA) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_ALSA) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = alsa.o aout_alsa.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/alsa.so: $(PLUGIN_ALSA) 
     26 
     27../../lib/alsa.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_ALSA) 
    5329 
    54 ../../lib/alsa.a: $(BUILTIN_ALSA
     30../../lib/alsa.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/beos/Makefile

    r79a45f7 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_BEOS = beos.o aout_beos.o vout_beos.o intf_beos.o DrawingTidbits.o TransportButton.o 
    12 BUILTIN_BEOS = $(PLUGIN_BEOS:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 NONSTD_CPP_PLUGIN_OBJ = $(PLUGIN_BEOS) 
    15 NONSTD_CPP_BUILTIN_OBJ = $(BUILTIN_BEOS) 
    16 ALL_OBJ = $(NONSTD_CPP_PLUGIN_OBJ) $(NONSTD_CPP_BUILTIN_OBJ) 
     12PLUGIN_CPP = beos.o aout_beos.o vout_beos.o intf_beos.o DrawingTidbits.o TransportButton.o 
     13BUILTIN_CPP = $(PLUGIN_CPP:%.o=BUILTIN_%.o) 
    1714 
    18 cppobjects := $(NONSTD_CPP_PLUGIN_OBJ) $(NONSTD_CPP_BUILTIN_OBJ) 
    19 cppdependancies := $(cppobjects:%.o=.dep/%.dpp) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_CPP) $(BUILTIN_CPP) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cppdependancies): %.dpp: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(PLUGIN_BEOS): %.o: .dep/%.dpp 
    41 $(PLUGIN_BEOS): %.o: %.cpp 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(BUILTIN_BEOS): %-BUILTIN.o: .dep/%.dpp 
    45 $(BUILTIN_BEOS): %-BUILTIN.o: %.cpp 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/beos.so: $(PLUGIN_BEOS) 
     26 
     27../../lib/beos.so: $(PLUGIN_CPP) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_BEOS) 
    5329 
    54 ../../lib/beos.a: $(BUILTIN_BEOS
     30../../lib/beos.a: $(BUILTIN_CPP
    5531    ar r $@ $^ 
    5632 
  • plugins/darwin/Makefile

    r79a45f7 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_DARWIN = darwin.o 
    12 BUILTIN_DARWIN = $(PLUGIN_DARWIN:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_DARWIN) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_DARWIN) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = darwin.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/darwin.so: $(PLUGIN_DARWIN) 
     26 
     27../../lib/darwin.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_DARWIN) 
    5329 
    54 ../../lib/darwin.a: $(BUILTIN_DARWIN
     30../../lib/darwin.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/dsp/Makefile

    r5b51669 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_DSP = dsp.o aout_dsp.o 
    12 BUILTIN_DSP = $(PLUGIN_DSP:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_DSP) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_DSP) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = dsp.o aout_dsp.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/dsp.so: $(PLUGIN_DSP) 
     26 
     27../../lib/dsp.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)  
    5329 
    54 ../../lib/dsp.a: $(BUILTIN_DSP
     30../../lib/dsp.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/dummy/Makefile

    r5b51669 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_DUMMY = dummy.o aout_dummy.o vout_dummy.o intf_dummy.o 
    12 BUILTIN_DUMMY = $(PLUGIN_DUMMY:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_DUMMY) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_DUMMY) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = dummy.o aout_dummy.o vout_dummy.o intf_dummy.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/dummy.so: $(PLUGIN_DUMMY) 
     26 
     27../../lib/dummy.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)  
    5329 
    54 ../../lib/dummy.a: $(BUILTIN_DUMMY
     30../../lib/dummy.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/dvd/Makefile

    r5b51669 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_DVD = dvd.o input_dvd.o dvd_netlist.o dvd_ioctl.o dvd_ifo.o dvd_udf.o dvd_css.o 
    12 BUILTIN_DVD = $(PLUGIN_DVD:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 ALL_OBJ = $(PLUGIN_DVD) $(BUILTIN_DVD) 
     12PLUGIN_C = dvd.o input_dvd.o dvd_netlist.o dvd_ioctl.o dvd_ifo.o dvd_udf.o dvd_css.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1514 
    16 objects := $(ALL_OBJ) 
    17 cdependancies := $(objects:%.o=.dep/%.d) 
    18  
    19 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2016 
    2117# 
    2218# Virtual targets 
    2319# 
    24 all: 
    2520 
    26 clean: 
    27     rm -f $(ALL_OBJ) 
    28     rm -f *.o *.moc *.bak *.builtin 
    29     rm -rf .dep 
    30  
    31 FORCE: 
    32  
    33 $(cdependancies): %.d: FORCE 
    34     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    35  
    36 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    37  
    38 $(PLUGIN_DVD): %.o: .dep/%.d 
    39 $(PLUGIN_DVD): %.o: %.c 
    40     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    41  
    42 $(BUILTIN_DVD): %-BUILTIN.o: .dep/%.d 
    43 $(BUILTIN_DVD): %-BUILTIN.o: %.c 
    44     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4522 
    4623# 
    4724# Real targets 
    4825# 
    49 ../../lib/dvd.so: $(PLUGIN_DVD) 
     26 
     27../../lib/dvd.so: $(PLUGIN_C) 
    5028    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)  
    5129 
    52 ../../lib/dvd.a: $(BUILTIN_DVD
     30../../lib/dvd.a: $(BUILTIN_C
    5331    ar r $@ $^ 
    5432 
  • plugins/esd/Makefile

    r79a45f7 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_ESD = esd.o aout_esd.o 
    12 BUILTIN_ESD = $(PLUGIN_ESD:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_ESD) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_ESD) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = esd.o aout_esd.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/esd.so: $(PLUGIN_ESD) 
     26 
     27../../lib/esd.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_ESD) 
    5329 
    54 ../../lib/esd.a: $(BUILTIN_ESD
     30../../lib/esd.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/fb/Makefile

    r5b51669 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_FB = fb.o vout_fb.o 
    12 BUILTIN_FB = $(PLUGIN_FB:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_FB) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_FB) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = fb.o vout_fb.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/fb.so: $(PLUGIN_FB) 
     26 
     27../../lib/fb.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)  
    5329 
    54 ../../lib/fb.a: $(BUILTIN_FB
     30../../lib/fb.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/ggi/Makefile

    r5b51669 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
    11 PLUGIN_GGI = ggi.o vout_ggi.o 
    12 BUILTIN_GGI = $(PLUGIN_GGI:%.o=%-BUILTIN.o) 
     8
     9# Objects 
     10
    1311 
    14 STD_PLUGIN_OBJ = $(PLUGIN_GGI) 
    15 STD_BUILTIN_OBJ = $(BUILTIN_GGI) 
    16 ALL_OBJ = $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
     12PLUGIN_C = ggi.o vout_ggi.o 
     13BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o) 
    1714 
    18 objects := $(STD_PLUGIN_OBJ) $(STD_BUILTIN_OBJ) 
    19 cdependancies := $(objects:%.o=.dep/%.d) 
    20  
    21 export 
     15ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C) 
    2216 
    2317# 
    2418# Virtual targets 
    2519# 
    26 all: 
    2720 
    28 clean: 
    29     rm -f $(ALL_OBJ) 
    30     rm -f *.o *.moc *.bak *.builtin 
    31     rm -rf .dep 
    32  
    33 FORCE: 
    34  
    35 $(cdependancies): %.d: FORCE 
    36     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    37  
    38 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
    39  
    40 $(STD_PLUGIN_OBJ): %.o: .dep/%.d 
    41 $(STD_PLUGIN_OBJ): %.o: %.c 
    42     $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< 
    43  
    44 $(STD_BUILTIN_OBJ): %-BUILTIN.o: .dep/%.d 
    45 $(STD_BUILTIN_OBJ): %-BUILTIN.o: %.c 
    46     $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $< 
     21include ../../Makefile.common 
    4722 
    4823# 
    4924# Real targets 
    5025# 
    51 ../../lib/ggi.so: $(PLUGIN_GGI) 
     26 
     27../../lib/ggi.so: $(PLUGIN_C) 
    5228    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GGI) 
    5329 
    54 ../../lib/ggi.a: $(BUILTIN_GGI
     30../../lib/ggi.a: $(BUILTIN_C
    5531    ar r $@ $^ 
    5632 
  • plugins/glide/Makefile

    r5b51669 r6116299  
    44############################################################################### 
    55 
    6 include ../../Makefile.modules 
     6-include ../../Makefile.modules 
    77 
    8 ############################################################################### 
    9 # Objects and files 
    10 ############################################################################### 
     8
     9# Objects 
     10
     11 
    1112PLUGIN_GLIDE = glide.o vout_glide.o 
    12 BUILTIN_GLIDE = $(PLUGIN_GLIDE:%.o=%-BUILTIN.o) 
     13BUILTIN_GLIDE = $(PLUGIN_GLIDE:%.o=BUILTIN_%.o) 
    1314 
    1415ALL_OBJ = $(PLUGIN_GLIDE) $(BUILTIN_GLIDE) 
    15  
    16 objects := $(PLUGIN_GLIDE) $(BUILTIN_GLIDE) 
    17 cdependancies := $(objects:%.o=.dep/%.d) 
    18  
    19 export 
    2016 
    2117# 
    2218# Virtual targets 
    2319# 
    24 all: 
    2520 
    26 clean: 
    27     rm -f $(ALL_OBJ) 
    28     rm -f *.o *.moc *.bak *.builtin 
    29     rm -rf .dep 
    30  
    31 FORCE: 
    32  
    33 $(cdependancies): %.d: FORCE 
    34     @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@ 
    35  
    36 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile 
     21include ../../Makefile.common 
    3722 
    3823$(PLUGIN_GLIDE): %.o: .dep/%.d 
     
    4025    $(CC) $(CFLAGS) $(PCFLAGS) -I/usr/include/glide -c -o $@ $< 
    4126 
    42 $(BUILTIN_GLIDE): %-BUILTIN.o: .dep/%.d 
    43 $(BUILTIN_GLIDE): %-BUILTIN.o: %.c 
     27$(BUILTIN_GLIDE): BUILTIN_%.o: .dep/%.d 
     28$(BUILTIN_GLIDE): BUILTIN_%.o: %.c 
    4429    $(CC) $(CFLAGS) -DBUILTIN -I/usr/include/glide -c -o $@ $< 
    4530 
     
    4732# Real targets 
    4833# 
     34 
    4935../../lib/glide.so: $(PLUGIN_GLIDE) 
    5036    $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GLIDE) 
  • plugins/gnome/.cvsignore

    r02d21f7 r6116299  
    11*.bak 
     2.dep 
  • plugins/gnome/Makefile

    r79a45f7 r6116299  
    44############################################################################### 
    55 
    6