Commit 460fa6b7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Actually build targets

parent a2aa6ae3
...@@ -21,12 +21,17 @@ dnl *********************************************************************** ...@@ -21,12 +21,17 @@ dnl ***********************************************************************
AC_COPYRIGHT([Copyright (C) 2004-2007 Remi Denis-Courmont]) AC_COPYRIGHT([Copyright (C) 2004-2007 Remi Denis-Courmont])
AC_INIT(libvlc-cil, 0.9.0, vlc-devel_no_bulk_mail@videolan.org) AC_INIT(libvlc-cil, 0.9.0, vlc-devel_no_bulk_mail@videolan.org)
AC_PREREQ(2.59c) AC_PREREQ(2.50)
AC_CONFIG_SRCDIR(configure.ac) AC_CONFIG_SRCDIR(configure.ac)
AC_CONFIG_AUX_DIR(admin) AC_CONFIG_AUX_DIR(admin)
AC_CONFIG_MACRO_DIR(m4) AC_CONFIG_MACRO_DIR(m4)
AC_ARG_VAR([CSC], [C sharp compiler command])
AC_ARG_VAR([CSFLAGS], [C sharp compiler flags])
AC_PATH_PROG([CSC], [gmcs csc], [false])
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile m4/Makefile src/Makefile tests/Makefile]) AC_CONFIG_FILES([Makefile m4/Makefile src/Makefile tests/Makefile])
......
EXTRA_DIST = $(SOURCES_dll)
MOSTLYCLEANFILES = $(pkglib_SCRIPTS)
pkglib_SCRIPTS = VideoLAN.LibVLC.dll
SOURCES_dll = \
ustring.cs \
exception.cs \
marshal.cs \
libvlc.cs
VideoLAN.LibVLC.dll: $(SOURCES_dll)
$(CSC) -target:library -out:$@ $(CSFLAGS) $^
EXTRA_DIST = $(SOURCES_testvlc)
MOSTLYCLEANFILES = $(check_SCRIPTS)
check_SCRIPTS = testvlc.exe
SOURCES_testvlc = testvlc.cs
LDADD_testvlc = -lib:../src -r:VideoLAN.LibVLC.dll
testvlc.exe: $(SOURCES_testvlc)
$(CSC) -target:exe -out:$@ $(CSFLAGS) $^ $(LDADD_testvlc)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment