Changeset c085b215f4527c99b144a3683560901f5da8f1f8

Show
Ignore:
Timestamp:
07/27/01 18:14:58 (7 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 996250498 +0000
git-parent:

[4945d2bb3621b899aca49359c435d0dcfcc2ec1b]

git-author:
Sam Hocevar <sam@videolan.org> 996250498 +0000
Message:
  • Added a make uninstall rule.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r4945d2b rc085b21  
    99Fri, 27 Jul 2001 03:30:44 +0200 
    1010 
     11  * Added a make uninstall rule. 
    1112  * Changed libdvdcss API to force binary incompatibility. Yeah, this is 
    1213    evil, but if we don't do it now we'll have to do it when more people 
  • INSTALL

    r945f294 rc085b21  
    1313Here is a shortcut to copy-paste for a complete build: 
    1414 
    15    make distclean && ./configure --prefix=/usr --enable-gnome \ 
     15   make distclean ; ./configure --prefix=/usr --enable-gnome \ 
    1616      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ 
    1717      --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa 
     
    1919If you intend to debug stuff, you may want to disable optimizations: 
    2020 
    21    make distclean && ./configure --prefix=/usr --enable-gnome \ 
     21   make distclean ; ./configure --prefix=/usr --enable-gnome \ 
    2222      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ 
    2323      --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \ 
     
    2626It is also possible to cross-compile for the Win32 platform using mingw32: 
    2727 
    28    make distclean && CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ 
     28   make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ 
    2929     RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \ 
    3030     --target=i386-mingw32msvc --build=i386-linux --disable-dsp \ 
  • INSTALL-win32.txt

    rf406134 rc085b21  
    5151To cross-compile for the Win32 platform using mingw32: 
    5252 
    53    make distclean && CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ 
     53   make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ 
    5454     RANLIB=i586-mingw32msvc-ranlib WINDRES=i586-mingw32msvc-windres \ 
    5555     ./configure --host=i386-mingw32msvc \ 
  • INSTALL.libdvdcss

    re7345b8 rc085b21  
    1313It is also possible to cross-compile for the Win32 platform using mingw32: 
    1414 
    15    make distclean && CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ 
     15   CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ 
    1616     RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \ 
    1717     --target=i386-mingw32msvc --build=i386-linux 
  • Makefile

    r76fcb7f rc085b21  
    33############################################################################### 
    44 
    5 -include Makefile.opts 
     5include Makefile.opts 
    66 
    77############################################################################### 
     
    113113vlc-clean: 
    114114    rm -f $(C_OBJ) $(CPP_OBJ) 
    115     rm -f vlc gnome-vlc gvlc kvlc qvlc 
     115    rm -f vlc gnome-vlc gvlc kvlc qvlc vlc.exe 
    116116    rm -Rf vlc.app 
    117117 
     
    128128install: libdvdcss-install vlc-install plugins-install 
    129129 
     130uninstall: libdvdcss-uninstall vlc-uninstall plugins-uninstall 
     131 
    130132vlc-install: 
    131133    mkdir -p $(DESTDIR)$(bindir) 
     
    139141    $(INSTALL) -m 644 share/*.xpm $(DESTDIR)$(datadir)/videolan 
    140142 
     143vlc-uninstall: 
     144    rm vlc $(DESTDIR)$(bindir)/vlc 
     145ifneq (,$(ALIASES)) 
     146    for alias in $(ALIASES) ; do if test $$alias ; then rm -f $(DESTDIR)$(bindir)/$$alias ; fi ; done 
     147endif 
     148    rm -f $(DESTDIR)$(datadir)/videolan/*.psf 
     149    rm -f $(DESTDIR)$(datadir)/videolan/*.png 
     150    rm -f $(DESTDIR)$(datadir)/videolan/*.xpm 
     151 
    141152plugins-install: 
    142153    mkdir -p $(DESTDIR)$(libdir)/videolan/vlc 
     
    145156endif 
    146157 
     158plugins-uninstall: 
     159ifneq (,$(PLUGINS)) 
     160    rm -f $(DESTDIR)$(libdir)/videolan/vlc/*.so 
     161endif 
     162 
    147163libdvdcss-install: 
    148164    cd extras/libdvdcss && $(MAKE) install 
     165 
     166libdvdcss-uninstall: 
     167    cd extras/libdvdcss && $(MAKE) uninstall 
    149168 
    150169show: 
     
    186205    # copy misc files 
    187206    cp vlc.spec AUTHORS COPYING ChangeLog INSTALL INSTALL.libdvdcss \ 
    188         README TODO todo.pl \ 
     207        INSTALL-win32.txt README TODO todo.pl \ 
    189208        Makefile.opts.in Makefile.dep Makefile.modules \ 
    190209        configure configure.in install-sh config.sub config.guess \ 
     
    195214            cp debian/$$file /tmp/vlc-${PROGRAM_VERSION}/debian/ ; \ 
    196215        done 
    197     for file in default8x16.psf default8x9.psf vlc_beos.rsrc vlc.icns ; do \ 
    198         cp share/$$file /tmp/vlc-${PROGRAM_VERSION}/share/ ; done 
     216    for file in default8x16.psf default8x9.psf vlc_beos.rsrc vlc.icns \ 
     217        gvlc_win32.ico vlc_win32_rc.rc ; do \ 
     218            cp share/$$file /tmp/vlc-${PROGRAM_VERSION}/share/ ; \ 
     219        done 
    199220    for icon in vlc gvlc qvlc gnome-vlc kvlc ; do \ 
    200221        cp share/$$icon.xpm share/$$icon.png \ 
     
    225246    # Makefiles 
    226247    sed -e 's#^install:#install-unused:#' \ 
     248        -e 's#^uninstall:#uninstall-unused:#' \ 
    227249        -e 's#^clean:#clean-unused:#' \ 
    228250        -e 's#^all:.*#all: libdvdcss#' \ 
    229251        -e 's#^libdvdcss-install:#install:#' \ 
     252        -e 's#^libdvdcss-uninstall:#uninstall:#' \ 
    230253        -e 's#^libdvdcss-clean:#clean:#' \ 
    231254        < Makefile > /tmp/libdvdcss-${LIBDVDCSS_VERSION}/Makefile 
  • extras/libdvdcss/Makefile

    r76fcb7f rc085b21  
    4242    rm -f $(DESTDIR)$(libdir)/libdvdcss.so.$(LIBDVDCSS_MAJOR) && ln -s libdvdcss.so.$(LIBDVDCSS_VERSION) $(DESTDIR)$(libdir)/libdvdcss.so.$(LIBDVDCSS_MAJOR) 
    4343 
     44uninstall: 
     45    rm -f $(DESTDIR)$(includedir)/videolan/dvdcss.h 
     46    rm -f $(DESTDIR)$(libdir)/libdvdcss.a 
     47    rm -f $(DESTDIR)$(libdir)/libdvdcss.so 
     48    rm -f $(DESTDIR)$(libdir)/libdvdcss.so.$(LIBDVDCSS_MAJOR) 
     49    rm -f $(DESTDIR)$(libdir)/libdvdcss.so.$(LIBDVDCSS_VERSION) 
     50