Makefile.am
author ladanyi
Wed, 12 Apr 2006 20:38:22 +0000
changeset 2043 54f80cf6ac86
parent 2012 224cd6aacfc1
child 2048 b1a605b2f03c
permissions -rw-r--r--
revert to single configure scheme
     1 ACLOCAL_AMFLAGS = -I m4
     2 
     3 EXTRA_DIST = \
     4 	LICENSE \
     5 	lemon.spec \
     6 	autopackage/default.apspec.in \
     7 	m4/lx_check_cplex.m4 \
     8 	m4/lx_check_glpk.m4
     9 
    10 if WANT_DOC
    11   MAYBE_DOC = doc
    12 endif
    13 if WANT_GUI
    14   MAYBE_GUI = gui
    15 endif
    16 if WANT_DEMO
    17   MAYBE_DEMO = demo
    18 endif
    19 if WANT_BENCHMARK
    20   MAYBE_BENCHMARK = benchmark
    21 endif
    22 
    23 SUBDIRS = lemon po $(MAYBE_BENCHMARK) $(MAYBE_DEMO) $(MAYBE_GUI) $(MAYBE_DOC) test
    24 
    25 MRPROPERFILES = \
    26 	aclocal.m4 \
    27 	config.h.in \
    28 	config.h.in~ \
    29 	configure \
    30 	Makefile.in \
    31 	build-aux/config.guess \
    32 	build-aux/config.sub \
    33 	build-aux/depcomp \
    34 	build-aux/install-sh \
    35 	build-aux/ltmain.sh \
    36 	build-aux/missing \
    37 	build-aux/mkinstalldirs \
    38 	build-aux/config.rpath \
    39 	doc/Makefile.in \
    40 	doc/doxygen.log \
    41 	Makefile.in \
    42 	lemon/Makefile.in \
    43 	test/Makefile.in \
    44 	benchmark/Makefile.in \
    45 	demo/Makefile.in \
    46 	gui/icons/Makefile.in \
    47 	gui/Makefile.in \
    48 	ABOUT-NLS \
    49 	m4/lib-link.m4 \
    50 	m4/printf-posix.m4 \
    51 	m4/uintmax_t.m4 \
    52 	m4/signed.m4 \
    53 	m4/iconv.m4 \
    54 	m4/inttypes.m4 \
    55 	m4/longlong.m4 \
    56 	m4/glibc21.m4 \
    57 	m4/inttypes_h.m4 \
    58 	m4/codeset.m4 \
    59 	m4/longdouble.m4 \
    60 	m4/nls.m4 \
    61 	m4/intmax.m4 \
    62 	m4/lib-prefix.m4 \
    63 	m4/glibc2.m4 \
    64 	m4/xsize.m4 \
    65 	m4/lcmessage.m4 \
    66 	m4/lib-ld.m4 \
    67 	m4/ulonglong.m4 \
    68 	m4/wint_t.m4 \
    69 	m4/progtest.m4 \
    70 	m4/inttypes-pri.m4 \
    71 	m4/stdint_h.m4 \
    72 	m4/intdiv0.m4 \
    73 	m4/isc-posix.m4 \
    74 	m4/po.m4 \
    75 	m4/size_max.m4 \
    76 	m4/gettext.m4 \
    77 	m4/wchar_t.m4 \
    78 	po/Rules-quot \
    79 	po/en@quot.header \
    80 	po/insert-header.sin \
    81 	po/quot.sed \
    82 	po/en@boldquot.header \
    83 	po/boldquot.sed \
    84 	po/Makevars.template \
    85 	po/remove-potcdate.sin \
    86 	po/Makefile.in.in
    87 
    88 doc-clean:
    89 	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
    90 
    91 doc:
    92 	-rm -f doc/html/index.html
    93 	$(MAKE) -C doc $(AM_MAKEFLAGS) html
    94 
    95 benchmark:
    96 	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
    97 
    98 mrproper:
    99 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
   100 	-rm -f $(MRPROPERFILES)
   101 
   102 deb:
   103 	dpkg-buildpackage -rfakeroot
   104 
   105 rpm: dist
   106 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
   107 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
   108 
   109 dist-bz2: dist
   110 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
   111 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
   112 
   113 distcheck-bz2: distcheck
   114 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
   115 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
   116 
   117 .PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2