Skip to content

Commit 045bfef

Browse files
committed
added sound file reader & example ; bugfixes
1 parent 8f8af0d commit 045bfef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1277
-67
lines changed

FxBuilds/Builds/Linux/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ ifeq ($(CONFIG),Debug)
1818
TARGET_ARCH := -march=native
1919
endif
2020

21-
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
21+
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
2222
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -fPIC -O0
2323
CXXFLAGS += $(CFLAGS)
2424
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -shared -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt
2525
LDDEPS :=
26-
RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
26+
RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
2727
TARGET := Lua\ Protoplug\ Fx.so
2828
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
2929
CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
@@ -39,12 +39,12 @@ ifeq ($(CONFIG),Release)
3939
TARGET_ARCH := -march=native
4040
endif
4141

42-
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
42+
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
4343
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -O3
4444
CXXFLAGS += $(CFLAGS)
4545
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -shared -fvisibility=hidden -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt
4646
LDDEPS :=
47-
RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
47+
RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
4848
TARGET := Lua\ Protoplug\ Fx.so
4949
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
5050
CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)

FxBuilds/Builds/MacOSX/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<key>CFBundleSignature</key>
1717
<string>PTul</string>
1818
<key>CFBundleShortVersionString</key>
19-
<string>1.0.0</string>
19+
<string>1.1.0</string>
2020
<key>CFBundleVersion</key>
21-
<string>1.0.0</string>
21+
<string>1.1.0</string>
2222
<key>NSHumanReadableCopyright</key>
2323
<string>osar.fr</string>
2424
<key>NSHighResolutionCapable</key>
@@ -39,7 +39,7 @@
3939
<key>subtype</key>
4040
<string>ppgf</string>
4141
<key>version</key>
42-
<integer>65536</integer>
42+
<integer>65792</integer>
4343
</dict>
4444
</array>
4545
</dict>

FxBuilds/Builds/MacOSX/protoplug_fx.xcodeproj/project.pbxproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@
328328
47C43420B70996F424D6FEB4 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ComponentListener.h"; path = "../../../JuceModules/juce_gui_basics/components/juce_ComponentListener.h"; sourceTree = "SOURCE_ROOT"; };
329329
47DE87E971CEB9A0C98AF44E = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_CoreAudioFormat.cpp"; path = "../../../JuceModules/juce_audio_formats/codecs/juce_CoreAudioFormat.cpp"; sourceTree = "SOURCE_ROOT"; };
330330
47E283BF36EC6F7471EB5345 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_TextPropertyComponent.cpp"; path = "../../../JuceModules/juce_gui_basics/properties/juce_TextPropertyComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
331+
4807613CD93E36021708DF80 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = pAudioFormatReader.h; path = ../../../Source/exports/pAudioFormatReader.h; sourceTree = "SOURCE_ROOT"; };
331332
4864987AC0EF8D17CD76372B = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ZipFile.cpp"; path = "../../../JuceModules/juce_core/zip/juce_ZipFile.cpp"; sourceTree = "SOURCE_ROOT"; };
332333
4924560DA2F1D43D52BD66BE = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_FileBrowserComponent.cpp"; path = "../../../JuceModules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
333334
49368FDF68DD6F9E4060120A = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = pGraphics.h; path = ../../../Source/Exports/pGraphics.h; sourceTree = "SOURCE_ROOT"; };
@@ -943,6 +944,7 @@
943944
EEDEB85713A1CE7611B2F29F = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_InterProcessLock.h"; path = "../../../JuceModules/juce_core/threads/juce_InterProcessLock.h"; sourceTree = "SOURCE_ROOT"; };
944945
EF08488D3AD968E3B9C28885 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_audio_formats.mm"; path = "../../../JuceModules/juce_audio_formats/juce_audio_formats.mm"; sourceTree = "SOURCE_ROOT"; };
945946
EF93D6634A769F3CEEDC3337 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_HighResolutionTimer.cpp"; path = "../../../JuceModules/juce_core/threads/juce_HighResolutionTimer.cpp"; sourceTree = "SOURCE_ROOT"; };
947+
EFD3155D9D6D905E2C3E87B1 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = pLagrangeInterpolator.h; path = ../../../Source/exports/pLagrangeInterpolator.h; sourceTree = "SOURCE_ROOT"; };
946948
F02B42F116E996B9628396A7 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = pImage.h; path = ../../../Source/Exports/pImage.h; sourceTree = "SOURCE_ROOT"; };
947949
F03A2247966B390EDDEBD6FA = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ShapeButton.h"; path = "../../../JuceModules/juce_gui_basics/buttons/juce_ShapeButton.h"; sourceTree = "SOURCE_ROOT"; };
948950
F04B7D0EA3A147BFC80F6655 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_mac_SystemStats.mm"; path = "../../../JuceModules/juce_core/native/juce_mac_SystemStats.mm"; sourceTree = "SOURCE_ROOT"; };
@@ -1016,6 +1018,8 @@
10161018
B867999472B4B6D660A52250,
10171019
9826F1C900B02040F46A04CB, ); name = "GUI Classes"; sourceTree = "<group>"; };
10181020
335D8FB6BDAACD96D0FDB0EB = {isa = PBXGroup; children = (
1021+
EFD3155D9D6D905E2C3E87B1,
1022+
4807613CD93E36021708DF80,
10191023
40A7744E0200AE5ACB5C46F1,
10201024
D873C90826567677D0296649,
10211025
59A4DADB51BA82C3D4E71CD9,
@@ -2150,8 +2154,8 @@
21502154
"_NDEBUG=1",
21512155
"NDEBUG=1",
21522156
"JUCER_XCODE_MAC_F6D2F4CF=1",
2153-
"JUCE_APP_VERSION=1.0.0",
2154-
"JUCE_APP_VERSION_HEX=0x10000", );
2157+
"JUCE_APP_VERSION=1.1.0",
2158+
"JUCE_APP_VERSION_HEX=0x10100", );
21552159
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
21562160
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
21572161
GENERATE_PKGINFO_FILE = YES;
@@ -2179,8 +2183,8 @@
21792183
"_DEBUG=1",
21802184
"DEBUG=1",
21812185
"JUCER_XCODE_MAC_F6D2F4CF=1",
2182-
"JUCE_APP_VERSION=1.0.0",
2183-
"JUCE_APP_VERSION_HEX=0x10000", );
2186+
"JUCE_APP_VERSION=1.1.0",
2187+
"JUCE_APP_VERSION_HEX=0x10100", );
21842188
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
21852189
GENERATE_PKGINFO_FILE = YES;
21862190
HEADER_SEARCH_PATHS = ("../../../SDKs/vstsdk2.4_minimal", "../../JuceLibraryCode", "../../../JuceModules", "$(DEVELOPER_DIR)/Extras/CoreAudio/PublicUtility", "$(DEVELOPER_DIR)/Extras/CoreAudio/AudioUnits/AUPublic/Utility", "$(DEVELOPER_DIR)/Extras/CoreAudio/AudioUnits/AUPublic/AUBase", "$(inherited)");

FxBuilds/Builds/VisualStudio2010/protoplug_fx.vcxproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<ClCompile>
6565
<Optimization>Full</Optimization>
6666
<AdditionalIncludeDirectories>..\..\JuceLibraryCode;..\..\..\JuceModules;..\..\..\SDKs\vstsdk2.4_minimal;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
67-
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;JUCER_VS2010_78A501D=1;JUCE_APP_VERSION=1.0.0;JUCE_APP_VERSION_HEX=0x10000;%(PreprocessorDefinitions)</PreprocessorDefinitions>
67+
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;JUCER_VS2010_78A501D=1;JUCE_APP_VERSION=1.1.0;JUCE_APP_VERSION_HEX=0x10100;%(PreprocessorDefinitions)</PreprocessorDefinitions>
6868
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
6969
<RuntimeTypeInfo>true</RuntimeTypeInfo>
7070
<PrecompiledHeader/>
@@ -107,7 +107,7 @@
107107
<Optimization>Disabled</Optimization>
108108
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
109109
<AdditionalIncludeDirectories>..\..\JuceLibraryCode;..\..\..\JuceModules;..\..\..\SDKs\vstsdk2.4_minimal;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
110-
<PreprocessorDefinitions>WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2010_78A501D=1;JUCE_APP_VERSION=1.0.0;JUCE_APP_VERSION_HEX=0x10000;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110+
<PreprocessorDefinitions>WIN32;_WINDOWS;DEBUG;_DEBUG;JUCER_VS2010_78A501D=1;JUCE_APP_VERSION=1.1.0;JUCE_APP_VERSION_HEX=0x10100;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111111
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
112112
<RuntimeTypeInfo>true</RuntimeTypeInfo>
113113
<PrecompiledHeader/>
@@ -148,7 +148,7 @@
148148
<ClCompile>
149149
<Optimization>Full</Optimization>
150150
<AdditionalIncludeDirectories>..\..\JuceLibraryCode;..\..\..\JuceModules;..\..\..\SDKs\vstsdk2.4_minimal;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
151-
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;JUCER_VS2010_78A501D=1;JUCE_APP_VERSION=1.0.0;JUCE_APP_VERSION_HEX=0x10000;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151+
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;JUCER_VS2010_78A501D=1;JUCE_APP_VERSION=1.1.0;JUCE_APP_VERSION_HEX=0x10100;%(PreprocessorDefinitions)</PreprocessorDefinitions>
152152
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
153153
<RuntimeTypeInfo>true</RuntimeTypeInfo>
154154
<PrecompiledHeader/>
@@ -1256,6 +1256,8 @@
12561256
<ClInclude Include="..\..\..\Source\guiclasses\ProtoPopout.h"/>
12571257
<ClInclude Include="..\..\..\Source\guiclasses\ProtoTabButton.h"/>
12581258
<ClInclude Include="..\..\..\Source\guiclasses\ProtoWindow.h"/>
1259+
<ClInclude Include="..\..\..\Source\exports\pLagrangeInterpolator.h"/>
1260+
<ClInclude Include="..\..\..\Source\exports\pAudioFormatReader.h"/>
12591261
<ClInclude Include="..\..\..\Source\Exports\pColourGradient.h"/>
12601262
<ClInclude Include="..\..\..\Source\Exports\pComponent.h"/>
12611263
<ClInclude Include="..\..\..\Source\Exports\pFillType.h"/>

FxBuilds/Builds/VisualStudio2010/protoplug_fx.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,6 +1527,12 @@
15271527
<ClInclude Include="..\..\..\Source\guiclasses\ProtoWindow.h">
15281528
<Filter>protoplug_fx\Source\GUI Classes</Filter>
15291529
</ClInclude>
1530+
<ClInclude Include="..\..\..\Source\exports\pLagrangeInterpolator.h">
1531+
<Filter>protoplug_fx\Source\Exports</Filter>
1532+
</ClInclude>
1533+
<ClInclude Include="..\..\..\Source\exports\pAudioFormatReader.h">
1534+
<Filter>protoplug_fx\Source\Exports</Filter>
1535+
</ClInclude>
15301536
<ClInclude Include="..\..\..\Source\Exports\pColourGradient.h">
15311537
<Filter>protoplug_fx\Source\Exports</Filter>
15321538
</ClInclude>

FxBuilds/Builds/VisualStudio2010/resources.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
#include <windows.h>
88

99
VS_VERSION_INFO VERSIONINFO
10-
FILEVERSION 1,0,0,0
10+
FILEVERSION 1,1,0,0
1111
BEGIN
1212
BLOCK "StringFileInfo"
1313
BEGIN
1414
BLOCK "040904E4"
1515
BEGIN
1616
VALUE "CompanyName", "osar.fr\0"
1717
VALUE "FileDescription", "protoplug_fx\0"
18-
VALUE "FileVersion", "1.0.0\0"
18+
VALUE "FileVersion", "1.1.0\0"
1919
VALUE "ProductName", "protoplug_fx\0"
20-
VALUE "ProductVersion", "1.0.0\0"
20+
VALUE "ProductVersion", "1.1.0\0"
2121
END
2222
END
2323

FxBuilds/JuceLibraryCode/AppConfig.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@
231231
#define JucePlugin_EditorRequiresKeyboardFocus 1
232232
#endif
233233
#ifndef JucePlugin_Version
234-
#define JucePlugin_Version 1.0.0
234+
#define JucePlugin_Version 1.1.0
235235
#endif
236236
#ifndef JucePlugin_VersionCode
237-
#define JucePlugin_VersionCode 0x10000
237+
#define JucePlugin_VersionCode 0x10100
238238
#endif
239239
#ifndef JucePlugin_VersionString
240-
#define JucePlugin_VersionString "1.0.0"
240+
#define JucePlugin_VersionString "1.1.0"
241241
#endif
242242
#ifndef JucePlugin_VSTUniqueID
243243
#define JucePlugin_VSTUniqueID JucePlugin_PluginCode

FxBuilds/JuceLibraryCode/JuceHeader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
namespace ProjectInfo
3737
{
3838
const char* const projectName = "protoplug_fx";
39-
const char* const versionString = "1.0.0";
40-
const int versionNumber = 0x10000;
39+
const char* const versionString = "1.1.0";
40+
const int versionNumber = 0x10100;
4141
}
4242

4343
#endif // __APPHEADERFILE_DVRNRZ__

FxBuilds/protoplug_fx.jucer

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<JUCERPROJECT id="DVRNRz" name="protoplug_fx" projectType="audioplug" version="1.0.0"
3+
<JUCERPROJECT id="DVRNRz" name="protoplug_fx" projectType="audioplug" version="1.1.0"
44
bundleIdentifier="com.pac.protoplugfx" includeBinaryInAppConfig="1"
55
buildVST="1" buildAU="1" pluginName="Lua Protoplug Fx" pluginDesc="Lua Protoplug Effect"
66
pluginManufacturer="pac" pluginManufacturerCode="_PAC" pluginCode="ppgf"
@@ -32,6 +32,10 @@
3232
<FILE id="NHrswD" name="ProtoWindow.h" compile="0" resource="0" file="../Source/guiclasses/ProtoWindow.h"/>
3333
</GROUP>
3434
<GROUP id="{E75D37C8-5952-3ACC-E244-459A757FDFA8}" name="Exports">
35+
<FILE id="zFhIYU" name="pLagrangeInterpolator.h" compile="0" resource="0"
36+
file="../Source/exports/pLagrangeInterpolator.h"/>
37+
<FILE id="lNqSpO" name="pAudioFormatReader.h" compile="0" resource="0"
38+
file="../Source/exports/pAudioFormatReader.h"/>
3539
<FILE id="MJgBYQ" name="pColourGradient.h" compile="0" resource="0"
3640
file="../Source/Exports/pColourGradient.h"/>
3741
<FILE id="CzZhZW" name="pComponent.h" compile="0" resource="0" file="../Source/Exports/pComponent.h"/>

GenBuilds/Builds/Linux/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ ifeq ($(CONFIG),Debug)
1818
TARGET_ARCH := -march=native
1919
endif
2020

21-
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
21+
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
2222
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -fPIC -O0
2323
CXXFLAGS += $(CFLAGS)
2424
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -shared -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt
2525
LDDEPS :=
26-
RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
26+
RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
2727
TARGET := Lua\ Protoplug\ Gen.so
2828
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
2929
CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
@@ -39,12 +39,12 @@ ifeq ($(CONFIG),Release)
3939
TARGET_ARCH := -march=native
4040
endif
4141

42-
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
42+
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
4343
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -O3
4444
CXXFLAGS += $(CFLAGS)
4545
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -shared -fvisibility=hidden -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt
4646
LDDEPS :=
47-
RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
47+
RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "_PROTOGEN=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.1.0" -D "JUCE_APP_VERSION_HEX=0x10100" -I /usr/include -I /usr/include/freetype2 -I ../../../SDKs/vstsdk2.4_minimal -I ../../JuceLibraryCode -I ../../../JuceModules
4848
TARGET := Lua\ Protoplug\ Gen.so
4949
BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
5050
CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)

0 commit comments

Comments
 (0)