Debian Codegraph @

SYMPHONY/Applications/MPP/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 # the Mixed Postman Problem. #
7 # #
8 # (c) Copyright 2005 Lehigh University. All Rights Reserved. #
9 # #
10 # This application was originally developed by Andrew Hofmann and was #
11 # modified by 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 = mpp
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 MPP source file names
53 ##############################################################################
54
55 USER_LP_SRC = mpp_lp_branch.c mpp_lp.c
56 ifeq ($(COMPILE_IN_CG),TRUE)
57 USER_LP_SRC += mpp_cg.c
58 endif
59
60 USER_TM_SRC =
61 ifeq ($(COMPILE_IN_LP),TRUE)
62 USER_TM_SRC += $(USER_LP_SRC)
63 endif
64 ifeq ($(COMPILE_IN_CP),TRUE)
65 USER_TM_SRC += mpp_cp.c
66 endif
67
68 USER_MASTER_SRC = mpp_main.c mpp_master.c
69
70 ifeq ($(COMPILE_IN_TM),TRUE)
71 USER_MASTER_SRC += $(USER_TM_SRC)
72 endif
73
74 USER_CG_SRC = mpp_cg.c
75
76 USER_CP_SRC = mpp_cp.c
77
78 USER_DG_SRC = mpp_dg.c
79
80 USER_SRCDIR =
81 USER_INCDIR =
82
83 ##############################################################################
84 # This is the flag for the SYMPHONY Makefile to determine whether
85 # SYMPHONY is being compiled by itself or as part of a user-defined
86 # application. You shouldn't need to modify this variable.
87 ##############################################################################
88
89 USE_SYM_APPL = TRUE
90
91 ##############################################################################
92 # If you want to build SYMPHONY in a directory outside the source tree,
93 # uncomment this and fill in the directory here. Setting these variables will
94 # cause object, library, and binary files associated with SYMPHONY and the
95 # user's application to be built and installed in the corresponding
96 # directories. This is helpful if the user doesn't have write access to the
97 # directory where SYMPHONY is installed.
98 ##############################################################################
99
100 SYMBUILDDIR = $(SYMPHONYROOT)
101 USERBUILDDIR = $(USERROOT)
102
103 ##############################################################################
104 # Include the SYMPHONY makefile after all the source file names (and before
105 # any used-defined targets!)
106 ##############################################################################
107
108 include $(SYMPHONYROOT)/Makefile