Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean and document all the SConstruct files.

darcs-hash:20051111132904-71b0c-d890d6e742bca2c81613cf52b1bf67ca7e3e4c41.gz
  • Loading branch information...
commit c7d4cedddaa42fe3ba7b64ac704b38086009a84f 1 parent 2213ef4
@pupeno authored
View
1  SConstruct
@@ -7,6 +7,7 @@
# scons-chicken 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 scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+# Create an environment.
env = Environment()
# Configuration.
View
6 TODO
@@ -1,11 +1,5 @@
-- Document:
- - All the SConstruct files.
- Finish the examples:
- Make sc-mfp depending on sc-mfl.
- Not have to pass env to env.ChickenSetup as first parameter.
- Make a scanner to look for (include blah) http://www.scons.org/doc/HTML/scons-user/c2244.html
- Release scons-chicken 0.1.0 when there's nothing else above this line.
-
-- Check if we can call chicken-cofig on CheckChicken to have thi right flags even if the programer is not setting the right flags for his/her program.
-- Can the .setup file be created outomaticall from the .so file handlers ?
-- Release scons-chicken 0.2.0 when there's nothing else above this line.
View
4 examples/sc-mfl/SConstruct
@@ -17,8 +17,8 @@ sc_mfl, sc_mfl_setup = env.ChickenExtension(env,
"sc-mfl",
["sc-mfl1.scm", "sc-mfl2.scm"],
REQUIRES=["sc-ofl"])
-
-# Install the .so files and the .setup file on the extension directory.
env.Install(env['CHICKENREPOSITORY'], sc_mfl)
env.Install(env['CHICKENREPOSITORY'], sc_mfl_setup)
+
+# Install alias.
env.Alias('install', env['CHICKENREPOSITORY'])
View
7 examples/sc-ofl/SConstruct
@@ -13,10 +13,9 @@ env = Environment(tools = ["default", "chicken"], toolpath=["../../"])
# env = Environment(tools = ["default", "chicken"])
# sc-ofl.so made of sc-ofl.scm.
-# SHLIBPREFIX = "" is needed so we generate sc-mfl1.so instead of libsc-mfl1.so.
-sc_ofl, sc_ofl_setup = env.ChickenExtension(env, "sc-ofl.scm", SHLIBPREFIX = "")
-
-# Instal the lib and the .setup file.
+sc_ofl, sc_ofl_setup = env.ChickenExtension(env, "sc-ofl.scm")
env.Install(env['CHICKENREPOSITORY'], sc_ofl)
env.Install(env['CHICKENREPOSITORY'], sc_ofl_setup)
+
+# Install alias
env.Alias('install', env['CHICKENREPOSITORY'])
View
4 examples/sc-ofp/SConstruct
@@ -14,7 +14,7 @@ env = Environment(tools = ["default", "chicken"], toolpath=["../../"])
# sc-ofp (executable binary) made of sc-ofp.scm.
sc_ofp = env.ChickenProgram(env, "sc-ofp.scm")
-
-# Install sc-ofp.
env.Install('/usr/bin/', sc_ofp)
+
+# Install alias.
env.Alias('install', '/usr/bin/')
View
4 examples/sc-sap/SConstruct
@@ -14,7 +14,7 @@ env = Environment(tools = ["default", "chicken"], toolpath=["../../"])
# sc-sap (executable binary) made of sc-sap.scm.
sc_sap = env.ChickenProgram(env, "sc-sap.scm")
-
-# Install sc-sap.
env.Install('/usr/bin/', sc_sap)
+
+# Install alias.
env.Alias('install', '/usr/bin/')
Please sign in to comment.
Something went wrong with that request. Please try again.