Makefile.am
author alpar
Tue, 17 Oct 2006 11:01:19 +0000
changeset 2249 dd8e95c663f0
parent 2108 f2c532541730
child 2260 4274224f8a7d
permissions -rw-r--r--
Compilation warning resolved.
     1 ACLOCAL_AMFLAGS = -I m4
     2 
     3 AM_CPPFLAGS = -I$(top_srcdir)
     4 LDADD = $(top_builddir)/lemon/libemon.la
     5 
     6 EXTRA_DIST = \
     7 	LICENSE \
     8 	lemon.spec \
     9 	autopackage/default.apspec.in \
    10 	m4/lx_check_cplex.m4 \
    11 	m4/lx_check_glpk.m4
    12 
    13 pkgconfigdir = $(libdir)/pkgconfig
    14 lemondir = $(pkgincludedir)
    15 bitsdir = $(lemondir)/bits
    16 conceptdir = $(lemondir)/concept
    17 pkgconfig_DATA =
    18 lib_LTLIBRARIES =
    19 lemon_HEADERS =
    20 bits_HEADERS =
    21 concept_HEADERS =
    22 noinst_HEADERS =
    23 noinst_PROGRAMS =
    24 check_PROGRAMS =
    25 TESTS =
    26 XFAIL_TESTS =
    27 
    28 include lemon/Makefile.am
    29 include test/Makefile.am
    30 include doc/Makefile.am
    31 include demo/Makefile.am
    32 include benchmark/Makefile.am
    33 
    34 MRPROPERFILES = \
    35 	aclocal.m4 \
    36 	config.h.in \
    37 	config.h.in~ \
    38 	configure \
    39 	Makefile.in \
    40 	build-aux/config.guess \
    41 	build-aux/config.sub \
    42 	build-aux/depcomp \
    43 	build-aux/install-sh \
    44 	build-aux/ltmain.sh \
    45 	build-aux/missing \
    46 	doc/Makefile.in \
    47 	doc/doxygen.log \
    48 	Makefile.in \
    49 	lemon/Makefile.in \
    50 	test/Makefile.in \
    51 	benchmark/Makefile.in \
    52 	demo/Makefile.in
    53 
    54 mrproper:
    55 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    56 	-rm -f $(MRPROPERFILES)
    57 
    58 deb:
    59 	dpkg-buildpackage -rfakeroot
    60 
    61 rpm: dist
    62 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
    63 
    64 dist-bz2: dist
    65 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    66 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    67 
    68 distcheck-bz2: distcheck
    69 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    70 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    71 
    72 .PHONY: mrproper deb rpm dist-bz2 distcheck-bz2