diff --git a/Feldspar/C/feldspar.c b/Feldspar/C/feldspar.c
--- a/Feldspar/C/feldspar.c
+++ b/Feldspar/C/feldspar.c
@@ -1,3 +1,35 @@
+/*
+ * Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 
+ *     * Redistributions of source code must retain the above copyright
+ *     notice,
+ *       this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer
+ *       in the documentation and/or other materials provided with the
+ *       distribution.
+ *     * Neither the name of the ERICSSON AB nor the names of its
+ *     contributors
+ *       may be used to endorse or promote products derived from this
+ *       software without specific prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #include "feldspar.h"
 
 
diff --git a/Feldspar/C/feldspar.h b/Feldspar/C/feldspar.h
--- a/Feldspar/C/feldspar.h
+++ b/Feldspar/C/feldspar.h
@@ -1,3 +1,35 @@
+/*
+ * Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 
+ *     * Redistributions of source code must retain the above copyright
+ *     notice,
+ *       this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer
+ *       in the documentation and/or other materials provided with the
+ *       distribution.
+ *     * Neither the name of the ERICSSON AB nor the names of its
+ *     contributors
+ *       may be used to endorse or promote products derived from this
+ *       software without specific prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #ifndef FELDSPAR_H
 #define FELDSPAR_H
 
diff --git a/Feldspar/Compiler.hs b/Feldspar/Compiler.hs
--- a/Feldspar/Compiler.hs
+++ b/Feldspar/Compiler.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 module Feldspar.Compiler
     ( compile
     , icompile
diff --git a/Feldspar/Compiler/Compiler.hs b/Feldspar/Compiler/Compiler.hs
--- a/Feldspar/Compiler/Compiler.hs
+++ b/Feldspar/Compiler/Compiler.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 module Feldspar.Compiler.Compiler
     ( compile
     , standaloneCompile
diff --git a/Feldspar/Compiler/CompilerMain.hs b/Feldspar/Compiler/CompilerMain.hs
--- a/Feldspar/Compiler/CompilerMain.hs
+++ b/Feldspar/Compiler/CompilerMain.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE CPP #-}
 module Main where
 
diff --git a/Feldspar/Compiler/Error.hs b/Feldspar/Compiler/Error.hs
--- a/Feldspar/Compiler/Error.hs
+++ b/Feldspar/Compiler/Error.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 module Feldspar.Compiler.Error where
 
 data ErrorClass = InvariantViolation | InternalError
diff --git a/Feldspar/Compiler/Imperative/CodeGeneration.hs b/Feldspar/Compiler/Imperative/CodeGeneration.hs
--- a/Feldspar/Compiler/Imperative/CodeGeneration.hs
+++ b/Feldspar/Compiler/Imperative/CodeGeneration.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE FlexibleInstances #-}
 
 module Feldspar.Compiler.Imperative.CodeGeneration where
diff --git a/Feldspar/Compiler/Imperative/Representation.hs b/Feldspar/Compiler/Imperative/Representation.hs
--- a/Feldspar/Compiler/Imperative/Representation.hs
+++ b/Feldspar/Compiler/Imperative/Representation.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeFamilies #-}
 
 module Feldspar.Compiler.Imperative.Representation where
diff --git a/Feldspar/Compiler/Imperative/Semantics.hs b/Feldspar/Compiler/Imperative/Semantics.hs
--- a/Feldspar/Compiler/Imperative/Semantics.hs
+++ b/Feldspar/Compiler/Imperative/Semantics.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeFamilies, EmptyDataDecls, FlexibleContexts #-}
 module Feldspar.Compiler.Imperative.Semantics where
 
diff --git a/Feldspar/Compiler/Options.hs b/Feldspar/Compiler/Options.hs
--- a/Feldspar/Compiler/Options.hs
+++ b/Feldspar/Compiler/Options.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 module Feldspar.Compiler.Options where
 
 data Options =
diff --git a/Feldspar/Compiler/PluginArchitecture.hs b/Feldspar/Compiler/PluginArchitecture.hs
--- a/Feldspar/Compiler/PluginArchitecture.hs
+++ b/Feldspar/Compiler/PluginArchitecture.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeFamilies, FlexibleContexts, Rank2Types #-}
 
 module Feldspar.Compiler.PluginArchitecture (
diff --git a/Feldspar/Compiler/PluginArchitecture/DefaultConvert.hs b/Feldspar/Compiler/PluginArchitecture/DefaultConvert.hs
--- a/Feldspar/Compiler/PluginArchitecture/DefaultConvert.hs
+++ b/Feldspar/Compiler/PluginArchitecture/DefaultConvert.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE UndecidableInstances, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances #-}
 
 module Feldspar.Compiler.PluginArchitecture.DefaultConvert where
diff --git a/Feldspar/Compiler/Plugins/BackwardPropagation.hs b/Feldspar/Compiler/Plugins/BackwardPropagation.hs
--- a/Feldspar/Compiler/Plugins/BackwardPropagation.hs
+++ b/Feldspar/Compiler/Plugins/BackwardPropagation.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE EmptyDataDecls, TypeFamilies, FlexibleInstances #-}
 
 module Feldspar.Compiler.Plugins.BackwardPropagation 
diff --git a/Feldspar/Compiler/Plugins/ConstantFolding.hs b/Feldspar/Compiler/Plugins/ConstantFolding.hs
--- a/Feldspar/Compiler/Plugins/ConstantFolding.hs
+++ b/Feldspar/Compiler/Plugins/ConstantFolding.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeFamilies #-}
 
 module Feldspar.Compiler.Plugins.ConstantFolding where
diff --git a/Feldspar/Compiler/Plugins/ForwardPropagation.hs b/Feldspar/Compiler/Plugins/ForwardPropagation.hs
--- a/Feldspar/Compiler/Plugins/ForwardPropagation.hs
+++ b/Feldspar/Compiler/Plugins/ForwardPropagation.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE EmptyDataDecls, TypeFamilies, FlexibleInstances #-}
 
 module Feldspar.Compiler.Plugins.ForwardPropagation where
diff --git a/Feldspar/Compiler/Plugins/HandlePrimitives.hs b/Feldspar/Compiler/Plugins/HandlePrimitives.hs
--- a/Feldspar/Compiler/Plugins/HandlePrimitives.hs
+++ b/Feldspar/Compiler/Plugins/HandlePrimitives.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeFamilies #-}
 
 module Feldspar.Compiler.Plugins.HandlePrimitives
diff --git a/Feldspar/Compiler/Plugins/Precompilation.hs b/Feldspar/Compiler/Plugins/Precompilation.hs
--- a/Feldspar/Compiler/Plugins/Precompilation.hs
+++ b/Feldspar/Compiler/Plugins/Precompilation.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE EmptyDataDecls, TypeFamilies #-}
 
 module Feldspar.Compiler.Plugins.Precompilation where
diff --git a/Feldspar/Compiler/Plugins/PrettyPrint.hs b/Feldspar/Compiler/Plugins/PrettyPrint.hs
--- a/Feldspar/Compiler/Plugins/PrettyPrint.hs
+++ b/Feldspar/Compiler/Plugins/PrettyPrint.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeFamilies #-}
 
 module Feldspar.Compiler.Plugins.PrettyPrint where
diff --git a/Feldspar/Compiler/Plugins/PropagationUtils.hs b/Feldspar/Compiler/Plugins/PropagationUtils.hs
--- a/Feldspar/Compiler/Plugins/PropagationUtils.hs
+++ b/Feldspar/Compiler/Plugins/PropagationUtils.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 
 module Feldspar.Compiler.Plugins.PropagationUtils where
diff --git a/Feldspar/Compiler/Plugins/Unroll.hs b/Feldspar/Compiler/Plugins/Unroll.hs
--- a/Feldspar/Compiler/Plugins/Unroll.hs
+++ b/Feldspar/Compiler/Plugins/Unroll.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE FlexibleInstances, TypeFamilies #-}
 
 module Feldspar.Compiler.Plugins.Unroll where
diff --git a/Feldspar/Compiler/Precompiler/Precompiler.hs b/Feldspar/Compiler/Precompiler/Precompiler.hs
--- a/Feldspar/Compiler/Precompiler/Precompiler.hs
+++ b/Feldspar/Compiler/Precompiler/Precompiler.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 module Feldspar.Compiler.Precompiler.Precompiler where
 
 import System.IO
diff --git a/Feldspar/Compiler/Transformation/GraphToImperative.hs b/Feldspar/Compiler/Transformation/GraphToImperative.hs
--- a/Feldspar/Compiler/Transformation/GraphToImperative.hs
+++ b/Feldspar/Compiler/Transformation/GraphToImperative.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE FlexibleInstances #-}
 
 module Feldspar.Compiler.Transformation.GraphToImperative where
diff --git a/Feldspar/Compiler/Transformation/GraphUtils.hs b/Feldspar/Compiler/Transformation/GraphUtils.hs
--- a/Feldspar/Compiler/Transformation/GraphUtils.hs
+++ b/Feldspar/Compiler/Transformation/GraphUtils.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE FlexibleInstances, TypeSynonymInstances #-}
 
 module Feldspar.Compiler.Transformation.GraphUtils
diff --git a/Feldspar/Compiler/Transformation/Lifting.hs b/Feldspar/Compiler/Transformation/Lifting.hs
--- a/Feldspar/Compiler/Transformation/Lifting.hs
+++ b/Feldspar/Compiler/Transformation/Lifting.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 {-# LANGUAGE FlexibleInstances #-}
 
 module Feldspar.Compiler.Transformation.Lifting where
diff --git a/Feldspar/Fs2dot.hs b/Feldspar/Fs2dot.hs
--- a/Feldspar/Fs2dot.hs
+++ b/Feldspar/Fs2dot.hs
@@ -1,3 +1,35 @@
+{-
+ - Copyright (c) 2009-2010, ERICSSON AB All rights reserved.
+ - 
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions
+ - are met:
+ - 
+ -     * Redistributions of source code must retain the above copyright
+ -     notice,
+ -       this list of conditions and the following disclaimer.
+ -     * Redistributions in binary form must reproduce the above copyright
+ -       notice, this list of conditions and the following disclaimer
+ -       in the documentation and/or other materials provided with the
+ -       distribution.
+ -     * Neither the name of the ERICSSON AB nor the names of its
+ -     contributors
+ -       may be used to endorse or promote products derived from this
+ -       software without specific prior written permission.
+ - 
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ -}
+
 -- |Fs2dot is to help us create a visualisation of an algorithm written in
 -- Feldspar by converting its graph into dot format -- which can be further
 -- processed by the Graphviz suite.
diff --git a/feldspar-compiler.cabal b/feldspar-compiler.cabal
--- a/feldspar-compiler.cabal
+++ b/feldspar-compiler.cabal
@@ -1,5 +1,5 @@
 name:           feldspar-compiler
-version:        0.2
+version:        0.2.1
 cabal-version:  >= 1.2.3
 build-type:     Simple
 license:        BSD3
