diff options
-rw-r--r-- | vst/Makefile | 424 | ||||
-rw-r--r-- | vst/Makefile.am | 9 | ||||
-rw-r--r-- | vst/Makefile.mingw32 | 47 |
3 files changed, 440 insertions, 40 deletions
diff --git a/vst/Makefile b/vst/Makefile index 5701259..3336718 100644 --- a/vst/Makefile +++ b/vst/Makefile @@ -1,44 +1,388 @@ -VST_BASE = vstsdk2.4 -VST_SRC_BASE = ${VST_BASE}/public.sdk/source/vst2.x/ -VST_SRC = \ - ${VST_SRC_BASE}/audioeffectx.cpp \ - ${VST_SRC_BASE}/audioeffect.cpp \ - ${VST_SRC_BASE}/vstplugmain.cpp - -DG_BASE = ../ -DG_SRC = \ - ${DG_BASE}/src/audiofile.cc \ - ${DG_BASE}/src/channel.cc \ - ${DG_BASE}/src/channelmixer.cc \ - ${DG_BASE}/src/configuration.cc \ - ${DG_BASE}/src/drumgizmo.cc \ - ${DG_BASE}/src/drumkit.cc \ - ${DG_BASE}/src/drumkitparser.cc \ - ${DG_BASE}/src/events.cc \ - ${DG_BASE}/src/instrument.cc \ - ${DG_BASE}/src/instrumentparser.cc \ - ${DG_BASE}/src/midimapparser.cc \ - ${DG_BASE}/src/midimapper.cc \ - ${DG_BASE}/src/mutex.cc \ - ${DG_BASE}/src/path.cc \ - ${DG_BASE}/src/sample.cc \ - ${DG_BASE}/src/saxparser.cc \ - ${DG_BASE}/src/velocity.cc -DG_FLAGS = -I../include -I../src - -EXPAT_BASE = expat -EXPAT_FLAGS = -I${EXPAT_BASE}/Source/lib -L${EXPAT_BASE}/Bin -lexpat - -SNDFILE_BASE = libsndfile -SNDFILE_FLAGS = -I${SNDFILE_BASE}\include -L${SNDFILE_BASE}/bin -lsndfile-1 -static - -SRC = \ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# vst/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +pkgdatadir = $(datadir)/drumgizmo +pkgincludedir = $(includedir)/drumgizmo +pkglibdir = $(libdir)/drumgizmo +pkglibexecdir = $(libexecdir)/drumgizmo +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = i686-pc-linux-gnu +host_triplet = i686-pc-linux-gnu +subdir = vst +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/deva/docs/c/drumgizmo/missing --run aclocal-1.11 +ALSA_CFLAGS = -I/usr/include/alsa +ALSA_LIBS = -lasound +AMTAR = ${SHELL} /home/deva/docs/c/drumgizmo/missing --run tar +AR = ar +AUTOCONF = ${SHELL} /home/deva/docs/c/drumgizmo/missing --run autoconf +AUTOHEADER = ${SHELL} /home/deva/docs/c/drumgizmo/missing --run autoheader +AUTOMAKE = ${SHELL} /home/deva/docs/c/drumgizmo/missing --run automake-1.11 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +EXPAT_CFLAGS = +EXPAT_LIBS = -lexpat +FGREP = /bin/grep -F +GREP = /bin/grep +INPUT_PLUGINS = midifile jackmidi dummy test +INPUT_PLUGIN_DIR = ${exec_prefix}/lib/drumgizmo/input +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +JACK_CFLAGS = +JACK_LIBS = -ljack -lpthread -lrt +LD = /usr/i686-pc-linux-gnu/bin/ld +LDFLAGS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LTLIBOBJS = +LV2_CFLAGS = +LV2_LIBS = +MAKEINFO = ${SHELL} /home/deva/docs/c/drumgizmo/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +NM = /usr/bin/nm -B +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OTOOL = +OTOOL64 = +OUTPUT_PLUGINS = dummy alsa wavfile +OUTPUT_PLUGIN_DIR = /output +PACKAGE = drumgizmo +PACKAGE_BUGREPORT = +PACKAGE_NAME = +PACKAGE_STRING = +PACKAGE_TARNAME = +PACKAGE_URL = +PACKAGE_VERSION = +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +PKG_CONFIG_LIBDIR = +PKG_CONFIG_PATH = /home/deva/lib/pkgconfig +PTHREAD_CFLAGS = +PTHREAD_LIBS = -lpthread +QT_CFLAGS = -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml +QT_LIBS = -L/usr/lib/qt4 -lQtGui -lQtXml -lQtCore +QT_MOC = moc +QT_RCC = rcc +QT_UIC = uic +RANLIB = ranlib +SED = /bin/sed +SET_MAKE = +SHELL = /bin/sh +SMF_CFLAGS = -I/home/deva/lib/libsmf/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +SMF_LIBS = -L/home/deva/lib/libsmf/lib -lsmf -lm -lglib-2.0 +SNDFILE_CFLAGS = +SNDFILE_LIBS = -lsndfile +STRIP = strip +VERSION = 0.1.0 +abs_builddir = /home/deva/docs/c/drumgizmo/vst +abs_srcdir = /home/deva/docs/c/drumgizmo/vst +abs_top_builddir = /home/deva/docs/c/drumgizmo +abs_top_srcdir = /home/deva/docs/c/drumgizmo +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_DUMPBIN = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = i686-pc-linux-gnu +build_alias = +build_cpu = i686 +build_os = linux-gnu +build_vendor = pc +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +dgplugindir = ${exec_prefix}/lib/drumgizmo +docdir = ${datarootdir}/doc/${PACKAGE} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = i686-pc-linux-gnu +host_alias = +host_cpu = i686 +host_os = linux-gnu +host_vendor = pc +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/deva/docs/c/drumgizmo/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/deva/docs/c/drumgizmo/install +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../ +top_builddir = .. +top_srcdir = .. +EXTRA_DIST = \ + Makefile.mingw32 \ + constants.h \ drumgizmo_vst.cc \ + drumgizmo_vst.h \ input_vst.cc \ - output_vst.cc + input_vst.h \ + output_vst.cc \ + output_vst.h + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu vst/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu vst/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am -all: - g++ -g -Wall -DWIN32 ${DG_FLAGS} ${EXPAT_FLAGS} ${SNDFILE_FLAGS} -I${VST_BASE} ${DG_SRC} ${VST_SRC} ${SRC} -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a -clean: - rm -f drumgizmo_vst.dll libdrumgizmo_vst.a
\ No newline at end of file +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/vst/Makefile.am b/vst/Makefile.am new file mode 100644 index 0000000..9a448a2 --- /dev/null +++ b/vst/Makefile.am @@ -0,0 +1,9 @@ +EXTRA_DIST = \ + Makefile.mingw32 \ + constants.h \ + drumgizmo_vst.cc \ + drumgizmo_vst.h \ + input_vst.cc \ + input_vst.h \ + output_vst.cc \ + output_vst.h
\ No newline at end of file diff --git a/vst/Makefile.mingw32 b/vst/Makefile.mingw32 new file mode 100644 index 0000000..31475eb --- /dev/null +++ b/vst/Makefile.mingw32 @@ -0,0 +1,47 @@ +ARCH=-DWIN32 +DLL=dll + +VST_BASE = vstsdk2.4 +VST_SRC_BASE = ${VST_BASE}/public.sdk/source/vst2.x/ +VST_SRC = \ + ${VST_SRC_BASE}/audioeffectx.cpp \ + ${VST_SRC_BASE}/audioeffect.cpp \ + ${VST_SRC_BASE}/vstplugmain.cpp + +DG_BASE = ../ +DG_SRC = \ + ${DG_BASE}/src/audiofile.cc \ + ${DG_BASE}/src/channel.cc \ + ${DG_BASE}/src/channelmixer.cc \ + ${DG_BASE}/src/configuration.cc \ + ${DG_BASE}/src/drumgizmo.cc \ + ${DG_BASE}/src/drumkit.cc \ + ${DG_BASE}/src/drumkitparser.cc \ + ${DG_BASE}/src/events.cc \ + ${DG_BASE}/src/instrument.cc \ + ${DG_BASE}/src/instrumentparser.cc \ + ${DG_BASE}/src/midimapparser.cc \ + ${DG_BASE}/src/midimapper.cc \ + ${DG_BASE}/src/mutex.cc \ + ${DG_BASE}/src/path.cc \ + ${DG_BASE}/src/sample.cc \ + ${DG_BASE}/src/saxparser.cc \ + ${DG_BASE}/src/velocity.cc +DG_FLAGS = -I../include -I../src + +EXPAT_BASE = expat +EXPAT_FLAGS = -I${EXPAT_BASE}/Source/lib -L${EXPAT_BASE}/Bin -lexpat + +SNDFILE_BASE = libsndfile +SNDFILE_FLAGS = -I${SNDFILE_BASE}\include -L${SNDFILE_BASE}/bin -lsndfile-1 -static + +SRC = \ + drumgizmo_vst.cc \ + input_vst.cc \ + output_vst.cc + +all: + g++ -g -Wall ${ARCH} ${DG_FLAGS} ${EXPAT_FLAGS} ${SNDFILE_FLAGS} -I${VST_BASE} ${DG_SRC} ${VST_SRC} ${SRC} -shared -o drumgizmo_vst.${DLL} -Wl,--out-implib,libdrumgizmo_vst.a + +clean: + rm -f drumgizmo_vst.dll libdrumgizmo_vst.a
\ No newline at end of file |