File: Makefile.am

package info (click to toggle)
xmakemol 5.15-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,592 kB
  • ctags: 1,305
  • sloc: ansic: 18,178; sh: 2,794; makefile: 114; perl: 98
file content (92 lines) | stat: -rw-r--r-- 2,190 bytes parent folder | download
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
#  Copyright (C) 2001, 2002, 2003, 2004 Matthew P. Hodges
#  This file is part of XMakemol.

#  XMakemol is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2, or (at your option)
#  any later version.

#  XMakemol is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.

#  You should have received a copy of the GNU General Public License
#  along with XMakemol; see the file COPYING. If not, write to the
#  Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
#  MA 02111-1307 USA

DATA_DIR=${prefix}/share/xmakemol
ELEM_FILE=$(DATA_DIR)/elements
CFLAGS = @CFLAGS@ -DELEMENTS=\"${ELEM_FILE}\"

# List of non-source files that are included in the distribution package 
# created by the `make dist'.  Note that there is no more `VERSION' file
# as the `configure.in' already contains the current version number.
EXTRA_DIST = \
	elements \
	PROBLEMS \
	Makefile.orig \
	ToDo.txt \
	xmake_anim.pl \
	xmakemol.1 \
	xmake_anim.pl.1 \
	xmakemol.html \
	xmakemol.txt \
	examples/water.xyz \
	examples/C60.xyz \
	examples/caffeine.xyz

# Executables installed to `bin' directory.
bin_PROGRAMS = xmakemol
bin_SCRIPTS = xmake_anim.pl

# Sources making up the `xmakemol' executable.
EXTRA_xmakemol_SOURCES = \
	bbox.h \
	config.h \
	draw.h \
	globals.h  \
	view.h \
	bonds.h \
	defs.h \
	gl_funcs.h \
	vectors.h \
	xm_logo.h \
	gl2ps.h

xmakemol_SOURCES = \
	animate.c \
	basename.c \
	bbox.c \
	canvas.c \
	control.c \
	crystal.c \
	draw.c \
	edit.c \
	fig.c \
	file.c \
	frames.c \
	gl_funcs.c \
	help.c \
	menus.c \
	region.c \
	rotate.c \
	sort.c \
	store.c \
	track.c \
	translate.c \
	utils.c \
	vectors.c \
	view.c \
	xmakemol.c  \
	gl2ps.c

xmakemol_LDADD= @GL_LIBS@ @XM_LIBS@ @XT_LIBS@ @XPM_LIBS@ @XEXT_LIBS@ @XI_LIBS@ @X11_LIBS@

# List of files installed to data directory.
elemdir = $(DATA_DIR)
elem_DATA = elements

# List of manual pages installed.
man_MANS = xmakemol.1