source: ThirdParty/ASL/branches/BSPsplit/Makefile.am @ 1454

Last change on this file since 1454 was 1454, checked in by stefan, 10 years ago

add .pc files for ASL, HSL, and FilterSQP

  • 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 1454 2009-11-29 18:27:05Z 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
19#if SKIPMAKE
20#  alltargets =
21#else
22  alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
23#endif
24
25all-local: $(alltargets)
26
27if MSVC_COMPILE
28$(libampl):
29        ./compile_MS_ASL
30else
31$(libampl):
32        ./compile_Unix_ASL
33endif
34
35stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
36
37thirdpartylibdir = $(prefix)/lib/ThirdParty
38install-exec-local: $(libampl)
39        test -z "$(DESTDIR)$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
40        $(install_sh_DATA) $(libampl) "$(DESTDIR)$(thirdpartylibdir)/$(libampl)"
41
42uninstall-local:
43        rm -f $(DESTDIR)$(thirdpartylibdir)/$(libampl)
44
45addlibsdir = $(prefix)/share/doc/coin/ThirdParty/ASL
46addlibs_DATA = README asl_addlibs.txt
47
48thirdpartyincludedir = $(includedir)/coin/ThirdParty
49thirdpartyinclude_HEADERS = \
50  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
51  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
52  stdio1.h arith.h
53
54pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
55pkgconfiglib_DATA = asl.pc
56
57CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
58
59########################################################################
60#                         Maintainer Stuff                             #
61########################################################################
62
63# Files that are generated and should be cleaned with make distclean
64DISTCLEANFILES = $(MAKEOKFILE)
65
66include ../../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.