File: Makefile.conf

package info (click to toggle)
xmorph 1%3A20140707%2Bnmu2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,368 kB
  • ctags: 2,173
  • sloc: ansic: 24,887; sh: 7,755; cpp: 1,231; makefile: 621; sed: 16
file content (165 lines) | stat: -rw-r--r-- 4,738 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# beginning of file Makefile.conf


## ACGM: all configurations that were in "Makefile"
## in the old version of xmorph are now in this file,
## and here we discuss what has been changed


## DEFINES: C precompiler macros
## -----------------------------
#
# GIMP: Adds GIMP plugin functionality to xmorph.
#   Also define NEED_GIMP=1.  If this is defined, then you may run
#   xmorph both as a standalone application, and by adding it to your
#   ~/.gimp/plug-ins directory (usually via a symlink).  From what I
#   understand, this will not work for tkmorph.  See GIMPLIBS, below.
#
# REAL: Size of a "REAL" used by spline code.
#   Correct value is "double".  Do not change.
#
# RGBA_MESH_WARP: flag to tell RgbaImage to include mesh-based warping
#   methods.  Do not change.
#
# RGBA_TK: flag to tell RgbaImage to include Tk Photo image code.
#   DO NOT DEFINE for xmorph.  Only define for tkmorph.
#   Also change the "all" target if RGBA_TK is changed.
#
# RED_GREEN_COLOR_BLIND: uses blue instead of red for color of
#   'destination' mesh lines and points.
#
# STRDUP_PROTO_BROKEN: For some versions of GNU C, the string.h
#   header file has an incorrect prototype for strdup.  If you
#   experience problems compiling, related to the strdup prototype,
#   then define STRDUP_PROTO_BROKEN.


# For tkmorph:
#DEFINES=-DREAL=double -DRGBA_MESH_WARP -DRGBA_TK

# For colorblind:
#DEFINES=-DREAL=double -DRGBA_MESH_WARP -DRED_GREEN_COLOR_BLIND

# For GIMP plugin:
#DEFINES=-DREAL=double -DRGBA_MESH_WARP -DGIMP -DNEED_GIMP=1

# Broken GNU C:
#DEFINES=-DREAL=double -DRGBA_MESH_WARP -DSTRDUP_PROTO_BROKEN

# Most systems:
#DEFINES=-DREAL=double -DRGBA_MESH_WARP



## acgm: all program specific defines are done in  PROG/Makefile.am
## these are the generic defines
CFLAGS_CONF =  -DREAL=double -DRGBA_MESH_WARP




## XLIBS: X libraries
## ------------------
#
# Must have the X libraries: X11, MIT Athena Widgets, X Toolkit, X Misc Utils
#
# Linux 2.0: must have /usr/X11/lib
#   or /usr/X11R6/lib explicitly in library search path
#
# SunOS (pre-Solaris): Might have to use static X libraries because
#   dynamic X libraries are incomplete.
#
# Solaris: To link to openwin libraries, add -L/usr/openwin/lib
#
# IRIX6.2: Need to have -lcvt after -lXt
#   If you receive an error about an unresolved symbol named
#   SgCvtCreateConversionContext, you need to include -lcvt.
#   The cvt library is available in the goldengate.sw.goldengate package

# Sun Solaris:
#XLIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11

# Linux:
#XLIBS=-L/usr/X11/lib -lXaw -lXmu -lXext -lXt -lX11
#XLIBS=-L/usr/X11R6/lib -lXaw -lXmu -lXext -lXt -lX11

# SGI IRIX:
#XLIBS=              -lXaw -lXmu -lXext -lXt -lcvt -lX11

## ACGM: this is the new autoconf way:
## unfortunately I would say that     -lcvt will not be added by default
##  for Irix systems....
##
XLIBS= @X_LIBS@ @X_PRE_LIBS@ -lXaw -lXmu -lXext -lXt -lX11 @X_EXTRA_LIBS@


## GIMPLIBS: GIMP libraries
## ------------------------
# If you have defined -DGIMP in the DEFINES section, then xmorph will
# be built to run both as a standalone application and as a GIMP
# plugin.  Here, you need to specify the appropriate GIMP libraries.
#
# Comment out this variable if you have not used -DGIMP.

#GIMPLIBS=-L/usr/local/lib -lgimp -lglib
#GIMPLIBS=-lgimp -lglib

## ACGM : if you do not use the GIMP, you still need to define the 
##  variable, otherwise Automake will warn you
GIMPLIBS=


## NON_GUI_LIBS: libraries which are not part of the GUI
## -----------------------------------------------------
#
# Must have the math library (-lm).
#
#
# Linux: Add -ldl if you get link error regarding dlerror, dlopen, or
#   dlsym
#
#
# FreeBSD: Do not use static libraries, because for some reason they
#   do not work.
#
#
# SunOS: Use the /usr/lib/debug/malloc.o module if you want to do
#   memory checking.
#   Also see the CFLAGS comments about memory checking under SunOS.
#
#
# SGI IRIX: Use -lmalloc to link with their special memory allocation
#   routines.  If you get an error about mallopt being
#   unresolved, then you will have to link with the libmalloc
#   shared object.  Do this by specifying -lmalloc here.
#
#   -lmalloc_cv has more robust memory checking

#NON_GUI_LIBS = -lm
#NON_GUI_LIBS = -lm -ldl
#NON_GUI_LIBS = -lm /usr/lib/debug/malloc.o
#NON_GUI_LIBS = -lm -lmalloc


## ACGM: we surely need this
NON_GUI_LIBS = -lm


## LIBS: loader options to link with libraries
## -------------------------------------------
#
### ACGM : the project now ignores this variable
#
# Read the man page for your linker before sending me email about
# problems.
#
# Apollo w/ Domain/OS, BSD: omit XLIBS

#LIBS = $(GIMPLIBS) $(NON_GUI_LIBS)
#LIBS =





# end of file Makefile.conf