Root/csound/files/custom.py

1'''
2Modify this file, by platform, to handle nonstandard options for third-party
3dependencies. If you do modify this file, you should make it read-only
4(or otherwise protect it) so that CVS will not overwrite it.
5
6Order is important: place local paths ahead of system paths.
7'''
8import sys
9import os
10
11customCPPPATH = []
12customCCFLAGS = []
13customCXXFLAGS = []
14customLIBS = []
15customLIBPATH = []
16customSHLINKFLAGS = []
17customSWIGFLAGS = []
18
19if sys.platform[:5] == 'linux':
20    platform = 'linux'
21    customCPPPATH.append(os.environ['LDFLAGS'])
22    customCCFLAGS.append(os.environ['CFLAGS'])
23    customCXXFLAGS.append(os.environ['CFLAGS'])
24    customLIBPATH.append(os.environ['LDFLAGS'])
25else:
26    platform = 'unsupported platform'
27
28

Archive Download this file



interactive