]> git.sesse.net Git - vlc/blobdiff - plugins/win32/Makefile
* ./plugins/win32/intfwin.bpr: we now build intfwin.so at the right place.
[vlc] / plugins / win32 / Makefile
index 869e19440bd703fe703ac1917e16cbbaa3c9af27..90baece5be0ac33e5ff75f935f82333f3d45f399 100644 (file)
@@ -1,2 +1,17 @@
-win32_SRC = win32.cpp
+#
+# Waveout module - the classic way to do things
+#
 waveout_SOURCES = waveout.c
+
+#
+# Borland C++ project
+# we override everything by setting intfwin_CUSTOM
+#
+intfwin_CUSTOM = yes
+BCBUILDER = "D:/Program Files/CBuilder5"
+
+../intfwin.so: Makefile
+       rm -f intfwin.mak
+       $(BCBUILDER)/Bin/bpr2mak intfwin.bpr -s | sed 's#^LIBPATH = .*#&;$$(RELEASELIBPATH)# ; s#^USERDEFINES = .*#& -DWIN32 -DPLUGIN -DMODULE_NAME_IS_intfwin -DMODULE_NAME=intfwin#' > intfwin.mak
+       $(BCBUILDER)/Bin/make -f intfwin.mak -b
+