File: Makefile.template

package info (click to toggle)
raster3d 3.0-2-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,988 kB
  • sloc: fortran: 10,785; ansic: 1,057; makefile: 317; sh: 252; csh: 15
file content (60 lines) | stat: -rw-r--r-- 1,647 bytes parent folder | download | duplicates (5)
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
#
# makefile template for Raster3D distribution 3.0
#
# You may want to edit some of the lines below to select
# options or directories appropriate to your local installation.
#
include VERSION
#
# Where to install the program, data files, and manuals
#
prefix  = /usr
bindir  = $(prefix)/bin
datadir = $(prefix)/share/raster3d/materials
mandir  = $(prefix)/share/man/man1
htmldir = $(prefix)/share/raster3d/html
examdir = $(prefix)/share/raster3d/examples

INCDIRS  =	-I/usr/include -I/usr/local/include
LIBDIRS  =	-L/usr/lib

#
# TIFF support (enabled by default)
#     add -DTIFF_SUPPORT to the DEFINES statement.
#     add -ltiff to the LIBS definition.
# The TIFF_INVERT option is a work-around for broken programs
# (e.g. PhotoShop) that don't properly read the TIFF header.
#
  TLIBS =	-ltiff
  TDEFS =	-DTIFF_SUPPORT -DTIFF_INVERT
# TDEFS =	-DTIFF_SUPPORT

#
# libgd support for PNG and JPEG output (enabled by default)
#     add -DGD_SUPPORT to the DEFINES statement.
#     add -lgd to the LIBS definition.
  GDLIBS =	-lgd
  GDDEFS =	-DGD_SUPPORT

#
# Everybody (I think) needs these
#
  CLIBS =	-lm 
  
#
# Support for on-the-fly decompression of input files using gunzip
# (may not work on all systems)
  GDEFS =	-DGUNZIP

#
# Support for SGI imagetools library (-sgi output option to render)
# This probably makes sense only on an Irix workstation, and only
# if you have installed the libimage library.
# Commented out by default. 
# SLIBS =	-limage
# SDEFS =	-DLIBIMAGE_SUPPORT

#
# Any stuff you see below this comment was added by the "make OS" command.
# You can edit it if you like, but it will be lost if you "make OS" again.
#