remove #ifdef HAVE_CONFIG_Hs
[libfirm] / ir / be / becopyilp1.c
index 2a0aca4..44c16d4 100644 (file)
@@ -1,17 +1,32 @@
-/**
- * Author:      Daniel Grund
- * Date:               17.05.2005
- * Copyright:   (c) Universitaet Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
- * CVS-ID:      $Id$
+/*
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
  *
- * ILP formalization using:
- *   ????
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
+/**
+ * @file
+ * @brief   ILP formalization using: ???
+ * @author  Daniel Grund
+ * @date    17.05.2005
+ * @version $Id$
  */
+#include "config.h" /* HAVE_CONFIG_H */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif /* HAVE_CONFIG_H */
+#ifdef WITH_ILP
 
 #include "becopyilp_t.h"
 
@@ -22,14 +37,16 @@ typedef struct _my_env_t {
 } my_env_t;
 
 
-static void ilp1_build(ilp_env_t *ienv) {
-       ienv->lp = new_lpp(ienv->co->name, lpp_minimize);
+int co_solve_ilp1(copy_opt_t *co, double time_limit)
+{
+       (void) co;
+       (void) time_limit;
+       return 1;
 }
 
-static void ilp1_apply(ilp_env_t *ienv) {
+#else /* WITH_ILP */
 
+static INLINE void only_that_you_can_compile_without_WITH_ILP_defined(void) {
 }
 
-int co_solve_ilp1(copy_opt_t *co, double time_limit) {
-       return 1;
-}
+#endif /* WITH_ILP */