migrated build-system to CMAKE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1352 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
24
plugins/CMakeLists.txt
Normal file
24
plugins/CMakeLists.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
ADD_SUBDIRECTORY(audio_file_processor)
|
||||
ADD_SUBDIRECTORY(bass_booster)
|
||||
ADD_SUBDIRECTORY(bit_invader)
|
||||
ADD_SUBDIRECTORY(flp_import)
|
||||
ADD_SUBDIRECTORY(kicker)
|
||||
ADD_SUBDIRECTORY(ladspa_browser)
|
||||
ADD_SUBDIRECTORY(ladspa_effect)
|
||||
ADD_SUBDIRECTORY(lb302)
|
||||
ADD_SUBDIRECTORY(lb303)
|
||||
ADD_SUBDIRECTORY(live_tool)
|
||||
ADD_SUBDIRECTORY(midi_import)
|
||||
ADD_SUBDIRECTORY(organic)
|
||||
ADD_SUBDIRECTORY(patman)
|
||||
ADD_SUBDIRECTORY(peak_controller_effect)
|
||||
ADD_SUBDIRECTORY(sf2_player)
|
||||
ADD_SUBDIRECTORY(spectrum_analyzer)
|
||||
ADD_SUBDIRECTORY(stereo_enhancer)
|
||||
ADD_SUBDIRECTORY(stereo_matrix)
|
||||
ADD_SUBDIRECTORY(stk)
|
||||
ADD_SUBDIRECTORY(triple_oscillator)
|
||||
ADD_SUBDIRECTORY(vestige)
|
||||
ADD_SUBDIRECTORY(vst_base)
|
||||
ADD_SUBDIRECTORY(vst_effect)
|
||||
ADD_SUBDIRECTORY(vibed)
|
||||
@@ -1,40 +0,0 @@
|
||||
if VST_SUPPORT
|
||||
VST_DIRS=vst_base vst_effect vestige
|
||||
endif
|
||||
|
||||
if STK_SUPPORT
|
||||
STK_DIR=stk
|
||||
endif
|
||||
|
||||
if FLUIDSYNTH_SUPPORT
|
||||
SF2PLAYER_DIR=sf2_player
|
||||
endif
|
||||
|
||||
if HAVE_LIBFFTW3
|
||||
SPECTRUMANALYZER_DIR=spectrum_analyzer
|
||||
endif
|
||||
|
||||
SUBDIRS = \
|
||||
audio_file_processor \
|
||||
bass_booster \
|
||||
bit_invader \
|
||||
flp_import \
|
||||
kicker \
|
||||
ladspa_browser \
|
||||
ladspa_effect \
|
||||
lb303 \
|
||||
live_tool \
|
||||
midi_import \
|
||||
organic \
|
||||
patman \
|
||||
peak_controller_effect \
|
||||
$(SF2PLAYER_DIR) \
|
||||
$(SINGERBOT_DIR) \
|
||||
$(SPECTRUMANALYZER_DIR) \
|
||||
stereo_enhancer \
|
||||
stereo_matrix \
|
||||
$(STK_DIR) \
|
||||
triple_oscillator \
|
||||
vibed \
|
||||
$(VST_DIRS) \
|
||||
$(EXTRA_PLUGINS)
|
||||
3
plugins/audio_file_processor/CMakeLists.txt
Normal file
3
plugins/audio_file_processor/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(audiofileprocessor audio_file_processor.cpp audio_file_processor.h MOCFILES audio_file_processor.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = audiofileprocessor
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./audio_file_processor.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD)
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
$(STRIP) $<
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libaudiofileprocessor.la
|
||||
|
||||
libaudiofileprocessor_la_SOURCES = audio_file_processor.cpp audio_file_processor.h
|
||||
|
||||
$(libaudiofileprocessor_la_SOURCES): ./embedded_resources.h
|
||||
@@ -614,5 +614,5 @@ plugin * PLUGIN_EXPORT lmms_plugin_main( model *, void * _data )
|
||||
}
|
||||
|
||||
|
||||
#include "audio_file_processor.moc"
|
||||
#include "moc_audio_file_processor.cxx"
|
||||
|
||||
|
||||
3
plugins/bass_booster/CMakeLists.txt
Normal file
3
plugins/bass_booster/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(bassbooster bass_booster.cpp bassbooster_controls.cpp bassbooster_control_dialog.cpp MOCFILES bassbooster_controls.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,53 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = bassbooster
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./bassbooster_controls.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= libbassbooster.la
|
||||
|
||||
libbassbooster_la_SOURCES = bass_booster.cpp \
|
||||
bass_booster.h \
|
||||
bassbooster_controls.cpp \
|
||||
bassbooster_controls.h \
|
||||
bassbooster_control_dialog.cpp \
|
||||
bassbooster_control_dialog.h
|
||||
|
||||
$(libbassbooster_la_SOURCES): ./embedded_resources.h
|
||||
@@ -103,5 +103,5 @@ void bassBoosterControls::saveSettings( QDomDocument & _doc,
|
||||
|
||||
|
||||
|
||||
#include "bassbooster_controls.moc"
|
||||
#include "moc_bassbooster_controls.cxx"
|
||||
|
||||
|
||||
3
plugins/bit_invader/CMakeLists.txt
Normal file
3
plugins/bit_invader/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(bitinvader bit_invader.cpp bit_invader.h MOCFILES bit_invader.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = bitinvader
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./bit_invader.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libbitinvader.la
|
||||
|
||||
libbitinvader_la_SOURCES = bit_invader.cpp bit_invader.h
|
||||
|
||||
$(libbitinvader_la_SOURCES): ./embedded_resources.h
|
||||
@@ -561,4 +561,4 @@ plugin * PLUGIN_EXPORT lmms_plugin_main( model *, void * _data )
|
||||
|
||||
|
||||
|
||||
#include "bit_invader.moc"
|
||||
#include "moc_bit_invader.cxx"
|
||||
|
||||
5
plugins/flp_import/CMakeLists.txt
Normal file
5
plugins/flp_import/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
INCLUDE_DIRECTORIES(unrtf)
|
||||
|
||||
BUILD_PLUGIN(flpimport flp_import.cpp flp_import.h MOCFILES EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,29 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = flpimport
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I. -I./unrtf
|
||||
|
||||
EXTRA_DIST = $(wildcard unrtf/*.c unrtf/*.h)
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(DLL)
|
||||
|
||||
pkglib_LTLIBRARIES= libflpimport.la
|
||||
|
||||
libflpimport_la_SOURCES = flp_import.cpp flp_import.h
|
||||
@@ -35,19 +35,19 @@
|
||||
* 31 Oct 07, jasp00@users.sourceforge.net: replaced deprecated conversions
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
@@ -106,10 +106,10 @@ attr_express_begin (int attr, const char* param) {
|
||||
switch(attr)
|
||||
{
|
||||
case ATTR_BOLD:
|
||||
outstring+=QString().sprintf(op->bold_begin);
|
||||
outstring+=QString("%1").arg(op->bold_begin);
|
||||
break;
|
||||
case ATTR_ITALIC:
|
||||
outstring+=QString().sprintf(op->italic_begin);
|
||||
outstring+=QString("%1").arg(op->italic_begin);
|
||||
break;
|
||||
|
||||
/* Various underlines, they all resolve to HTML's <u> */
|
||||
@@ -121,11 +121,11 @@ attr_express_begin (int attr, const char* param) {
|
||||
case ATTR_2DOT_DASH_UL:
|
||||
case ATTR_WORD_UL:
|
||||
case ATTR_UNDERLINE:
|
||||
outstring+=QString().sprintf(op->underline_begin);
|
||||
outstring+=QString("%1").arg(op->underline_begin);
|
||||
break;
|
||||
|
||||
case ATTR_DOUBLE_UL:
|
||||
outstring+=QString().sprintf(op->dbl_underline_begin);
|
||||
outstring+=QString("%1").arg(op->dbl_underline_begin);
|
||||
break;
|
||||
|
||||
case ATTR_FONTSIZE:
|
||||
@@ -133,48 +133,48 @@ attr_express_begin (int attr, const char* param) {
|
||||
break;
|
||||
|
||||
case ATTR_FONTFACE:
|
||||
outstring+=QString().sprintf(op->font_begin,param);
|
||||
outstring+=QString("%1").arg(op->font_begin,param);
|
||||
break;
|
||||
|
||||
case ATTR_FOREGROUND:
|
||||
outstring+=QString().sprintf(op->foreground_begin, param);
|
||||
outstring+=QString("%1").arg(op->foreground_begin, param);
|
||||
break;
|
||||
|
||||
case ATTR_BACKGROUND:
|
||||
if (!simple_mode)
|
||||
outstring+=QString().sprintf(op->foreground_begin,param);
|
||||
outstring+=QString("%1").arg(op->foreground_begin,param);
|
||||
break;
|
||||
|
||||
case ATTR_SUPER:
|
||||
outstring+=QString().sprintf(op->superscript_begin);
|
||||
outstring+=QString("%1").arg(op->superscript_begin);
|
||||
break;
|
||||
case ATTR_SUB:
|
||||
outstring+=QString().sprintf(op->subscript_begin);
|
||||
outstring+=QString("%1").arg(op->subscript_begin);
|
||||
break;
|
||||
|
||||
case ATTR_STRIKE:
|
||||
outstring+=QString().sprintf(op->strikethru_begin);
|
||||
outstring+=QString("%1").arg(op->strikethru_begin);
|
||||
break;
|
||||
|
||||
case ATTR_DBL_STRIKE:
|
||||
outstring+=QString().sprintf(op->dbl_strikethru_begin);
|
||||
outstring+=QString("%1").arg(op->dbl_strikethru_begin);
|
||||
break;
|
||||
|
||||
case ATTR_EXPAND:
|
||||
outstring+=QString().sprintf(op->expand_begin, param);
|
||||
outstring+=QString("%1").arg(op->expand_begin, param);
|
||||
break;
|
||||
|
||||
case ATTR_OUTLINE:
|
||||
outstring+=QString().sprintf(op->outline_begin);
|
||||
outstring+=QString("%1").arg(op->outline_begin);
|
||||
break;
|
||||
case ATTR_SHADOW:
|
||||
outstring+=QString().sprintf(op->shadow_begin);
|
||||
outstring+=QString("%1").arg(op->shadow_begin);
|
||||
break;
|
||||
case ATTR_EMBOSS:
|
||||
outstring+=QString().sprintf(op->emboss_begin);
|
||||
outstring+=QString("%1").arg(op->emboss_begin);
|
||||
break;
|
||||
case ATTR_ENGRAVE:
|
||||
outstring+=QString().sprintf(op->engrave_begin);
|
||||
outstring+=QString("%1").arg(op->engrave_begin);
|
||||
break;
|
||||
|
||||
case ATTR_CAPS:
|
||||
@@ -187,7 +187,7 @@ attr_express_begin (int attr, const char* param) {
|
||||
simulate_smallcaps = TRUE;
|
||||
else {
|
||||
if (op->small_caps_begin)
|
||||
outstring+=QString().sprintf(op->small_caps_begin);
|
||||
outstring+=QString("%1").arg(op->small_caps_begin);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -207,10 +207,10 @@ attr_express_end (int attr, char *param)
|
||||
switch(attr)
|
||||
{
|
||||
case ATTR_BOLD:
|
||||
outstring+=QString().sprintf(op->bold_end);
|
||||
outstring+=QString("%1").arg(op->bold_end);
|
||||
break;
|
||||
case ATTR_ITALIC:
|
||||
outstring+=QString().sprintf(op->italic_end);
|
||||
outstring+=QString("%1").arg(op->italic_end);
|
||||
break;
|
||||
|
||||
/* Various underlines, they all resolve to HTML's </u> */
|
||||
@@ -222,11 +222,11 @@ attr_express_end (int attr, char *param)
|
||||
case ATTR_2DOT_DASH_UL:
|
||||
case ATTR_WORD_UL:
|
||||
case ATTR_UNDERLINE:
|
||||
outstring+=QString().sprintf(op->underline_end);
|
||||
outstring+=QString("%1").arg(op->underline_end);
|
||||
break;
|
||||
|
||||
case ATTR_DOUBLE_UL:
|
||||
outstring+=QString().sprintf(op->dbl_underline_end);
|
||||
outstring+=QString("%1").arg(op->dbl_underline_end);
|
||||
break;
|
||||
|
||||
case ATTR_FONTSIZE:
|
||||
@@ -234,47 +234,47 @@ attr_express_end (int attr, char *param)
|
||||
break;
|
||||
|
||||
case ATTR_FONTFACE:
|
||||
outstring+=QString().sprintf(op->font_end);
|
||||
outstring+=QString("%1").arg(op->font_end);
|
||||
break;
|
||||
|
||||
case ATTR_FOREGROUND:
|
||||
outstring+=QString().sprintf(op->foreground_end);
|
||||
outstring+=QString("%1").arg(op->foreground_end);
|
||||
break;
|
||||
case ATTR_BACKGROUND:
|
||||
if (!simple_mode)
|
||||
outstring+=QString().sprintf(op->background_end);
|
||||
outstring+=QString("%1").arg(op->background_end);
|
||||
break;
|
||||
|
||||
case ATTR_SUPER:
|
||||
outstring+=QString().sprintf(op->superscript_end);
|
||||
outstring+=QString("%1").arg(op->superscript_end);
|
||||
break;
|
||||
case ATTR_SUB:
|
||||
outstring+=QString().sprintf(op->subscript_end);
|
||||
outstring+=QString("%1").arg(op->subscript_end);
|
||||
break;
|
||||
|
||||
case ATTR_STRIKE:
|
||||
outstring+=QString().sprintf(op->strikethru_end);
|
||||
outstring+=QString("%1").arg(op->strikethru_end);
|
||||
break;
|
||||
|
||||
case ATTR_DBL_STRIKE:
|
||||
outstring+=QString().sprintf(op->dbl_strikethru_end);
|
||||
outstring+=QString("%1").arg(op->dbl_strikethru_end);
|
||||
break;
|
||||
|
||||
case ATTR_OUTLINE:
|
||||
outstring+=QString().sprintf(op->outline_end);
|
||||
outstring+=QString("%1").arg(op->outline_end);
|
||||
break;
|
||||
case ATTR_SHADOW:
|
||||
outstring+=QString().sprintf(op->shadow_end);
|
||||
outstring+=QString("%1").arg(op->shadow_end);
|
||||
break;
|
||||
case ATTR_EMBOSS:
|
||||
outstring+=QString().sprintf(op->emboss_end);
|
||||
outstring+=QString("%1").arg(op->emboss_end);
|
||||
break;
|
||||
case ATTR_ENGRAVE:
|
||||
outstring+=QString().sprintf(op->engrave_end);
|
||||
outstring+=QString("%1").arg(op->engrave_end);
|
||||
break;
|
||||
|
||||
case ATTR_EXPAND:
|
||||
outstring+=QString().sprintf(op->expand_end);
|
||||
outstring+=QString("%1").arg(op->expand_end);
|
||||
break;
|
||||
|
||||
case ATTR_CAPS:
|
||||
@@ -287,7 +287,7 @@ attr_express_end (int attr, char *param)
|
||||
simulate_smallcaps = FALSE;
|
||||
else {
|
||||
if (op->small_caps_end)
|
||||
outstring+=QString().sprintf(op->small_caps_end);
|
||||
outstring+=QString("%1").arg(op->small_caps_end);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -62,23 +62,23 @@
|
||||
* 31 Oct 07, jasp00@users.sourceforge.net: fixed several warnings
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CTYPE_H
|
||||
#ifdef LMMS_HAVE_CTYPE_H
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
@@ -195,8 +195,8 @@ starting_body ()
|
||||
{
|
||||
if (!have_printed_body) {
|
||||
if (!inline_mode) {
|
||||
outstring+=QString().sprintf(op->header_end);
|
||||
outstring+=QString().sprintf(op->body_begin);
|
||||
outstring+=QString("%1").arg(op->header_end);
|
||||
outstring+=QString("%1").arg(op->body_begin);
|
||||
}
|
||||
within_header = FALSE;
|
||||
have_printed_body = TRUE;
|
||||
@@ -365,20 +365,20 @@ process_font_table (Word *w)
|
||||
w=w->next;
|
||||
}
|
||||
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("font table contains %d fonts total",total_fonts);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
|
||||
if (debug_mode) {
|
||||
int i;
|
||||
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("font table dump: \n");
|
||||
for (i=0; i<total_fonts; i++) {
|
||||
printf(" font %d = %s\n", font_table[i].num,
|
||||
font_table[i].name);
|
||||
}
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -402,9 +402,9 @@ process_index_entry (Word *w)
|
||||
char *str = word_string (w2);
|
||||
|
||||
if (debug_mode && str) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("index entry word: %s ", str);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
w=w->next;
|
||||
@@ -431,11 +431,11 @@ process_toc_entry (Word *w, int include_page_num)
|
||||
char *str = word_string (w2);
|
||||
|
||||
if (debug_mode && str) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("toc %s entry word: %s ",
|
||||
include_page_num ? "page#":"no page#",
|
||||
str);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
w=w->next;
|
||||
@@ -471,7 +471,7 @@ process_info_group (Word *w)
|
||||
|
||||
if (!inline_mode) {
|
||||
if (!strcmp("\\title", s)) {
|
||||
outstring+=QString().sprintf(op->document_title_begin);
|
||||
outstring+=QString("%1").arg(op->document_title_begin);
|
||||
w2=child->next;
|
||||
while (w2) {
|
||||
char *s2 = word_string(w2);
|
||||
@@ -482,7 +482,7 @@ process_info_group (Word *w)
|
||||
#if 1 /* daved 0.19.6 */
|
||||
print_with_special_exprs (s2);
|
||||
#else
|
||||
outstring+=QString().sprintf("%s", s2);
|
||||
outstring+=QString("%1").arg("%s", s2);
|
||||
#endif
|
||||
#if 1 /* daved 0.20.0 */
|
||||
}
|
||||
@@ -496,18 +496,18 @@ process_info_group (Word *w)
|
||||
s3 = op_translate_char (op, charset_type, ch, numchar_table);
|
||||
if (!s3 || !*s3)
|
||||
{
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("char 0x%02x",ch);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (op->word_begin)
|
||||
outstring+=QString().sprintf(op->word_begin);
|
||||
outstring+=QString().sprintf("%s", s3);
|
||||
outstring+=QString("%1").arg(op->word_begin);
|
||||
outstring+=QString("%1").arg("%s", s3);
|
||||
if (op->word_end)
|
||||
outstring+=QString().sprintf(op->word_end);
|
||||
outstring+=QString("%1").arg(op->word_end);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -515,32 +515,32 @@ process_info_group (Word *w)
|
||||
#endif
|
||||
w2 = w2->next;
|
||||
}
|
||||
outstring+=QString().sprintf(op->document_title_end);
|
||||
outstring+=QString("%1").arg(op->document_title_end);
|
||||
}
|
||||
else if (!strcmp("\\keywords", s)) {
|
||||
outstring+=QString().sprintf(op->document_keywords_begin);
|
||||
outstring+=QString("%1").arg(op->document_keywords_begin);
|
||||
w2=child->next;
|
||||
while (w2) {
|
||||
char *s2 = word_string(w2);
|
||||
if (s2[0] != '\\')
|
||||
outstring+=QString().sprintf("%s,", s2);
|
||||
outstring+=QString("%1").arg("%s,", s2);
|
||||
w2 = w2->next;
|
||||
}
|
||||
outstring+=QString().sprintf(op->document_keywords_end);
|
||||
outstring+=QString("%1").arg(op->document_keywords_end);
|
||||
}
|
||||
else if (!strcmp("\\author", s)) {
|
||||
outstring+=QString().sprintf(op->document_author_begin);
|
||||
outstring+=QString("%1").arg(op->document_author_begin);
|
||||
w2=child->next;
|
||||
while (w2) {
|
||||
char *s2 = word_string(w2);
|
||||
if (s2[0] != '\\')
|
||||
outstring+=QString().sprintf("%s", s2);
|
||||
outstring+=QString("%1").arg("%s", s2);
|
||||
w2 = w2->next;
|
||||
}
|
||||
outstring+=QString().sprintf(op->document_author_end);
|
||||
outstring+=QString("%1").arg(op->document_author_end);
|
||||
}
|
||||
else if (!strcmp("\\comment", s)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("comments: ");
|
||||
w2=child->next;
|
||||
while (w2) {
|
||||
@@ -549,46 +549,46 @@ process_info_group (Word *w)
|
||||
printf("%s", s2);
|
||||
w2 = w2->next;
|
||||
}
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strncmp("\\nofpages", s, 9)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("total pages: %s",&s[9]);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strncmp("\\nofwords", s, 9)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("total words: %s",&s[9]);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strncmp("\\nofchars", s, 9) && isdigit(s[9])) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("total chars: %s",&s[9]);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strcmp("\\creatim", s)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("creation date: ");
|
||||
if (child->next) word_dump_date (child->next);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strcmp("\\printim", s)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("last printed: ");
|
||||
if (child->next) word_dump_date (child->next);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strcmp("\\buptim", s)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("last backup: ");
|
||||
if (child->next) word_dump_date (child->next);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
else if (!strcmp("\\revtim", s)) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("revision date: ");
|
||||
if (child->next) word_dump_date (child->next);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -598,7 +598,7 @@ process_info_group (Word *w)
|
||||
if (!strcmp("\\hlinkbase", s)) {
|
||||
char *linkstr = NULL;
|
||||
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("hyperlink base: ");
|
||||
if (child->next) {
|
||||
Word *nextword = child->next;
|
||||
@@ -611,7 +611,7 @@ process_info_group (Word *w)
|
||||
printf("%s", linkstr);
|
||||
else
|
||||
printf("(none)");
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
|
||||
/* Store the pointer, it will remain good. */
|
||||
hyperlink_base = linkstr;
|
||||
@@ -658,9 +658,9 @@ process_color_table (Word *w)
|
||||
char *s = word_string (w);
|
||||
|
||||
#if 0
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("found this color table word: %s", word_string(w));
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
#endif
|
||||
|
||||
if (!strncmp("\\red",s,4)) {
|
||||
@@ -685,10 +685,10 @@ process_color_table (Word *w)
|
||||
color_table[total_colors].g = g;
|
||||
color_table[total_colors++].b = b;
|
||||
if (debug_mode) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("storing color entry %d: %02x%02x%02x",
|
||||
total_colors-1, r,g,b);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
r=g=b=0;
|
||||
}
|
||||
@@ -697,9 +697,9 @@ process_color_table (Word *w)
|
||||
}
|
||||
|
||||
if (debug_mode) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("color table had %d entries -->\n", total_colors);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -837,7 +837,7 @@ cmd_field (Word *w, int align, char has_param, int num) {
|
||||
{
|
||||
const char * string;
|
||||
if ((string = op->symbol_translation_table[char_num - op->symbol_first_char]) != 0)
|
||||
outstring+=QString().sprintf("%s", string);
|
||||
outstring+=QString("%1").arg("%s", string);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -857,9 +857,9 @@ cmd_field (Word *w, int align, char has_param, int num) {
|
||||
w4=w4->next;
|
||||
if (w4) {
|
||||
s4=word_string(w4);
|
||||
outstring+=QString().sprintf(op->hyperlink_begin);
|
||||
outstring+=QString().sprintf("%s", s4);
|
||||
outstring+=QString().sprintf(op->hyperlink_end);
|
||||
outstring+=QString("%1").arg(op->hyperlink_begin);
|
||||
outstring+=QString("%1").arg("%s", s4);
|
||||
outstring+=QString("%1").arg(op->hyperlink_end);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -900,9 +900,9 @@ cmd_f (Word *w, int align, char has_param, int num) {
|
||||
numchar_table = FONTROMAN_TABLE;
|
||||
#endif
|
||||
if (!name) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("invalid font number %d",num);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
} else {
|
||||
attr_push(ATTR_FONTFACE,name);
|
||||
#if 1 /* daved - 0.19.6 */
|
||||
@@ -962,10 +962,10 @@ cmd_tab (Word *w, int align, char has_param, int param)
|
||||
int need= 8-(total_chars_this_line%8);
|
||||
total_chars_this_line += need;
|
||||
while(need>0) {
|
||||
outstring+=QString().sprintf(op->forced_space);
|
||||
outstring+=QString("%1").arg(op->forced_space);
|
||||
need--;
|
||||
}
|
||||
outstring+=QString().sprintf("\n");
|
||||
outstring+=QString("%1").arg("\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -1182,7 +1182,7 @@ cmd_scaps (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_bullet (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.bullet) {
|
||||
outstring+=QString().sprintf(op->chars.bullet);
|
||||
outstring+=QString("%1").arg(op->chars.bullet);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1197,7 +1197,7 @@ cmd_bullet (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_ldblquote (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.left_dbl_quote) {
|
||||
outstring+=QString().sprintf(op->chars.left_dbl_quote);
|
||||
outstring+=QString("%1").arg(op->chars.left_dbl_quote);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1214,7 +1214,7 @@ cmd_ldblquote (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_rdblquote (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.right_dbl_quote) {
|
||||
outstring+=QString().sprintf(op->chars.right_dbl_quote);
|
||||
outstring+=QString("%1").arg(op->chars.right_dbl_quote);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1230,7 +1230,7 @@ cmd_rdblquote (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_lquote (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.left_quote) {
|
||||
outstring+=QString().sprintf(op->chars.left_quote);
|
||||
outstring+=QString("%1").arg(op->chars.left_quote);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1247,7 +1247,7 @@ cmd_lquote (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_nonbreaking_space (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.nonbreaking_space) {
|
||||
outstring+=QString().sprintf(op->chars.nonbreaking_space);
|
||||
outstring+=QString("%1").arg(op->chars.nonbreaking_space);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1264,7 +1264,7 @@ cmd_nonbreaking_space (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_nonbreaking_hyphen (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.nonbreaking_hyphen) {
|
||||
outstring+=QString().sprintf(op->chars.nonbreaking_hyphen);
|
||||
outstring+=QString("%1").arg(op->chars.nonbreaking_hyphen);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1281,7 +1281,7 @@ cmd_nonbreaking_hyphen (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_optional_hyphen (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.optional_hyphen) {
|
||||
outstring+=QString().sprintf(op->chars.optional_hyphen);
|
||||
outstring+=QString("%1").arg(op->chars.optional_hyphen);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1297,7 +1297,7 @@ cmd_optional_hyphen (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_emdash (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.emdash) {
|
||||
outstring+=QString().sprintf(op->chars.emdash);
|
||||
outstring+=QString("%1").arg(op->chars.emdash);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1314,7 +1314,7 @@ cmd_emdash (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_endash (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.endash) {
|
||||
outstring+=QString().sprintf(op->chars.endash);
|
||||
outstring+=QString("%1").arg(op->chars.endash);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1331,7 +1331,7 @@ cmd_endash (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_rquote (Word *w, int align, char has_param, int param) {
|
||||
if (op->chars.right_quote) {
|
||||
outstring+=QString().sprintf(op->chars.right_quote);
|
||||
outstring+=QString("%1").arg(op->chars.right_quote);
|
||||
++total_chars_this_line; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1347,7 +1347,7 @@ cmd_rquote (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_par (Word *w, int align, char has_param, int param) {
|
||||
if (op->line_break) {
|
||||
outstring+=QString().sprintf(op->line_break);
|
||||
outstring+=QString("%1").arg(op->line_break);
|
||||
total_chars_this_line = 0; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1364,7 +1364,7 @@ cmd_par (Word *w, int align, char has_param, int param) {
|
||||
static int
|
||||
cmd_line (Word *w, int align, char has_param, int param) {
|
||||
if (op->line_break) {
|
||||
outstring+=QString().sprintf(op->line_break);
|
||||
outstring+=QString("%1").arg(op->line_break);
|
||||
total_chars_this_line = 0; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1380,7 +1380,7 @@ cmd_line (Word *w, int align, char has_param, int param) {
|
||||
|
||||
static int cmd_page (Word *w, int align, char has_param, int param) {
|
||||
if (op->page_break) {
|
||||
outstring+=QString().sprintf(op->page_break);
|
||||
outstring+=QString("%1").arg(op->page_break);
|
||||
total_chars_this_line = 0; /* \tab */
|
||||
}
|
||||
return FALSE;
|
||||
@@ -1683,9 +1683,9 @@ static int cmd_u (Word *w, int align, char has_param, int param) {
|
||||
{
|
||||
const char *string;
|
||||
if ((string = op->unisymbol1_translation_table[param - op->unisymbol1_first_char]) != 0)
|
||||
outstring+=QString().sprintf("%s", string);
|
||||
outstring+=QString("%1").arg("%s", string);
|
||||
else
|
||||
outstring+=QString().sprintf("&#%u;", (unsigned int)param);
|
||||
outstring+=QString("%1").arg("&#%u;", (unsigned int)param);
|
||||
done++;
|
||||
}
|
||||
if
|
||||
@@ -1697,9 +1697,9 @@ static int cmd_u (Word *w, int align, char has_param, int param) {
|
||||
{
|
||||
const char *string;
|
||||
if ((string = op->unisymbol2_translation_table[param - op->unisymbol2_first_char]) != 0)
|
||||
outstring+=QString().sprintf("%s", string);
|
||||
outstring+=QString("%1").arg("%s", string);
|
||||
else
|
||||
outstring+=QString().sprintf("&#%u;", (unsigned int)param);
|
||||
outstring+=QString("%1").arg("&#%u;", (unsigned int)param);
|
||||
done++;
|
||||
}
|
||||
if
|
||||
@@ -1711,9 +1711,9 @@ static int cmd_u (Word *w, int align, char has_param, int param) {
|
||||
{
|
||||
const char *string;
|
||||
if ((string = op->unisymbol3_translation_table[param - op->unisymbol3_first_char]) != 0)
|
||||
outstring+=QString().sprintf("%s", string);
|
||||
outstring+=QString("%1").arg("%s", string);
|
||||
else
|
||||
outstring+=QString().sprintf("&#%u;", (unsigned int)param);
|
||||
outstring+=QString("%1").arg("&#%u;", (unsigned int)param);
|
||||
done++;
|
||||
}
|
||||
#if 1 /* 0.19.5 more unicode support */
|
||||
@@ -1726,9 +1726,9 @@ static int cmd_u (Word *w, int align, char has_param, int param) {
|
||||
{
|
||||
const char *string;
|
||||
if ((string = op->unisymbol4_translation_table[param - op->unisymbol4_first_char]) != 0)
|
||||
outstring+=QString().sprintf("%s", string);
|
||||
outstring+=QString("%1").arg("%s", string);
|
||||
else
|
||||
outstring+=QString().sprintf("&#%u;", (unsigned int)param);
|
||||
outstring+=QString("%1").arg("&#%u;", (unsigned int)param);
|
||||
done++;
|
||||
}
|
||||
#endif
|
||||
@@ -1869,7 +1869,7 @@ static int cmd_s (Word *w, int align, char has_param, int param) {
|
||||
static int cmd_sect (Word *w, int align, char has_param, int param) {
|
||||
/* XX kludge */
|
||||
if (op->paragraph_begin) {
|
||||
outstring+=QString().sprintf(op->paragraph_begin);
|
||||
outstring+=QString("%1").arg(op->paragraph_begin);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
@@ -1883,9 +1883,9 @@ static int cmd_sect (Word *w, int align, char has_param, int param) {
|
||||
|
||||
static int cmd_shp (Word *w, int align, char has_param, int param) {
|
||||
if (op->comment_begin) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("Drawn Shape (ignored--not implemented yet)");
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
@@ -1916,9 +1916,9 @@ static int cmd_outl (Word *w, int align, char has_param, int param) {
|
||||
static int cmd_ansi (Word *w, int align, char has_param, int param) {
|
||||
charset_type = CHARSET_ANSI;
|
||||
if (op->comment_begin) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("document uses ANSI character set");
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
@@ -1933,9 +1933,9 @@ static int cmd_ansi (Word *w, int align, char has_param, int param) {
|
||||
static int cmd_pc (Word *w, int align, char has_param, int param) {
|
||||
charset_type = CHARSET_CP437 ;
|
||||
if (op->comment_begin) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("document uses PC codepage 437 character set");
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
@@ -1950,9 +1950,9 @@ static int cmd_pc (Word *w, int align, char has_param, int param) {
|
||||
static int cmd_pca (Word *w, int align, char has_param, int param) {
|
||||
charset_type = CHARSET_CP850;
|
||||
if (op->comment_begin) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("document uses PC codepage 850 character set");
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
@@ -1967,9 +1967,9 @@ static int cmd_pca (Word *w, int align, char has_param, int param) {
|
||||
static int cmd_mac (Word *w, int align, char has_param, int param) {
|
||||
charset_type = CHARSET_MAC;
|
||||
if (op->comment_begin) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("document uses Macintosh character set");
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
@@ -2609,7 +2609,7 @@ enum { SMALL=0, BIG=1 };
|
||||
if (simulate_smallcaps) {
|
||||
if (*s >= 'a' && *s <= 'z') {
|
||||
state=SMALL;
|
||||
outstring+=QString().sprintf(op->smaller_begin);
|
||||
outstring+=QString("%1").arg(op->smaller_begin);
|
||||
}
|
||||
else
|
||||
state=BIG;
|
||||
@@ -2630,7 +2630,7 @@ enum { SMALL=0, BIG=1 };
|
||||
#if 1 /* daved - 0.20.1 */
|
||||
if(post_trans)
|
||||
#endif
|
||||
outstring+=QString().sprintf("%s",post_trans);
|
||||
outstring+=QString("%1").arg("%s",post_trans);
|
||||
}
|
||||
|
||||
s++;
|
||||
@@ -2639,13 +2639,13 @@ enum { SMALL=0, BIG=1 };
|
||||
ch = *s;
|
||||
if (ch >= 'a' && ch <= 'z') {
|
||||
if (state==BIG)
|
||||
outstring+=QString().sprintf(op->smaller_begin);
|
||||
outstring+=QString("%1").arg(op->smaller_begin);
|
||||
state=SMALL;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (state==SMALL)
|
||||
outstring+=QString().sprintf(op->smaller_end);
|
||||
outstring+=QString("%1").arg(op->smaller_end);
|
||||
state=BIG;
|
||||
}
|
||||
}
|
||||
@@ -2671,7 +2671,7 @@ begin_table()
|
||||
have_printed_cell_end = FALSE;
|
||||
attrstack_push();
|
||||
starting_body();
|
||||
outstring+=QString().sprintf(op->table_begin);
|
||||
outstring+=QString("%1").arg(op->table_begin);
|
||||
}
|
||||
|
||||
|
||||
@@ -2689,12 +2689,12 @@ end_table ()
|
||||
if (within_table) {
|
||||
if (!have_printed_cell_end) {
|
||||
attr_pop_dump();
|
||||
outstring+=QString().sprintf(op->table_cell_end);
|
||||
outstring+=QString("%1").arg(op->table_cell_end);
|
||||
}
|
||||
if (!have_printed_row_end) {
|
||||
outstring+=QString().sprintf(op->table_row_end);
|
||||
outstring+=QString("%1").arg(op->table_row_end);
|
||||
}
|
||||
outstring+=QString().sprintf(op->table_end);
|
||||
outstring+=QString("%1").arg(op->table_end);
|
||||
within_table=FALSE;
|
||||
have_printed_row_begin = FALSE;
|
||||
have_printed_cell_begin = FALSE;
|
||||
@@ -2716,13 +2716,13 @@ void
|
||||
starting_text() {
|
||||
if (within_table) {
|
||||
if (!have_printed_row_begin) {
|
||||
outstring+=QString().sprintf(op->table_row_begin);
|
||||
outstring+=QString("%1").arg(op->table_row_begin);
|
||||
have_printed_row_begin=TRUE;
|
||||
have_printed_row_end=FALSE;
|
||||
have_printed_cell_begin=FALSE;
|
||||
}
|
||||
if (!have_printed_cell_begin) {
|
||||
outstring+=QString().sprintf(op->table_cell_begin);
|
||||
outstring+=QString("%1").arg(op->table_cell_begin);
|
||||
attrstack_express_all();
|
||||
have_printed_cell_begin=TRUE;
|
||||
have_printed_cell_end=FALSE;
|
||||
@@ -2749,15 +2749,15 @@ starting_paragraph_align (int align)
|
||||
switch (align)
|
||||
{
|
||||
case ALIGN_CENTER:
|
||||
outstring+=QString().sprintf(op->center_begin);
|
||||
outstring+=QString("%1").arg(op->center_begin);
|
||||
break;
|
||||
case ALIGN_LEFT:
|
||||
break;
|
||||
case ALIGN_RIGHT:
|
||||
outstring+=QString().sprintf(op->align_right_begin);
|
||||
outstring+=QString("%1").arg(op->align_right_begin);
|
||||
break;
|
||||
case ALIGN_JUSTIFY:
|
||||
outstring+=QString().sprintf(op->align_right_begin); /* This is WRONG! */
|
||||
outstring+=QString("%1").arg(op->align_right_begin); /* This is WRONG! */
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -2776,16 +2776,16 @@ ending_paragraph_align (int align)
|
||||
{
|
||||
switch (align) {
|
||||
case ALIGN_CENTER:
|
||||
outstring+=QString().sprintf(op->center_end);
|
||||
outstring+=QString("%1").arg(op->center_end);
|
||||
break;
|
||||
case ALIGN_LEFT:
|
||||
/* printf(op->align_left_end); */
|
||||
break;
|
||||
case ALIGN_RIGHT:
|
||||
outstring+=QString().sprintf(op->align_right_end);
|
||||
outstring+=QString("%1").arg(op->align_right_end);
|
||||
break;
|
||||
case ALIGN_JUSTIFY:
|
||||
outstring+=QString().sprintf(op->justify_end);
|
||||
outstring+=QString("%1").arg(op->justify_end);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -2861,7 +2861,7 @@ word_print_core (Word *w)
|
||||
|
||||
if (s[0]!=' ') {
|
||||
char *s2;
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("picture data found, ");
|
||||
if (picture_wmetafile_type_str) {
|
||||
printf("WMF type is %s, ",
|
||||
@@ -2869,7 +2869,7 @@ word_print_core (Word *w)
|
||||
}
|
||||
printf("picture dimensions are %d by %d, depth %d",
|
||||
picture_width, picture_height, picture_bits_per_pixel);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
if (picture_width && picture_height && picture_bits_per_pixel) {
|
||||
s2=s;
|
||||
while (*s2) {
|
||||
@@ -2894,12 +2894,12 @@ word_print_core (Word *w)
|
||||
total_chars_this_line += strlen(s);
|
||||
|
||||
if (op->word_begin)
|
||||
outstring+=QString().sprintf(op->word_begin);
|
||||
outstring+=QString("%1").arg(op->word_begin);
|
||||
|
||||
print_with_special_exprs (s);
|
||||
|
||||
if (op->word_end)
|
||||
outstring+=QString().sprintf(op->word_end);
|
||||
outstring+=QString("%1").arg(op->word_end);
|
||||
}
|
||||
|
||||
|
||||
@@ -2959,24 +2959,24 @@ word_print_core (Word *w)
|
||||
is_cell_group=TRUE;
|
||||
if (!have_printed_cell_begin) {
|
||||
/* Need this with empty cells */
|
||||
outstring+=QString().sprintf(op->table_cell_begin);
|
||||
outstring+=QString("%1").arg(op->table_cell_begin);
|
||||
attrstack_express_all();
|
||||
}
|
||||
attr_pop_dump();
|
||||
outstring+=QString().sprintf(op->table_cell_end);
|
||||
outstring+=QString("%1").arg(op->table_cell_end);
|
||||
have_printed_cell_begin = FALSE;
|
||||
have_printed_cell_end=TRUE;
|
||||
}
|
||||
else if (!strcmp (s, "row")) {
|
||||
if (within_table) {
|
||||
outstring+=QString().sprintf(op->table_row_end);
|
||||
outstring+=QString("%1").arg(op->table_row_end);
|
||||
have_printed_row_begin = FALSE;
|
||||
have_printed_row_end=TRUE;
|
||||
} else {
|
||||
if (debug_mode) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("end of table row");
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2994,15 +2994,15 @@ word_print_core (Word *w)
|
||||
#endif
|
||||
|
||||
if (!s2 || !*s2) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("char 0x%02x",ch);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
} else {
|
||||
if (op->word_begin)
|
||||
outstring+=QString().sprintf(op->word_begin);
|
||||
outstring+=QString().sprintf("%s", s2);
|
||||
outstring+=QString("%1").arg(op->word_begin);
|
||||
outstring+=QString("%1").arg("%s", s2);
|
||||
if (op->word_end)
|
||||
outstring+=QString().sprintf(op->word_end);
|
||||
outstring+=QString("%1").arg(op->word_end);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -3032,9 +3032,9 @@ word_print_core (Word *w)
|
||||
|
||||
if (!hip) {
|
||||
if (debug_mode) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("Unfamiliar RTF command: %s (HashIndex not found)", s);
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -3068,9 +3068,9 @@ word_print_core (Word *w)
|
||||
debug=hip[index].debug_print;
|
||||
|
||||
if (debug && debug_mode) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("%s", debug);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
|
||||
done=TRUE;
|
||||
@@ -3084,9 +3084,9 @@ word_print_core (Word *w)
|
||||
}
|
||||
if (!match) {
|
||||
if (debug_mode) {
|
||||
printf(op->comment_begin);
|
||||
printf("%s",op->comment_begin);
|
||||
printf("Unfamiliar RTF command: %s", s);
|
||||
printf(op->comment_end);
|
||||
printf("%s",op->comment_end);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3113,9 +3113,9 @@ word_print_core (Word *w)
|
||||
if (within_picture) {
|
||||
if(pictfile) {
|
||||
fclose(pictfile);
|
||||
outstring+=QString().sprintf(op->imagelink_begin);
|
||||
outstring+=QString().sprintf("%s", picture_path);
|
||||
outstring+=QString().sprintf(op->imagelink_end);
|
||||
outstring+=QString("%1").arg(op->imagelink_begin);
|
||||
outstring+=QString("%1").arg("%s", picture_path);
|
||||
outstring+=QString("%1").arg(op->imagelink_end);
|
||||
}
|
||||
within_picture=FALSE;
|
||||
}
|
||||
@@ -3153,8 +3153,8 @@ word_print (Word *w, QString & _s)
|
||||
|
||||
outstring = "";
|
||||
if (!inline_mode) {
|
||||
outstring+=QString().sprintf(op->document_begin);
|
||||
outstring+=QString().sprintf(op->header_begin);
|
||||
outstring+=QString("%1").arg(op->document_begin);
|
||||
outstring+=QString("%1").arg(op->header_begin);
|
||||
}
|
||||
|
||||
within_header=TRUE;
|
||||
@@ -3165,8 +3165,8 @@ word_print (Word *w, QString & _s)
|
||||
end_table();
|
||||
|
||||
if (!inline_mode) {
|
||||
outstring+=QString().sprintf(op->body_end);
|
||||
outstring+=QString().sprintf(op->document_end);
|
||||
outstring+=QString("%1").arg(op->body_end);
|
||||
outstring+=QString("%1").arg(op->document_end);
|
||||
}
|
||||
_s = outstring;
|
||||
}
|
||||
|
||||
@@ -39,15 +39,15 @@
|
||||
* 31 Oct 07, jasp00@users.sourceforge.net: replaced deprecated conversions
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -40,15 +40,15 @@
|
||||
* 06 Jan 06, marcossamaral@terra.com.br: changes hash_stats function
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -41,15 +41,15 @@
|
||||
* 31 Oct 07, jasp00@users.sourceforge.net: replaced deprecated conversions
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -37,19 +37,19 @@
|
||||
* 31 Oct 07, jasp00@users.sourceforge.net: replaced deprecated conversions
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -37,19 +37,19 @@
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
@@ -198,49 +198,49 @@ op_begin_std_fontsize (OutputPersonality *op, int size)
|
||||
switch (size) {
|
||||
case 8:
|
||||
if (op->fontsize8_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize8_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize8_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
if (op->fontsize10_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize10_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize10_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
if (op->fontsize12_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize12_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize12_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 14:
|
||||
if (op->fontsize14_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize14_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize14_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 18:
|
||||
if (op->fontsize18_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize18_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize18_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 24:
|
||||
if (op->fontsize24_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize24_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize24_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 36:
|
||||
if (op->fontsize36_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize36_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize36_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 48:
|
||||
if (op->fontsize48_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize48_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize48_begin);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
@@ -253,53 +253,53 @@ op_begin_std_fontsize (OutputPersonality *op, int size)
|
||||
if (op->fontsize_begin) {
|
||||
char expr[16];
|
||||
sprintf (expr, "%d", size);
|
||||
outstring+=QString().sprintf (op->fontsize_begin, expr);
|
||||
outstring+=QString("%1").arg (op->fontsize_begin, expr);
|
||||
} else {
|
||||
/* If we cannot write out a change for the exact
|
||||
* point size, we must approximate to a standard
|
||||
* size.
|
||||
*/
|
||||
if (size<9 && op->fontsize8_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize8_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize8_begin);
|
||||
} else
|
||||
if (size<11 && op->fontsize10_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize10_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize10_begin);
|
||||
} else
|
||||
if (size<13 && op->fontsize12_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize12_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize12_begin);
|
||||
} else
|
||||
if (size<16 && op->fontsize14_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize14_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize14_begin);
|
||||
} else
|
||||
if (size<21 && op->fontsize18_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize18_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize18_begin);
|
||||
} else
|
||||
if (size<30 && op->fontsize24_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize24_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize24_begin);
|
||||
} else
|
||||
if (size<42 && op->fontsize36_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize36_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize36_begin);
|
||||
} else
|
||||
if (size>40 && op->fontsize48_begin) {
|
||||
outstring+=QString().sprintf (op->fontsize48_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize48_begin);
|
||||
} else
|
||||
/* If we can't even produce a good approximation,
|
||||
* just try to get a font size near 12 point.
|
||||
*/
|
||||
if (op->fontsize12_begin)
|
||||
outstring+=QString().sprintf (op->fontsize12_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize12_begin);
|
||||
else
|
||||
if (op->fontsize14_begin)
|
||||
outstring+=QString().sprintf (op->fontsize14_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize14_begin);
|
||||
else
|
||||
if (op->fontsize10_begin)
|
||||
outstring+=QString().sprintf (op->fontsize10_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize10_begin);
|
||||
else
|
||||
if (op->fontsize18_begin)
|
||||
outstring+=QString().sprintf (op->fontsize18_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize18_begin);
|
||||
else
|
||||
if (op->fontsize8_begin)
|
||||
outstring+=QString().sprintf (op->fontsize8_begin);
|
||||
outstring+=QString("%1").arg (op->fontsize8_begin);
|
||||
else
|
||||
error_handler ("output personality lacks sufficient font size change capability");
|
||||
}
|
||||
@@ -327,49 +327,49 @@ op_end_std_fontsize (OutputPersonality *op, int size)
|
||||
switch (size) {
|
||||
case 8:
|
||||
if (op->fontsize8_end) {
|
||||
outstring+=QString().sprintf (op->fontsize8_end);
|
||||
outstring+=QString("%1").arg (op->fontsize8_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
if (op->fontsize10_end) {
|
||||
outstring+=QString().sprintf (op->fontsize10_end);
|
||||
outstring+=QString("%1").arg (op->fontsize10_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
if (op->fontsize12_end) {
|
||||
outstring+=QString().sprintf (op->fontsize12_end);
|
||||
outstring+=QString("%1").arg (op->fontsize12_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 14:
|
||||
if (op->fontsize14_end) {
|
||||
outstring+=QString().sprintf (op->fontsize14_end);
|
||||
outstring+=QString("%1").arg (op->fontsize14_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 18:
|
||||
if (op->fontsize18_end) {
|
||||
outstring+=QString().sprintf (op->fontsize18_end);
|
||||
outstring+=QString("%1").arg (op->fontsize18_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 24:
|
||||
if (op->fontsize24_end) {
|
||||
outstring+=QString().sprintf (op->fontsize24_end);
|
||||
outstring+=QString("%1").arg (op->fontsize24_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 36:
|
||||
if (op->fontsize36_end) {
|
||||
outstring+=QString().sprintf (op->fontsize36_end);
|
||||
outstring+=QString("%1").arg (op->fontsize36_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
case 48:
|
||||
if (op->fontsize48_end) {
|
||||
outstring+=QString().sprintf (op->fontsize48_end);
|
||||
outstring+=QString("%1").arg (op->fontsize48_end);
|
||||
found_std_expr = TRUE;
|
||||
}
|
||||
break;
|
||||
@@ -382,53 +382,53 @@ op_end_std_fontsize (OutputPersonality *op, int size)
|
||||
if (op->fontsize_end) {
|
||||
char expr[16];
|
||||
sprintf (expr, "%d", size);
|
||||
outstring+=QString().sprintf (op->fontsize_end, expr);
|
||||
outstring+=QString("%1").arg (op->fontsize_end, expr);
|
||||
} else {
|
||||
/* If we cannot write out a change for the exact
|
||||
* point size, we must approximate to a standard
|
||||
* size.
|
||||
*/
|
||||
if (size<9 && op->fontsize8_end) {
|
||||
outstring+=QString().sprintf (op->fontsize8_end);
|
||||
outstring+=QString("%1").arg (op->fontsize8_end);
|
||||
} else
|
||||
if (size<11 && op->fontsize10_end) {
|
||||
outstring+=QString().sprintf (op->fontsize10_end);
|
||||
outstring+=QString("%1").arg (op->fontsize10_end);
|
||||
} else
|
||||
if (size<13 && op->fontsize12_end) {
|
||||
outstring+=QString().sprintf (op->fontsize12_end);
|
||||
outstring+=QString("%1").arg (op->fontsize12_end);
|
||||
} else
|
||||
if (size<16 && op->fontsize14_end) {
|
||||
outstring+=QString().sprintf (op->fontsize14_end);
|
||||
outstring+=QString("%1").arg (op->fontsize14_end);
|
||||
} else
|
||||
if (size<21 && op->fontsize18_end) {
|
||||
outstring+=QString().sprintf (op->fontsize18_end);
|
||||
outstring+=QString("%1").arg (op->fontsize18_end);
|
||||
} else
|
||||
if (size<30 && op->fontsize24_end) {
|
||||
outstring+=QString().sprintf (op->fontsize24_end);
|
||||
outstring+=QString("%1").arg (op->fontsize24_end);
|
||||
} else
|
||||
if (size<42 && op->fontsize36_end) {
|
||||
outstring+=QString().sprintf (op->fontsize36_end);
|
||||
outstring+=QString("%1").arg (op->fontsize36_end);
|
||||
} else
|
||||
if (size>40 && op->fontsize48_end) {
|
||||
outstring+=QString().sprintf (op->fontsize48_end);
|
||||
outstring+=QString("%1").arg (op->fontsize48_end);
|
||||
} else
|
||||
/* If we can't even produce a good approximation,
|
||||
* just try to get a font size near 12 point.
|
||||
*/
|
||||
if (op->fontsize12_end)
|
||||
outstring+=QString().sprintf (op->fontsize12_end);
|
||||
outstring+=QString("%1").arg (op->fontsize12_end);
|
||||
else
|
||||
if (op->fontsize14_end)
|
||||
outstring+=QString().sprintf (op->fontsize14_end);
|
||||
outstring+=QString("%1").arg (op->fontsize14_end);
|
||||
else
|
||||
if (op->fontsize10_end)
|
||||
outstring+=QString().sprintf (op->fontsize10_end);
|
||||
outstring+=QString("%1").arg (op->fontsize10_end);
|
||||
else
|
||||
if (op->fontsize18_end)
|
||||
outstring+=QString().sprintf (op->fontsize18_end);
|
||||
outstring+=QString("%1").arg (op->fontsize18_end);
|
||||
else
|
||||
if (op->fontsize8_end)
|
||||
outstring+=QString().sprintf (op->fontsize8_end);
|
||||
outstring+=QString("%1").arg (op->fontsize8_end);
|
||||
else
|
||||
error_handler ("output personality lacks sufficient font size change capability");
|
||||
}
|
||||
|
||||
@@ -38,23 +38,23 @@
|
||||
* 29 Mar 05, daved@physiol.usyd.edu.au: changes requested by ZT Smith
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CTYPE_H
|
||||
#ifdef LMMS_HAVE_CTYPE_H
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -31,15 +31,15 @@
|
||||
* 29 Mar 05, daved@physiol.usyd.edu.au: changes requested by ZT Smith
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CTYPE_H
|
||||
#ifdef LMMS_HAVE_CTYPE_H
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,23 +48,23 @@
|
||||
* 11 Jan 07, jasp00@users.sourceforge.net: optimized unsafe loop
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#ifdef LMMS_HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
#ifdef LMMS_HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#ifdef LMMS_HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CTYPE_H
|
||||
#ifdef LMMS_HAVE_CTYPE_H
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#ifdef LMMS_HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
3
plugins/kicker/CMakeLists.txt
Normal file
3
plugins/kicker/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(kicker kicker.cpp kicker.h MOCFILES kicker.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = kicker
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./kicker.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libkicker.la
|
||||
|
||||
libkicker_la_SOURCES = kicker.cpp kicker.h
|
||||
|
||||
$(libkicker_la_SOURCES): ./embedded_resources.h
|
||||
@@ -266,5 +266,5 @@ plugin * PLUGIN_EXPORT lmms_plugin_main( model *, void * _data )
|
||||
}
|
||||
|
||||
|
||||
#include "kicker.moc"
|
||||
#include "moc_kicker.cxx"
|
||||
|
||||
|
||||
3
plugins/ladspa_browser/CMakeLists.txt
Normal file
3
plugins/ladspa_browser/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(ladspabrowser ladspa_browser.cpp ladspa_browser.h ladspa_description.cpp ladspa_description.h ladspa_port_dialog.cpp ladspa_port_dialog.h MOCFILES ladspa_browser.h ladspa_description.h ladspa_port_dialog.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,55 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = ladspabrowser
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./ladspa_browser.moc \
|
||||
./ladspa_description.moc \
|
||||
./ladspa_port_dialog.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libladspabrowser.la
|
||||
|
||||
libladspabrowser_la_SOURCES = ladspa_browser.cpp \
|
||||
ladspa_browser.h \
|
||||
ladspa_description.cpp \
|
||||
ladspa_description.h \
|
||||
ladspa_port_dialog.cpp \
|
||||
ladspa_port_dialog.h
|
||||
|
||||
$(libladspabrowser_la_SOURCES): ./embedded_resources.h
|
||||
@@ -236,4 +236,4 @@ void ladspaBrowserView::showPorts( const ladspa_key_t & _key )
|
||||
|
||||
|
||||
|
||||
#include "ladspa_browser.moc"
|
||||
#include "moc_ladspa_browser.cxx"
|
||||
|
||||
@@ -221,4 +221,4 @@ void ladspaDescription::onDoubleClicked( QListWidgetItem * _item )
|
||||
|
||||
|
||||
|
||||
#include "ladspa_description.moc"
|
||||
#include "moc_ladspa_description.cxx"
|
||||
|
||||
@@ -180,4 +180,5 @@ ladspaPortDialog::~ladspaPortDialog()
|
||||
|
||||
|
||||
|
||||
#include "ladspa_port_dialog.moc"
|
||||
#include "moc_ladspa_port_dialog.cxx"
|
||||
|
||||
|
||||
12
plugins/ladspa_effect/CMakeLists.txt
Normal file
12
plugins/ladspa_effect/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(ladspaeffect ladspa_effect.cpp ladspa_controls.cpp ladspa_control_dialog.cpp ladspa_subplugin_features.cpp ladspa_effect.h ladspa_controls.h ladspa_control_dialog.h ladspa_subplugin_features.h MOCFILES ladspa_effect.h ladspa_controls.h ladspa_control_dialog.h EMBEDDED_RESOURCES *.png)
|
||||
|
||||
IF(WANT_CAPS)
|
||||
ADD_SUBDIRECTORY(caps)
|
||||
ENDIF(WANT_CAPS)
|
||||
|
||||
IF(WANT_TAP)
|
||||
ADD_SUBDIRECTORY(tap)
|
||||
ENDIF(WANT_TAP)
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if SHIP_CAPS
|
||||
SUBDIRS = caps
|
||||
endif
|
||||
|
||||
if SHIP_TAP
|
||||
SUBDIRS = tap
|
||||
endif
|
||||
|
||||
PLUGIN_NAME = ladspaeffect
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./ladspa_effect.moc ./ladspa_controls.moc ./ladspa_control_dialog.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libladspaeffect.la
|
||||
|
||||
libladspaeffect_la_SOURCES = ladspa_effect.cpp \
|
||||
ladspa_controls.cpp \
|
||||
ladspa_control_dialog.cpp \
|
||||
ladspa_subplugin_features.cpp \
|
||||
ladspa_effect.h \
|
||||
ladspa_controls.h \
|
||||
ladspa_control_dialog.h \
|
||||
ladspa_subplugin_features.h
|
||||
|
||||
$(libladspaeffect_la_SOURCES): ./embedded_resources.h
|
||||
13
plugins/ladspa_effect/caps/CMakeLists.txt
Normal file
13
plugins/ladspa_effect/caps/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include")
|
||||
SET(CMAKE_BUILD_TYPE release)
|
||||
FILE(GLOB SOURCES *.cc)
|
||||
ADD_LIBRARY(caps SHARED ${SOURCES})
|
||||
SET_TARGET_PROPERTIES(caps PROPERTIES PREFIX "")
|
||||
SET_TARGET_PROPERTIES(caps PROPERTIES COMPILE_FLAGS "-O3 -Wno-write-strings")
|
||||
SET_TARGET_PROPERTIES(caps PROPERTIES LINK_FLAGS "${LINK_FLAGS} -shared -Wl,-no-undefined")
|
||||
IF(LMMS_BUILD_LINUX)
|
||||
SET_TARGET_PROPERTIES(caps PROPERTIES LINK_FLAGS "${LINK_FLAGS} -nostartfiles")
|
||||
ENDIF(LMMS_BUILD_LINUX)
|
||||
|
||||
INSTALL(TARGETS caps LIBRARY DESTINATION ${PLUGIN_DIR}/ladspa)
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) -O3 -I../../../include
|
||||
|
||||
DEST = $(DESTDIR)$(libdir)/$(PACKAGE)/ladspa
|
||||
SOURCES = $(wildcard *.cc)
|
||||
HDRS = $(wildcard *.h) $(wildcard dsp/*.h)
|
||||
OBJECTS = $(SOURCES:.cc=.o)
|
||||
|
||||
if BUILD_WIN32
|
||||
CAPS_SHARED=caps.dll
|
||||
CAPS_LINKFLAGS=
|
||||
else
|
||||
CAPS_SHARED=caps.so
|
||||
CAPS_LINKFLAGS=-nostartfiles
|
||||
endif
|
||||
|
||||
$(CAPS_SHARED): $(OBJECTS) depend
|
||||
$(CXX) $(AM_CXXFLAGS) $(CAPS_LINKFLAGS) -shared -Wl,-no-undefined -o $@ $(OBJECTS)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so *.s *.dll depend
|
||||
|
||||
install: all
|
||||
# strip caps.so
|
||||
install -d $(DEST)
|
||||
install -m 644 $(CAPS_SHARED) $(DEST)
|
||||
|
||||
uninstall:
|
||||
-rm $(DEST)/caps.so
|
||||
|
||||
depend: $(SOURCES)
|
||||
$(CXX) -MM $(AM_CXXFLAGS) $(SOURCES) > depend
|
||||
|
||||
.cc.o:
|
||||
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -c $<
|
||||
|
||||
all: $(CAPS_SHARED)
|
||||
|
||||
EXTRA_DIST = $(SOURCES) $(HDRS) $(wildcard README*)
|
||||
@@ -49,11 +49,7 @@
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
#ifdef LMMS_HAVE_LADSPA_H
|
||||
#include <ladspa.h>
|
||||
#else
|
||||
#include "ladspa-1.1.h"
|
||||
#endif
|
||||
|
||||
#define BOUNDED (LADSPA_HINT_BOUNDED_BELOW | LADSPA_HINT_BOUNDED_ABOVE)
|
||||
#define INTEGER LADSPA_HINT_INTEGER
|
||||
|
||||
@@ -146,5 +146,5 @@ void ladspaControlDialog::updateEffectView( ladspaControls * _ctl )
|
||||
}
|
||||
|
||||
|
||||
#include "ladspa_control_dialog.moc"
|
||||
#include "moc_ladspa_control_dialog.cxx"
|
||||
|
||||
|
||||
@@ -189,5 +189,5 @@ void ladspaControls::updateChannelLinkState( void )
|
||||
}
|
||||
|
||||
|
||||
#include "ladspa_controls.moc"
|
||||
#include "moc_ladspa_controls.cxx"
|
||||
|
||||
|
||||
@@ -559,5 +559,5 @@ plugin * PLUGIN_EXPORT lmms_plugin_main( model * _parent, void * _data )
|
||||
}
|
||||
|
||||
|
||||
#include "ladspa_effect.moc"
|
||||
#include "moc_ladspa_effect.cxx"
|
||||
|
||||
|
||||
16
plugins/ladspa_effect/tap/CMakeLists.txt
Normal file
16
plugins/ladspa_effect/tap/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include")
|
||||
SET(CMAKE_BUILD_TYPE release)
|
||||
FILE(GLOB PLUGIN_SOURCES *.c)
|
||||
FOREACH(_item ${PLUGIN_SOURCES})
|
||||
GET_FILENAME_COMPONENT(_plugin "${_item}" NAME_WE)
|
||||
ADD_LIBRARY(${_plugin} SHARED ${_item})
|
||||
SET_TARGET_PROPERTIES(${_plugin} PROPERTIES PREFIX "")
|
||||
SET_TARGET_PROPERTIES(${_plugin} PROPERTIES COMPILE_FLAGS "-O3 -Wno-write-strings -Wall -fomit-frame-pointer -fno-strict-aliasing -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC")
|
||||
SET_TARGET_PROPERTIES(${_plugin} PROPERTIES LINK_FLAGS "${LINK_FLAGS} -shared -Wl,-no-undefined -Wl,-Bsymbolic -lm")
|
||||
IF(LMMS_BUILD_LINUX)
|
||||
SET_TARGET_PROPERTIES(${_plugin} PROPERTIES LINK_FLAGS "${LINK_FLAGS} -nostartfiles")
|
||||
ENDIF(LMMS_BUILD_LINUX)
|
||||
|
||||
INSTALL(TARGETS ${_plugin} LIBRARY DESTINATION ${PLUGIN_DIR}/ladspa)
|
||||
ENDFOREACH(_item ${PLUGIN_SOURCES})
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
|
||||
AM_CFLAGS := $(AM_CFLAGS) $(CFLAGS) -I../../../include -I. -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
|
||||
|
||||
DEST = $(DESTDIR)$(libdir)/$(PACKAGE)/ladspa
|
||||
|
||||
all: $(PLUGINS)
|
||||
|
||||
if BUILD_WIN32
|
||||
SHARED_EXT=dll
|
||||
LINKFLAGS=
|
||||
else
|
||||
SHARED_EXT=so
|
||||
LINKFLAGS=-nostartfiles
|
||||
endif
|
||||
|
||||
PLUGINS = tap_autopan.$(SHARED_EXT) \
|
||||
tap_chorusflanger.$(SHARED_EXT) \
|
||||
tap_deesser.$(SHARED_EXT) \
|
||||
tap_dynamics_m.$(SHARED_EXT) \
|
||||
tap_dynamics_st.$(SHARED_EXT) \
|
||||
tap_eq.$(SHARED_EXT) \
|
||||
tap_eqbw.$(SHARED_EXT) \
|
||||
tap_doubler.$(SHARED_EXT) \
|
||||
tap_pinknoise.$(SHARED_EXT) \
|
||||
tap_pitch.$(SHARED_EXT) \
|
||||
tap_reflector.$(SHARED_EXT) \
|
||||
tap_reverb.$(SHARED_EXT) \
|
||||
tap_rotspeak.$(SHARED_EXT) \
|
||||
tap_limiter.$(SHARED_EXT) \
|
||||
tap_sigmoid.$(SHARED_EXT) \
|
||||
tap_echo.$(SHARED_EXT) \
|
||||
tap_tremolo.$(SHARED_EXT) \
|
||||
tap_tubewarmth.$(SHARED_EXT) \
|
||||
tap_vibrato.$(SHARED_EXT)
|
||||
|
||||
|
||||
LDFLAGS = $(LINKFLAGS) -shared -Wl,-no-undefined -Wl,-Bsymbolic -lm
|
||||
|
||||
%.$(SHARED_EXT): %.c
|
||||
$(CC) $(AM_CFLAGS) -c $< -o $<.o
|
||||
$(CC) $(LDFLAGS) $<.o -o $@
|
||||
|
||||
clean:
|
||||
rm -f *.c.o *.$(SHARED_EXT)
|
||||
|
||||
|
||||
install: all
|
||||
install -d $(DEST)
|
||||
install -m 644 $(PLUGINS) $(DEST)
|
||||
|
||||
uninstall:
|
||||
-rm $(DEST)/tap_*.$(SHARED_EXT)
|
||||
|
||||
all: $(PLUGINS)
|
||||
|
||||
EXTRA_DIST = README COPYING CREDITS $(wildcard tap_*.c) $(wildcard tap_*.h) ladspa-local.h
|
||||
@@ -1,34 +0,0 @@
|
||||
/*
|
||||
* ladspa-local.h - include correct LADSPA-header
|
||||
*
|
||||
* Copyright (c) 2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program (see COPYING); if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
#ifdef LMMS_HAVE_LADSPA_H
|
||||
#include <ladspa.h>
|
||||
#else
|
||||
#include "ladspa-1.1.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -29,7 +29,7 @@ bugs or malfunction. */
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin */
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin */
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
|
||||
|
||||
/* ***** VERY IMPORTANT! *****
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
/* The Unique ID of the plugin: */
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ladspa-local.h"
|
||||
#include <ladspa.h>
|
||||
#include "tap_utils.h"
|
||||
|
||||
|
||||
|
||||
3
plugins/lb302/CMakeLists.txt
Normal file
3
plugins/lb302/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(lb302 lb302.cpp lb302.h MOCFILES lb302.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = lb302
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./lb302.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= liblb302.la
|
||||
|
||||
liblb302_la_SOURCES = lb302.cpp lb302.h
|
||||
|
||||
$(liblb302_la_SOURCES): ./embedded_resources.h
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#undef SINGLE_SOURCE_COMPILE
|
||||
#include "embed.cpp"
|
||||
#include "lb302.moc"
|
||||
#include "moc_lb302.cxx"
|
||||
|
||||
|
||||
// Envelope Recalculation period
|
||||
|
||||
3
plugins/lb303/CMakeLists.txt
Normal file
3
plugins/lb303/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(lb303 lb303.cpp lb303.h MOCFILES lb303.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = lb303
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./lb303.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= liblb303.la
|
||||
|
||||
liblb303_la_SOURCES = lb303.cpp lb303.h
|
||||
|
||||
$(liblb303_la_SOURCES): ./embedded_resources.h
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#undef SINGLE_SOURCE_COMPILE
|
||||
#include "embed.cpp"
|
||||
#include "lb303.moc"
|
||||
#include "moc_lb303.cxx"
|
||||
|
||||
|
||||
// Envelope Recalculation period
|
||||
|
||||
3
plugins/live_tool/CMakeLists.txt
Normal file
3
plugins/live_tool/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(livetool live_tool.cpp live_tool.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = livetool
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./live_tool.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = liblivetool.la
|
||||
|
||||
liblivetool_la_SOURCES = live_tool.cpp live_tool.h
|
||||
|
||||
$(liblivetool_la_SOURCES): ./embedded_resources.h
|
||||
@@ -200,7 +200,3 @@ void liveToolView::toggleInstrument( int _n )
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#include "live_tool.moc"
|
||||
|
||||
3
plugins/midi_import/CMakeLists.txt
Normal file
3
plugins/midi_import/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(midiimport midi_import.cpp midi_import.h)
|
||||
@@ -1,28 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = midiimport
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(DLL)
|
||||
|
||||
pkglib_LTLIBRARIES= libmidiimport.la
|
||||
|
||||
libmidiimport_la_SOURCES = midi_import.cpp midi_import.h
|
||||
3
plugins/organic/CMakeLists.txt
Normal file
3
plugins/organic/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(organic organic.cpp organic.h MOCFILES organic.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,47 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = organic
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./organic.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= liborganic.la
|
||||
|
||||
liborganic_la_SOURCES = organic.cpp organic.h
|
||||
$(liborganic_la_SOURCES): ./embedded_resources.h
|
||||
@@ -585,4 +585,4 @@ plugin * PLUGIN_EXPORT lmms_plugin_main( model *, void * _data )
|
||||
|
||||
|
||||
|
||||
#include "organic.moc"
|
||||
#include "moc_organic.cxx"
|
||||
|
||||
3
plugins/patman/CMakeLists.txt
Normal file
3
plugins/patman/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(patman patman.cpp patman.h MOCFILES patman.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,48 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = patman
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./patman.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libpatman.la
|
||||
|
||||
libpatman_la_SOURCES = patman.cpp patman.h
|
||||
|
||||
$(libpatman_la_SOURCES): ./embedded_resources.h
|
||||
@@ -675,4 +675,4 @@ const QStringList & patmanInstrument::subPluginFeatures::supported_extensions(
|
||||
|
||||
|
||||
|
||||
#include "patman.moc"
|
||||
#include "moc_patman.cxx"
|
||||
|
||||
3
plugins/peak_controller_effect/CMakeLists.txt
Normal file
3
plugins/peak_controller_effect/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(peakcontrollereffect peak_controller_effect.cpp peak_controller_effect_controls.cpp peak_controller_effect_control_dialog.cpp peak_controller_effect.h peak_controller_effect_controls.h peak_controller_effect_control_dialog.h MOCFILES peak_controller_effect_controls.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,52 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = peakcontroller_effect
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./peak_controller_effect_controls.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= libpeakcontroller_effect.la
|
||||
|
||||
libpeakcontroller_effect_la_SOURCES = peak_controller_effect.cpp \
|
||||
peak_controller_effect.h \
|
||||
peak_controller_effect_control_dialog.cpp \
|
||||
peak_controller_effect_control_dialog.h \
|
||||
peak_controller_effect_controls.cpp \
|
||||
peak_controller_effect_controls.h
|
||||
|
||||
$(libpeakcontroller_effect_la_SOURCES): ./embedded_resources.h
|
||||
@@ -36,7 +36,7 @@
|
||||
extern "C"
|
||||
{
|
||||
|
||||
plugin::descriptor PLUGIN_EXPORT peakcontroller_effect_plugin_descriptor =
|
||||
plugin::descriptor PLUGIN_EXPORT peakcontrollereffect_plugin_descriptor =
|
||||
{
|
||||
STRINGIFY_PLUGIN_NAME( PLUGIN_NAME ),
|
||||
"Peak Controller",
|
||||
@@ -60,7 +60,7 @@ plugin::descriptor PLUGIN_EXPORT peakcontroller_effect_plugin_descriptor =
|
||||
peakControllerEffect::peakControllerEffect(
|
||||
model * _parent,
|
||||
const descriptor::subPluginFeatures::key * _key ) :
|
||||
effect( &peakcontroller_effect_plugin_descriptor, _parent, _key ),
|
||||
effect( &peakcontrollereffect_plugin_descriptor, _parent, _key ),
|
||||
m_effectId( ++peakController::s_lastEffectId ),
|
||||
m_peakControls( this ),
|
||||
m_autoController( NULL )
|
||||
|
||||
@@ -74,5 +74,5 @@ void peakControllerEffectControls::saveSettings( QDomDocument & _doc,
|
||||
|
||||
|
||||
|
||||
#include "peak_controller_effect_controls.moc"
|
||||
#include "moc_peak_controller_effect_controls.cxx"
|
||||
|
||||
|
||||
8
plugins/sf2_player/CMakeLists.txt
Normal file
8
plugins/sf2_player/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
if(LMMS_HAVE_FLUIDSYNTH)
|
||||
INCLUDE(BuildPlugin)
|
||||
INCLUDE_DIRECTORIES(${FLUIDSYNTH_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${FLUIDSYNTH_LIBRARY_DIRS})
|
||||
LINK_LIBRARIES(${FLUIDSYNTH_LIBRARIES})
|
||||
BUILD_PLUGIN(sf2player sf2_player.cpp sf2_player.h patches_dialog.cpp patches_dialog.h patches_dialog.ui MOCFILES sf2_player.h patches_dialog.h UICFILES patches_dialog.ui EMBEDDED_RESOURCES *.png)
|
||||
endif(LMMS_HAVE_FLUIDSYNTH)
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = sf2player
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
ui_%.h: ./%.ui
|
||||
$(UIC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./sf2_player.moc ./patches_dialog.moc
|
||||
|
||||
UIC_FILES = ./ui_patches_dialog.h
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) -lfluidsynth-1 && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) $(UIC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ${UIC_FILES} ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libsf2player.la
|
||||
|
||||
libsf2player_la_SOURCES = sf2_player.cpp sf2_player.h patches_dialog.cpp patches_dialog.h patches_dialog.ui
|
||||
libsf2player_la_LDFLAGS = -L@fluidsynth_lib@ -lfluidsynth
|
||||
|
||||
$(libsf2player_la_SOURCES): ./embedded_resources.h
|
||||
@@ -361,4 +361,4 @@ void patchesDialog::progChanged (QTreeWidgetItem * _curr, QTreeWidgetItem * _pre
|
||||
}
|
||||
|
||||
|
||||
#include "patches_dialog.moc"
|
||||
#include "moc_patches_dialog.cxx"
|
||||
|
||||
@@ -925,5 +925,5 @@ plugin * lmms_plugin_main( model *, void * _data )
|
||||
|
||||
}
|
||||
|
||||
#include "sf2_player.moc"
|
||||
#include "moc_sf2_player.cxx"
|
||||
|
||||
|
||||
8
plugins/spectrum_analyzer/CMakeLists.txt
Normal file
8
plugins/spectrum_analyzer/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
IF(LMMS_HAVE_FFTW3F)
|
||||
INCLUDE(BuildPlugin)
|
||||
INCLUDE_DIRECTORIES(${FFTW3F_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${FFTW3F_LIBRARY_DIRS})
|
||||
LINK_LIBRARIES(${FFTW3F_LIBRARIES})
|
||||
BUILD_PLUGIN(spectrumanalyzer spectrum_analyzer.cpp spectrumanalyzer_controls.cpp spectrumanalyzer_control_dialog.cpp spectrum_analyzer.h spectrumanalyzer_controls.h spectrumanalyzer_control_dialog.h MOCFILES spectrumanalyzer_controls.h EMBEDDED_RESOURCES *.png)
|
||||
ENDIF(LMMS_HAVE_FFTW3F)
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = spectrumanalyzer
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./spectrumanalyzer_controls.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) -lfftw3f-3 && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES = libspectrumanalyzer.la
|
||||
|
||||
libspectrumanalyzer_la_SOURCES = spectrum_analyzer.cpp \
|
||||
spectrum_analyzer.h \
|
||||
spectrumanalyzer_controls.cpp \
|
||||
spectrumanalyzer_controls.h \
|
||||
spectrumanalyzer_control_dialog.cpp \
|
||||
spectrumanalyzer_control_dialog.h
|
||||
if BUILD_WIN32
|
||||
libspectrumanalyzer_la_LDFLAGS = -lfftw3f-3
|
||||
else
|
||||
libspectrumanalyzer_la_LDFLAGS = -lfftw3f
|
||||
endif
|
||||
|
||||
$(libspectrumanalyzer_la_SOURCES): ./embedded_resources.h
|
||||
@@ -58,5 +58,5 @@ void spectrumAnalyzerControls::saveSettings( QDomDocument & _doc,
|
||||
|
||||
|
||||
|
||||
#include "spectrumanalyzer_controls.moc"
|
||||
#include "moc_spectrumanalyzer_controls.cxx"
|
||||
|
||||
|
||||
4
plugins/stereo_enhancer/CMakeLists.txt
Normal file
4
plugins/stereo_enhancer/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(stereoenhancer stereo_enhancer.cpp stereoenhancer_controls.cpp stereoenhancer_control_dialog.cpp stereo_enhancer.h stereoenhancer_controls.h stereoenhancer_control_dialog.h MOCFILES stereoenhancer_controls.h EMBEDDED_RESOURCES *.png)
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = stereoenhancer
|
||||
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./stereoenhancer_controls.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= libstereoenhancer.la
|
||||
|
||||
libstereoenhancer_la_SOURCES = stereo_enhancer.cpp \
|
||||
stereo_enhancer.h \
|
||||
stereoenhancer_control_dialog.cpp \
|
||||
stereoenhancer_control_dialog.h \
|
||||
stereoenhancer_controls.cpp \
|
||||
stereoenhancer_controls.h
|
||||
|
||||
$(libstereoenhancer_la_SOURCES): ./embedded_resources.h
|
||||
@@ -62,5 +62,5 @@ void stereoEnhancerControls::saveSettings( QDomDocument & _doc,
|
||||
|
||||
|
||||
|
||||
#include "stereoenhancer_controls.moc"
|
||||
#include "moc_stereoenhancer_controls.cxx"
|
||||
|
||||
|
||||
4
plugins/stereo_matrix/CMakeLists.txt
Normal file
4
plugins/stereo_matrix/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
|
||||
BUILD_PLUGIN(stereomatrix stereo_matrix.cpp stereomatrix_controls.cpp stereomatrix_control_dialog.cpp stereo_matrix.h stereomatrix_controls.h stereomatrix_control_dialog.h MOCFILES stereomatrix_controls.h EMBEDDED_RESOURCES *.png)
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PLUGIN_NAME = stereomatrix
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/gui
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="$(PLUGIN_NAME)"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./stereomatrix_controls.moc
|
||||
|
||||
if BUILD_WIN32
|
||||
DLL=$(PLUGIN_NAME).dll
|
||||
|
||||
$(DLL): lib$(PLUGIN_NAME).la
|
||||
$(CXX) *.o -L$(top_srcdir) -llmms-imp -shared -Wl,-no-undefined -o $@ $(QT_LDADD) && $(STRIP) $@
|
||||
|
||||
install-exec-hook: $(DLL)
|
||||
cp $< $(pkglibdir)
|
||||
rm $(pkglibdir)/lib$(PLUGIN_NAME).a $(pkglibdir)/lib$(PLUGIN_NAME).la
|
||||
else
|
||||
DLL=
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h $(DLL)
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= libstereomatrix.la
|
||||
|
||||
libstereomatrix_la_SOURCES = stereo_matrix.cpp \
|
||||
stereo_matrix.h \
|
||||
stereomatrix_control_dialog.cpp \
|
||||
stereomatrix_control_dialog.h \
|
||||
stereomatrix_controls.cpp \
|
||||
stereomatrix_controls.h
|
||||
|
||||
$(libstereomatrix_la_SOURCES): ./embedded_resources.h
|
||||
@@ -76,5 +76,5 @@ void stereoMatrixControls::saveSettings( QDomDocument & _doc,
|
||||
|
||||
|
||||
|
||||
#include "stereomatrix_controls.moc"
|
||||
#include "moc_stereomatrix_controls.cxx"
|
||||
|
||||
|
||||
4
plugins/stk/CMakeLists.txt
Normal file
4
plugins/stk/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
IF(LMMS_HAVE_STK)
|
||||
ADD_SUBDIRECTORY(mallets)
|
||||
ENDIF(LMMS_HAVE_STK)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
SUBDIRS = mallets
|
||||
4
plugins/stk/mallets/CMakeLists.txt
Normal file
4
plugins/stk/mallets/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
INCLUDE(BuildPlugin)
|
||||
INCLUDE_DIRECTORIES(${STK_INCLUDE_DIR})
|
||||
LINK_LIBRARIES(${STK_LIBRARY})
|
||||
BUILD_PLUGIN(malletsstk mallets.cpp mallets.h MOCFILES mallets.h EMBEDDED_RESOURCES *.png)
|
||||
@@ -1,34 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
|
||||
INCLUDES = -I@stk_includes@ -I$(top_srcdir)/include -I$(top_srcdir)/src/gui -I.
|
||||
|
||||
|
||||
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS) -DPLUGIN_NAME="malletsstk"
|
||||
|
||||
|
||||
%.moc: ./%.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
|
||||
MOC_FILES = ./mallets.moc
|
||||
|
||||
BUILT_SOURCES = $(MOC_FILES) ./embedded_resources.h
|
||||
EMBEDDED_RESOURCES = $(wildcard *png)
|
||||
|
||||
./embedded_resources.h: $(EMBEDDED_RESOURCES)
|
||||
$(BIN2RES) $(EMBEDDED_RESOURCES) > $@
|
||||
|
||||
EXTRA_DIST = $(EMBEDDED_RESOURCES)
|
||||
|
||||
|
||||
CLEANFILES = $(MOC_FILES) ./embedded_resources.h
|
||||
|
||||
|
||||
|
||||
pkglib_LTLIBRARIES= libmalletsstk.la
|
||||
|
||||
libmalletsstk_la_SOURCES = mallets.cpp mallets.h
|
||||
libmalletsstk_la_LDFLAGS = -L@stk_lib@ -lstk
|
||||
|
||||
$(libmalletsstk_la_SOURCES): ./embedded_resources.h
|
||||
@@ -665,6 +665,6 @@ plugin * lmms_plugin_main( model *, void * _data )
|
||||
}
|
||||
|
||||
|
||||
#include "mallets.moc"
|
||||
#include "moc_mallets.cxx"
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user