Makefile.am
author Alpar Juttner <alpar@cs.elte.hu>
Wed, 25 Aug 2010 21:34:58 +0200
changeset 904 16d466589b54
parent 629 70a356a461a5
child 793 7c0ad6bd6a63
permissions -rw-r--r--
Backport the CMAKE related changesets from the main branch

[e20fecd1945f] Add check target for CMake (#388)
[e74b5db4f2c6] Put the output of chg-len.py in the version string (#389)
[7d166b8b8018] Safer call of ./scripts/chg-len.py on Windows (#389)
[659ba4805a48] Make CMAKE config more consistent with configure.ac (#390)
[63e4468c680e] Add 'Maintainer' CMAKE build type (#388, #390)
[a725503acfe9] Allow CPACK configuration on all platforms
[10242c611190] Create and install lemon.pc (#393)
[48e29534cf03] The deafult target doesn't build lp_test and mip_test (#388)
[0fbbdd578c06] Full path for DoxygenLayout.xml in Doxyfile.in (#395)
[481496e6d71f] SOURCE_BROWSER Doxygen switch is configurable from CMAKE (#395)
[09282720100b] update-external-tags CMAKE target (#395)
     1 ACLOCAL_AMFLAGS = -I m4
     2 
     3 AM_CXXFLAGS = $(WARNINGCXXFLAGS)
     4 
     5 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
     6 LDADD = $(top_builddir)/lemon/libemon.la
     7 
     8 EXTRA_DIST = \
     9 	AUTHORS \
    10 	LICENSE \
    11 	m4/lx_check_cplex.m4 \
    12 	m4/lx_check_glpk.m4 \
    13 	m4/lx_check_soplex.m4 \
    14 	m4/lx_check_coin.m4 \
    15 	CMakeLists.txt \
    16 	cmake/FindGhostscript.cmake \
    17 	cmake/FindCPLEX.cmake \
    18 	cmake/FindGLPK.cmake \
    19 	cmake/FindCOIN.cmake \
    20 	cmake/LEMONConfig.cmake.in \
    21 	cmake/version.cmake.in \
    22 	cmake/version.cmake \
    23 	cmake/nsis/lemon.ico \
    24 	cmake/nsis/uninstall.ico
    25 
    26 pkgconfigdir = $(libdir)/pkgconfig
    27 lemondir = $(pkgincludedir)
    28 bitsdir = $(lemondir)/bits
    29 conceptdir = $(lemondir)/concepts
    30 pkgconfig_DATA =
    31 lib_LTLIBRARIES =
    32 lemon_HEADERS =
    33 bits_HEADERS =
    34 concept_HEADERS =
    35 noinst_HEADERS =
    36 noinst_PROGRAMS =
    37 bin_PROGRAMS =
    38 check_PROGRAMS =
    39 dist_bin_SCRIPTS =
    40 TESTS =
    41 XFAIL_TESTS =
    42 
    43 include lemon/Makefile.am
    44 include test/Makefile.am
    45 include doc/Makefile.am
    46 include tools/Makefile.am
    47 
    48 DIST_SUBDIRS = demo
    49 
    50 demo:
    51 	$(MAKE) $(AM_MAKEFLAGS) -C demo
    52 
    53 MRPROPERFILES = \
    54 	aclocal.m4 \
    55 	config.h.in \
    56 	config.h.in~ \
    57 	configure \
    58 	Makefile.in \
    59 	build-aux/config.guess \
    60 	build-aux/config.sub \
    61 	build-aux/depcomp \
    62 	build-aux/install-sh \
    63 	build-aux/ltmain.sh \
    64 	build-aux/missing \
    65 	doc/doxygen.log
    66 
    67 mrproper:
    68 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    69 	-rm -f $(MRPROPERFILES)
    70 
    71 dist-bz2: dist
    72 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    73 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    74 
    75 distcheck-bz2: distcheck
    76 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    77 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    78 
    79 .PHONY: demo mrproper dist-bz2 distcheck-bz2