-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
50 lines (39 loc) · 1.7 KB
/
Makefile.am
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
50
# Copyright (C) 2015 Lehigh University.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.
# Author: Aykut Bulut, Lehigh University 2015-05-22
AUTOMAKE_OPTIONS = foreign
########################################################################
# Subdirectories #
########################################################################
# subdirs is set by configure as the list of all subdirectories to recurse
# into
SUBDIRS = src
########################################################################
# Creation of the addlibs file #
########################################################################
pkgconfiglibdir = $(libdir)/pkgconfig
pkgconfiglib_DATA = osicplex.pc
addlibsdir = $(DESTDIR)$(datadir)/coin/doc/OsiCplex
install-data-hook:
@$(mkdir_p) "$(addlibsdir)"
if COIN_HAS_PKGCONFIG
PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
$(PKG_CONFIG) --libs osicplex > $(addlibsdir)/osicplex_addlibs.txt
else
if COIN_CXX_IS_CL
echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libOsiCplex.lib @OSICPLEXLIB_LIBS_INSTALLED@" > $(addlibsdir)/osicplex_addlibs.txt
else
echo -L@abs_lib_dir@ -lOsiCplex @OSICPLEXLIB_LIBS_INSTALLED@ > $(addlibsdir)/osicplex_addlibs.txt
endif
endif
uninstall-hook:
rm -f $(addlibsdir)/osicplex_addlibs.txt
########################################################################
# Maintainer Stuff #
########################################################################
CLEANFILES =
# Files that are generated and should be cleaned with make distclean
DISTCLEANFILES =
EXTRA_DIST =
include BuildTools/Makemain.inc