]> git.sesse.net Git - vlc/blobdiff - INSTALL.win32
* ./src/interface/main.c: we no longer segfault if argc == 0.
[vlc] / INSTALL.win32
index f9be1d31cdbf98634f503ee254c5d43479684426..66552ad34b9263a0dafbbdb0636e0b6e7640f8a2 100644 (file)
@@ -123,29 +123,18 @@ Building Win32 interface with bcc32 (Borland's compiler)
 (This stage is only necessary if you want to use the Win32 native interface.
  If you are happy with the GTK interface, then you can skip this section)
 
-[Steps 2 and 3 are temporary]
-
 1) Compile vlc as usual.
-include\defs.h should be generated.
-
-2) Edit include\defs.h, and add the following lines if necessary:
-#define WIN32
-#define MODULE_NAME win32
-#define MODULE_NAME_IS win32
-#define PLUGIN
-#define HAVE_DYNAMIC_PLUGINS
-
-3) Still in defs.h, comment the following line to avoid compilation warnings:
-#define PACKAGE "vlc"
 
-4) From the plugin\win32 directory, use Borland C++ command-line tools
+2) From the plugin\win32 directory, use Borland C++ command-line tools
 as follows:
-bpr2mak intfwin.bpr    // Create a makefile from intfwin.bpr
+bpr2mak intfwin.bpr -s \
+  | sed 's#^LIBPATH = .*#&;$$(RELEASELIBPATH)# ; s#^USERDEFINES = .*#& -DWIN32 -D__PLUGIN__ -DMODULE_NAME_IS_intfwin -DMODULE_NAME=intfwin#' \
+  > intfwin.mak                // Create a makefile from intfwin.bpr
 make -fintfwin                 // It's Borland's make utility !
 
-5) This should create a intfwin.so
+3) This should create a intfwin.so
 You can remove any other generated file.
 
 
 Well done, now you're ready to use vlc!
-=======================================
\ No newline at end of file
+=======================================