Debian Codegraph @

SYMPHONY/Applications/SPP+CUTS/Makefile.orig

raw
1 ##############################################################################
2 ##############################################################################
3 # #
4 # This file is part of a demonstration application for use with the #
5 # SYMPHONY MILP Solver Framework. This application is a solver for #
6 # Set Partitioning Problems. #
7 # #
8 # (c) Copyright 2005 Marta Eso and Ted Ralphs. All Rights Reserved. #
9 # #
10 # This application was originally developed by Marta Eso and was modified #
11 # Ted Ralphs ([email protected]) #
12 # #
13 # This software is licensed under the Eclipse Public License. Please see #
14 # accompanying file for terms. #
15 # #
16 ##############################################################################
17 ##############################################################################
18
19 ##############################################################################
20 # First, we have to define some variables that will be used
21 ##############################################################################
22
23 ##############################################################################
24 # SYMPHONY's home directory
25 ##############################################################################
26
27 SYMPHONYROOT = ../..
28
29 ##############################################################################
30 # The home directory of the user files (must be an absolute path)
31 ##############################################################################
32
33 USERROOT = .
34
35 ##############################################################################
36 # The customized name of the master program (if desired)
37 ##############################################################################
38
39 MASTERNAME = spp
40
41 ##############################################################################
42 # These are only needed if parallel computation is used. Please see the
43 # explanation of these variables in SYMPHONY's configuration file.
44 ##############################################################################
45
46 COMPILE_IN_TM = TRUE
47 COMPILE_IN_LP = TRUE
48 COMPILE_IN_CG = TRUE
49 COMPILE_IN_CP = TRUE
50
51 ##############################################################################
52 # This section is for listing SPP source file names
53 ##############################################################################
54
55 USER_COMMON_SRC = spp_common.c
56
57 USER_CG_SRC = spp_cg.c spp_cg_functions.c spp_cg_clique.c
58
59 USER_CP_SRC = spp_cp.c
60
61 USER_DG_SRC = spp_dg.c
62
63 USER_LP_SRC = spp_lp.c spp_lp_branch.c spp_lp_functions.c $(USER_COMMON_SRC)
64 ifeq ($(COMPILE_IN_CG),TRUE)
65 USER_LP_SRC += $(USER_CG_SRC)
66 endif
67
68 USER_TM_SRC =
69 ifeq ($(COMPILE_IN_LP),TRUE)
70 USER_TM_SRC += $(USER_LP_SRC)
71 endif
72 ifeq ($(COMPILE_IN_CP),TRUE)
73 USER_TM_SRC += $(USER_CP_SRC)
74 endif
75
76 USER_MASTER_SRC = spp_main.c spp_master.c spp_master_functions.c
77 ifeq ($(COMPILE_IN_LP),FALSE)
78 USER_MASTER_SRC += $(USER_COMMON_SRC)
79 endif
80
81 ifeq ($(COMPILE_IN_TM),TRUE)
82 USER_MASTER_SRC += $(USER_TM_SRC)
83 endif
84
85 USER_SRCDIR =
86 USER_INCDIR =
87
88 ##############################################################################
89 # This is the flag for the SYMPHONY Makefile to determine whether
90 # SYMPHONY is being compiled by itself or as part of a user-defined
91 # application. You shouldn't need to modify this variable.
92 ##############################################################################
93
94 USE_SYM_APPL = TRUE
95
96 ##############################################################################
97 # If you want to build SYMPHONY in a directory outside the source tree,
98 # uncomment this and fill in the directory here. Setting these variables will
99 # cause object, library, and binary files associated with SYMPHONY and the
100 # user's application to be built and installed in the corresponding
101 # directories. This is helpful if the user doesn't have write access to the
102 # directory where SYMPHONY is installed.
103 ##############################################################################
104
105 SYMBUILDDIR = $(SYMPHONYROOT)
106 USERBUILDDIR = $(USERROOT)
107
108 ##############################################################################
109 # Include the SYMPHONY makefile after all the source file names (and before
110 # any used-defined targets!)
111 ##############################################################################
112
113 include $(SYMPHONYROOT)/Makefile