summaryrefslogtreecommitdiff
path: root/vst/Makefile.mingw32
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-17 14:55:48 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-17 14:55:48 +0100
commitd369bbe7164dd35e75a7bad9e7b5497512bb5fe9 (patch)
treee5077f726ffe80016f7609af4a84f548b06b6546 /vst/Makefile.mingw32
parent0f981dab5d477e82abe4b01f6477193707997f7d (diff)
Added PNG loadin support through a new Image class.
Diffstat (limited to 'vst/Makefile.mingw32')
-rw-r--r--vst/Makefile.mingw329
1 files changed, 7 insertions, 2 deletions
diff --git a/vst/Makefile.mingw32 b/vst/Makefile.mingw32
index 4e4866c..a2e06e9 100644
--- a/vst/Makefile.mingw32
+++ b/vst/Makefile.mingw32
@@ -52,7 +52,8 @@ GUI_SRC = \
$(DG_BASE)/plugingui/listbox.cc \
$(DG_BASE)/plugingui/knob.cc \
$(DG_BASE)/plugingui/filebrowser.cc \
- $(DG_BASE)/plugingui/combobox.cc
+ $(DG_BASE)/plugingui/combobox.cc \
+ $(DG_BASE)/plugingui/image.cc
GUI_CFLAGS=-I../plugingui -DUSE_THREAD
GUI_LIBS=-lgdi32 -lsetupapi -lws2_32
@@ -78,6 +79,10 @@ SNDFILE_BASE=${MSYS}
SNDFILE_CFLAGS=-I${SNDFILE_BASE}/include
SNDFILE_LIBS=-L${SNDFILE_BASE}/lib -lsndfile
+PNG_BASE=${MSYS}
+PNG_CFLAGS=-I${SNDFILE_BASE}/include
+PNG_LIBS=-L${SNDFILE_BASE}/lib -lpng -lz
+
SRC = \
drumgizmo_vst.cc \
input_vst.cc \
@@ -117,7 +122,7 @@ SRC = \
all:
gcc $(DBG_CFLAGS) $(top_srcdir)/hugin/hugin.c -c
gcc $(DBG_CFLAGS) $(top_srcdir)/hugin/hugin_syslog.c -c
- g++ -static -static-libgcc -O2 -g -Wall -DWIN32 $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) $(EXPAT_CFLAGS) $(EXPAT_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a
+ g++ -static -static-libgcc -O2 -g -Wall -DWIN32 $(DBG_CFLAGS) $(PNG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) $(EXPAT_CFLAGS) $(EXPAT_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) $(PNG_LIBS) -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a
clean:
del -f drumgizmo_vst.dll libdrumgizmo_vst.a