Makefile.am
author deba
Thu, 11 Jan 2007 21:20:57 +0000
changeset 2339 c329fe995b40
parent 2260 4274224f8a7d
child 2390 8450951a8e2d
permissions -rw-r--r--
Bug fix
     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 	m4/lx_check_soplex.m4
    13 
    14 pkgconfigdir = $(libdir)/pkgconfig
    15 lemondir = $(pkgincludedir)
    16 bitsdir = $(lemondir)/bits
    17 conceptdir = $(lemondir)/concepts
    18 pkgconfig_DATA =
    19 lib_LTLIBRARIES =
    20 lemon_HEADERS =
    21 bits_HEADERS =
    22 concept_HEADERS =
    23 noinst_HEADERS =
    24 noinst_PROGRAMS =
    25 check_PROGRAMS =
    26 TESTS =
    27 XFAIL_TESTS =
    28 
    29 include lemon/Makefile.am
    30 include test/Makefile.am
    31 include doc/Makefile.am
    32 include demo/Makefile.am
    33 include benchmark/Makefile.am
    34 
    35 MRPROPERFILES = \
    36 	aclocal.m4 \
    37 	config.h.in \
    38 	config.h.in~ \
    39 	configure \
    40 	Makefile.in \
    41 	build-aux/config.guess \
    42 	build-aux/config.sub \
    43 	build-aux/depcomp \
    44 	build-aux/install-sh \
    45 	build-aux/ltmain.sh \
    46 	build-aux/missing \
    47 	doc/Makefile.in \
    48 	doc/doxygen.log \
    49 	Makefile.in \
    50 	lemon/Makefile.in \
    51 	test/Makefile.in \
    52 	benchmark/Makefile.in \
    53 	demo/Makefile.in
    54 
    55 mrproper:
    56 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    57 	-rm -f $(MRPROPERFILES)
    58 
    59 deb:
    60 	dpkg-buildpackage -rfakeroot
    61 
    62 rpm: dist
    63 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
    64 
    65 dist-bz2: dist
    66 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    67 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    68 
    69 distcheck-bz2: distcheck
    70 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    71 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    72 
    73 .PHONY: mrproper deb rpm dist-bz2 distcheck-bz2