source: ThirdParty/ASL/stable/1.1/Makefile.am @ 1740

Last change on this file since 1740 was 1740, checked in by stefan, 9 years ago

add empty test target, so we can run a full prepare_new_release

  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1# Copyright (C) 2003, 2007 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 1740 2010-11-03 06:29:52Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.ASL INSTALL.ASL
10
11########################################################################
12#                           Extra Targets                              #
13########################################################################
14
15compdir = compdir
16
17libampl   = $(AMPLSOLVER_A)
18
19alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
20
21all-local: $(alltargets)
22
23if MSVC_COMPILE
24$(libampl):
25        ./compile_MS_ASL
26else
27$(libampl):
28        ./compile_Unix_ASL
29endif
30
31stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
32
33thirdpartyincludedir = $(includedir)/coin/ThirdParty
34thirdpartyinclude_HEADERS = \
35  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
36  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
37  stdio1.h arith.h
38
39thirdpartylibdir = $(libdir)/coin/ThirdParty
40thirdpartylib_DATA = $(libampl)
41
42pkgconfiglibdir = $(libdir)/pkgconfig
43pkgconfiglib_DATA = coinasl.pc
44
45if COIN_HAS_PKGCONFIG
46addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/ASL
47       
48install-data-hook:
49        @$(mkdir_p) "$(addlibsdir)"
50        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
51        $(PKG_CONFIG) --libs coinasl > $(addlibsdir)/asl_addlibs.txt
52       
53uninstall-hook:
54        rm -f $(addlibsdir)/asl_addlibs.txt
55endif
56
57test: $(libampl)
58        @echo "No test available for ASL."
59
60CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
61
62########################################################################
63#                         Maintainer Stuff                             #
64########################################################################
65
66# Files that are generated and should be cleaned with make distclean
67DISTCLEANFILES = $(MAKEOKFILE)
68
69include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.