source: ThirdParty/ASL/trunk/Makefile.am @ 1388

Last change on this file since 1388 was 1388, checked in by stefan, 11 years ago

install libraries and header files

  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 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 1388 2009-08-01 13:12:40Z 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
54CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
55
56########################################################################
57#                         Maintainer Stuff                             #
58########################################################################
59
60# Files that are generated and should be cleaned with make distclean
61DISTCLEANFILES = $(MAKEOKFILE)
62
63include ../../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.