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
RevLine 
[227]1# Copyright (C) 2003, 2007 International Business Machines and others.
[45]2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
[1183]5## $Id: Makefile.am 1388 2009-08-01 13:12:40Z stefan $
[45]6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.ASL INSTALL.ASL
10
[47]11########################################################################
12#                           Extra Targets                              #
13########################################################################
14
[45]15compdir = compdir
16
[72]17libampl   = $(AMPLSOLVER_A)
[45]18
[1388]19#if SKIPMAKE
20#  alltargets =
21#else
[227]22  alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
[1388]23#endif
[45]24
[227]25all-local: $(alltargets)
26
[72]27if MSVC_COMPILE
[45]28$(libampl):
[732]29        ./compile_MS_ASL
[72]30else
31$(libampl):
[732]32        ./compile_Unix_ASL
[72]33endif
[45]34
[589]35stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
[45]36
[1388]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
[72]54CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
[45]55
[47]56########################################################################
57#                         Maintainer Stuff                             #
58########################################################################
[45]59
[47]60# Files that are generated and should be cleaned with make distclean
[227]61DISTCLEANFILES = $(MAKEOKFILE)
[47]62
63include ../../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.