Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c085b215
Commit
c085b215
authored
Jul 27, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Added a make uninstall rule.
parent
4945d2bb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
10 deletions
+41
-10
ChangeLog
ChangeLog
+1
-0
INSTALL
INSTALL
+3
-3
INSTALL-win32.txt
INSTALL-win32.txt
+1
-1
INSTALL.libdvdcss
INSTALL.libdvdcss
+1
-1
Makefile
Makefile
+28
-5
extras/libdvdcss/Makefile
extras/libdvdcss/Makefile
+7
-0
No files found.
ChangeLog
View file @
c085b215
...
...
@@ -8,6 +8,7 @@ HEAD
0.2.81
Fri
,
27
Jul
2001
03
:
30
:
44
+
0200
*
Added
a
make
uninstall
rule
.
*
Changed
libdvdcss
API
to
force
binary
incompatibility
.
Yeah
,
this
is
evil
,
but
if
we
don
't do it now we'
ll
have
to
do
it
when
more
people
are
using
it
.
...
...
INSTALL
View file @
c085b215
...
...
@@ -12,20 +12,20 @@ See `./configure --help' for more information.
Here is a shortcut to copy-paste for a complete build:
make distclean
&&
./configure --prefix=/usr --enable-gnome \
make distclean
;
./configure --prefix=/usr --enable-gnome \
--enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
--enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa
If you intend to debug stuff, you may want to disable optimizations:
make distclean
&&
./configure --prefix=/usr --enable-gnome \
make distclean
;
./configure --prefix=/usr --enable-gnome \
--enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
--enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
--enable-debug
It is also possible to cross-compile for the Win32 platform using mingw32:
make distclean
&&
CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
make distclean
;
CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \
--target=i386-mingw32msvc --build=i386-linux --disable-dsp \
--disable-gtk --disable-x11 --disable-xvideo
...
...
INSTALL-win32.txt
View file @
c085b215
...
...
@@ -50,7 +50,7 @@ See `./configure --help' for more information.
To cross-compile for the Win32 platform using mingw32:
make distclean
&&
CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
make distclean
;
CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
RANLIB=i586-mingw32msvc-ranlib WINDRES=i586-mingw32msvc-windres \
./configure --host=i386-mingw32msvc \
--target=i386-mingw32msvc --build=i386-linux --disable-dsp \
...
...
INSTALL.libdvdcss
View file @
c085b215
...
...
@@ -12,7 +12,7 @@ See `./configure --help' for more information.
It is also possible to cross-compile for the Win32 platform using mingw32:
make distclean &&
CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \
--target=i386-mingw32msvc --build=i386-linux
...
...
Makefile
View file @
c085b215
...
...
@@ -2,7 +2,7 @@
# vlc (VideoLAN Client) main Makefile - (c)1998 VideoLAN
###############################################################################
-
include
Makefile.opts
include
Makefile.opts
###############################################################################
# Objects and files
...
...
@@ -112,7 +112,7 @@ plugins-clean:
vlc-clean
:
rm
-f
$(C_OBJ)
$(CPP_OBJ)
rm
-f
vlc gnome-vlc gvlc kvlc qvlc
rm
-f
vlc gnome-vlc gvlc kvlc qvlc
vlc.exe
rm
-Rf
vlc.app
distclean
:
clean
...
...
@@ -127,6 +127,8 @@ distclean: clean
install
:
libdvdcss-install vlc-install plugins-install
uninstall
:
libdvdcss-uninstall vlc-uninstall plugins-uninstall
vlc-install
:
mkdir
-p
$(DESTDIR)$(bindir)
$(INSTALL)
vlc
$(DESTDIR)$(bindir)
...
...
@@ -138,15 +140,32 @@ endif
$(INSTALL)
-m
644 share/
*
.png
$(DESTDIR)$(datadir)
/videolan
$(INSTALL)
-m
644 share/
*
.xpm
$(DESTDIR)$(datadir)
/videolan
vlc-uninstall
:
rm
vlc
$(DESTDIR)$(bindir)
/vlc
ifneq
(,$(ALIASES))
for
alias
in
$(ALIASES)
;
do if
test
$$
alias
;
then
rm
-f
$(DESTDIR)$(bindir)
/
$$
alias
;
fi
;
done
endif
rm
-f
$(DESTDIR)$(datadir)
/videolan/
*
.psf
rm
-f
$(DESTDIR)$(datadir)
/videolan/
*
.png
rm
-f
$(DESTDIR)$(datadir)
/videolan/
*
.xpm
plugins-install
:
mkdir
-p
$(DESTDIR)$(libdir)
/videolan/vlc
ifneq
(,$(PLUGINS))
$(INSTALL)
-m
644
$
(
PLUGINS:%
=
plugins/%.so
)
$(DESTDIR)$(libdir)
/videolan/vlc
endif
plugins-uninstall
:
ifneq
(,$(PLUGINS))
rm
-f
$(DESTDIR)$(libdir)
/videolan/vlc/
*
.so
endif
libdvdcss-install
:
cd
extras/libdvdcss
&&
$(MAKE)
install
libdvdcss-uninstall
:
cd
extras/libdvdcss
&&
$(MAKE)
uninstall
show
:
@
echo
CC:
$(CC)
@
echo
CFLAGS:
$(CFLAGS)
...
...
@@ -185,7 +204,7 @@ snapshot: clean Makefile.opts
done
# copy misc files
cp
vlc.spec AUTHORS COPYING ChangeLog INSTALL INSTALL.libdvdcss
\
README TODO todo.pl
\
INSTALL-win32.txt
README TODO todo.pl
\
Makefile.opts.in Makefile.dep Makefile.modules
\
configure configure.in install-sh config.sub config.guess
\
/tmp/vlc-
${PROGRAM_VERSION}
/
...
...
@@ -194,8 +213,10 @@ snapshot: clean Makefile.opts
gvlc.desktop gnome-vlc.desktop vlc.menu
;
do
\
cp
debian/
$$
file /tmp/vlc-
${PROGRAM_VERSION}
/debian/
;
\
done
for
file
in
default8x16.psf default8x9.psf vlc_beos.rsrc vlc.icns
;
do
\
cp
share/
$$
file /tmp/vlc-
${PROGRAM_VERSION}
/share/
;
done
for
file
in
default8x16.psf default8x9.psf vlc_beos.rsrc vlc.icns
\
gvlc_win32.ico vlc_win32_rc.rc
;
do
\
cp
share/
$$
file /tmp/vlc-
${PROGRAM_VERSION}
/share/
;
\
done
for
icon
in
vlc gvlc qvlc gnome-vlc kvlc
;
do
\
cp
share/
$$
icon.xpm share/
$$
icon.png
\
/tmp/vlc-
${PROGRAM_VERSION}
/share/
;
done
...
...
@@ -224,9 +245,11 @@ libdvdcss-snapshot: clean Makefile.opts
do
cp
$$
i /tmp/libdvdcss-
${LIBDVDCSS_VERSION}
/
$$
i
;
done
# Makefiles
sed
-e
's#^install:#install-unused:#'
\
-e
's#^uninstall:#uninstall-unused:#'
\
-e
's#^clean:#clean-unused:#'
\
-e
's#^all:.*#all: libdvdcss#'
\
-e
's#^libdvdcss-install:#install:#'
\
-e
's#^libdvdcss-uninstall:#uninstall:#'
\
-e
's#^libdvdcss-clean:#clean:#'
\
< Makefile
>
/tmp/libdvdcss-
${LIBDVDCSS_VERSION}
/Makefile
# extra files
...
...
extras/libdvdcss/Makefile
View file @
c085b215
...
...
@@ -41,3 +41,10 @@ install:
rm
-f
$(DESTDIR)$(libdir)
/libdvdcss.so
&&
ln
-s
libdvdcss.so.
$(LIBDVDCSS_VERSION)
$(DESTDIR)$(libdir)
/libdvdcss.so
rm
-f
$(DESTDIR)$(libdir)
/libdvdcss.so.
$(LIBDVDCSS_MAJOR)
&&
ln
-s
libdvdcss.so.
$(LIBDVDCSS_VERSION)
$(DESTDIR)$(libdir)
/libdvdcss.so.
$(LIBDVDCSS_MAJOR)
uninstall
:
rm
-f
$(DESTDIR)$(includedir)
/videolan/dvdcss.h
rm
-f
$(DESTDIR)$(libdir)
/libdvdcss.a
rm
-f
$(DESTDIR)$(libdir)
/libdvdcss.so
rm
-f
$(DESTDIR)$(libdir)
/libdvdcss.so.
$(LIBDVDCSS_MAJOR)
rm
-f
$(DESTDIR)$(libdir)
/libdvdcss.so.
$(LIBDVDCSS_VERSION)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment