Makefile.am
author ladanyi
Tue, 14 Jun 2005 20:01:41 +0000
changeset 1489 f7e9cc3bc2da
parent 1487 6ea6d0d789c6
child 1490 fa2b73784343
permissions -rw-r--r--
- separate file for each m4 script
- consistent naming
- removed cxxflags.m4
ladanyi@1384
     1
ACLOCAL_AMFLAGS = -I config
ladanyi@1384
     2
alpar@1395
     3
EXTRA_DIST = \
ladanyi@1480
     4
	LICENSE \
ladanyi@1483
     5
	lemon.spec \
alpar@1395
     6
	autopackage/default.apspec.in \
ladanyi@1489
     7
	config/lx_check_cplex.m4 \
ladanyi@1489
     8
	config/lx_check_glpk.m4 \
ladanyi@1487
     9
	config/lx_docdir_suffix.m4 \
ladanyi@1489
    10
	config/lx_enable_doc.m4 \
ladanyi@1489
    11
	config/lx_enable_gui.m4
alpar@1177
    12
ladanyi@1489
    13
if WANT_DOC
ladanyi@1370
    14
  MAYBE_DOC = doc
ladanyi@1370
    15
endif
ladanyi@1435
    16
if WANT_GUI
ladanyi@1435
    17
  MAYBE_GUI = gui
ladanyi@1435
    18
endif
alpar@1455
    19
alpar@1455
    20
SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
ladanyi@542
    21
ladanyi@1354
    22
MRPROPERFILES = \
ladanyi@1354
    23
	aclocal.m4 \
ladanyi@1354
    24
	config.h.in \
ladanyi@1370
    25
	config.h.in~ \
ladanyi@1354
    26
	configure \
ladanyi@1354
    27
	Makefile.in \
ladanyi@1354
    28
	config/depcomp \
ladanyi@1354
    29
	config/install-sh \
ladanyi@1354
    30
	config/config.guess \
ladanyi@1354
    31
	config/config.sub \
ladanyi@1354
    32
	config/ltmain.sh \
ladanyi@1354
    33
	config/missing \
ladanyi@1354
    34
	config/mkinstalldirs \
ladanyi@1354
    35
	doc/Makefile.in \
ladanyi@1354
    36
	doc/doxygen.log \
ladanyi@1435
    37
	Makefile.in \
ladanyi@1435
    38
	lemon/Makefile.in \
ladanyi@1435
    39
	test/Makefile.in \
ladanyi@1435
    40
	benchmark/Makefile.in \
ladanyi@1435
    41
	demo/Makefile.in \
ladanyi@1435
    42
	gui/Makefile.in
ladanyi@663
    43
klao@1450
    44
doc-clean:
klao@1450
    45
	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
klao@1450
    46
klao@1452
    47
doc:
klao@1450
    48
	-rm -f doc/html/index.html
klao@1450
    49
	$(MAKE) -C doc $(AM_MAKEFLAGS) html
klao@1450
    50
ladanyi@704
    51
benchmark:
ladanyi@1435
    52
	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
ladanyi@704
    53
ladanyi@663
    54
mrproper:
ladanyi@663
    55
	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
ladanyi@663
    56
	-rm -f $(MRPROPERFILES)
ladanyi@663
    57
ladanyi@1483
    58
rpm: dist
ladanyi@1483
    59
	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
ladanyi@1483
    60
	@rm -f $(PACKAGE)-$(VERSION).tar.gz
ladanyi@1483
    61
ladanyi@1483
    62
dist-bz2: dist
ladanyi@1483
    63
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
ladanyi@1483
    64
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
ladanyi@1483
    65
ladanyi@1483
    66
distcheck-bz2: distcheck
ladanyi@1483
    67
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
ladanyi@1483
    68
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
ladanyi@1483
    69
ladanyi@1483
    70
.PHONY: doc benchmark mrproper rpm dist-bz2 distcheck-bz2