File: Makefile.am

package info (click to toggle)
clp 1.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,532 kB
  • ctags: 3,795
  • sloc: cpp: 102,181; sh: 9,835; xml: 3,681; makefile: 449; ansic: 121
file content (49 lines) | stat: -rw-r--r-- 1,632 bytes parent folder | download | duplicates (2)
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
# Copyright (C) 2006 International Business Machines and others.
# All Rights Reserved.
# This file is distributed under the Common Public License.

## $Id: Makefile.am 26 2006-05-31 22:26:19Z andreasw $

# Author:  Andreas Waechter           IBM    2006-04-13

AUTOMAKE_OPTIONS = foreign

########################################################################
#                List files that should be distributed                 #
########################################################################

EXTRA_DIST = $(EXAMPLE_FILES)

########################################################################
#           Extra targets for uncompressing the .gz files              #
########################################################################

# If configure has been run with --enable-gnu-packages, we assume that
# compressed files can be read and that we don't have to uncompress.
# Otherwise, we uncompress the files
if COIN_HAS_ZLIB
uncompress: skipunzip
else
uncompress: unzip
endif

# This target still leaves the original compressed files around
unzip: $(EXAMPLE_UNCOMPRESSED_FILES)

$(EXAMPLE_UNCOMPRESSED_FILES):
	gzip -d -c $@.gz > $@

skipunzip:
	echo "Skipping decompression (package compiled with --enable-gnu-packages)"

.PHONY: uncompress unzip skipunzip

########################################################################
#                  List files that should be cleaned                   #
########################################################################

CLEANFILES = $(EXAMPLE_UNCOMPRESSED_FILES)

DISTCLEANFILES = $(EXAMPLE_CLEAN_FILES)

include ../../BuildTools/Makemain.inc