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