File: Makefile.am

package info (click to toggle)
coinor-ipopt 3.11.9-2.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 24,616 kB
  • sloc: cpp: 75,373; sh: 11,170; ansic: 2,798; makefile: 2,247; java: 632; fortran: 342
file content (73 lines) | stat: -rw-r--r-- 2,110 bytes parent folder | download | duplicates (3)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright (C) 2006 International Business Machines and others.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.

## $Id: Makefile.am 2313 2013-05-30 09:04:32Z stefan $

# Author:  Andreas Waechter           IBM    2006-04-13

AUTOMAKE_OPTIONS = foreign

EXTRA_DIST = doxydoc/doxygen.conf

########################################################################
#                          Subdirectories                              #
########################################################################

# subdirs is set by configure as the list of all subdirectories to recurse
# into
SUBDIRS = $(subdirs)

########################################################################
#                           Extra Targets                              #
########################################################################

test: all
	cd Ipopt; $(MAKE) test

unitTest: test

tests: all
	for dir in $(subdirs); do \
	  if test -r $$dir/test/Makefile; then \
	    (cd $$dir; $(MAKE) test) \
	  fi; \
	done

unitTests: tests

doxydoc:
	doxygen doxydoc/doxygen.conf

clean-doxydoc :
	cd doxydoc && rm -rf html *.log *.tag
	
install-doxydoc : doxydoc
	$(mkdir_p) $(DESTDIR)/$(DocInstallDir)/doxydoc
	cp -R doxydoc/html doxydoc/ipopt_doxy.tag $(DESTDIR)/$(DocInstallDir)/doxydoc

uninstall-doxydoc:
	if test -e $(DocInstallDir)/doxydoc ; then rm -rf $(DocInstallDir)/doxydoc ; fi

cuter:
	cd Ipopt; $(MAKE) cuter

.PHONY: test unitTest tests unitTests doxydoc cuter

clean-local: clean-doxydoc
uninstall-local: uninstall-doxydoc
install-exec-local:
	@if test -e doxydoc/html ; then \
	  $(MAKE) install-doxydoc ; \
	else \
	  echo "Run make install-doxydoc to generate and install Doxygen documentation." ; \
	fi

########################################################################
#                         Maintainer Stuff                             #
########################################################################

# Files that are generated and should be cleaned with make distclean
DISTCLEANFILES = coin_subdirs.txt

include BuildTools/Makemain.inc