Annotation of embedaddon/confuse/Makefile.am, revision 1.1.1.1
1.1 misho 1: ## Process this file with automake to produce Makefile.in
2:
3: AUTOMAKE_OPTIONS = foreign
4: CLEANFILES=*~ '\#*\#'
5: EXTRA_DIST=libconfuse.spec.in libconfuse.spec
6:
7: EXAMPLES =
8: if ENABLE_EXAMPLES
9: EXAMPLES += examples
10: endif
11: SUBDIRS = m4 po src $(EXAMPLES) tests doc
12:
13: pkgconfigdir = $(libdir)/pkgconfig
14: pkgconfig_DATA = libconfuse.pc
15:
16: celan: clean
17:
18: ACLOCAL_AMFLAGS = -I m4
19:
20: BORLAND_FILES=cfgtest.bpf cfgtest.bpr config.h confuse.bpg libConfuse.bpf libConfuse.bpr
21: DEVCPP_FILES=cfgtest.dev config.h libConfuse.dev
22: MSVC6_FILES=config.h libConfuse.dsp libConfuse.dsw unistd.h
23: MSVS_FILES=config.h msvs.net.sln unistd.h
24: MSVS_CFGTEST_FILES=cfgtest.vcproj
25: MSVS_LIBCONFUSE_FILES=libConfuse.vcproj
26:
27: add-windows-files:
28: mkdir $(distdir)/windows
29: mkdir $(distdir)/windows/borland
30: mkdir $(distdir)/windows/devcpp
31: mkdir $(distdir)/windows/msvc6
32: mkdir $(distdir)/windows/msvc6/libConfuse
33: mkdir $(distdir)/windows/msvs.net
34: mkdir $(distdir)/windows/msvs.net/cfgtest
35: mkdir $(distdir)/windows/msvs.net/libConfuse
36:
37: for f in $(BORLAND_FILES); do \
38: cp -f $(top_srcdir)/windows/borland/$$f $(distdir)/windows/borland/; done
39: for f in $(DEVCPP_FILES); do \
40: cp -f $(top_srcdir)/windows/devcpp/$$f $(distdir)/windows/devcpp/; done
41: for f in $(MSVS_FILES); do \
42: cp -f $(top_srcdir)/windows/msvs.net/$$f $(distdir)/windows/msvs.net/; done
43: for f in $(MSVS_CFGTEST_FILES); do \
44: cp -f $(top_srcdir)/windows/msvs.net/cfgtest/$$f $(distdir)/windows/msvs.net/cfgtest/; done
45: for f in $(MSVS_LIBCONFUSE_FILES); do \
46: cp -f $(top_srcdir)/windows/msvs.net/libConfuse/$$f $(distdir)/windows/msvs.net/libConfuse; done
47: for f in $(MSVC6_FILES); do \
48: cp -f $(top_srcdir)/windows/msvc6/libConfuse/$$f $(distdir)/windows/msvc6/libConfuse; done
49: cp $(top_srcdir)/examples/wincfgtest.c $(distdir)/examples
50: cp $(top_srcdir)/examples/wincfgtest.conf $(distdir)/examples
51: cp $(top_srcdir)/examples/wincfgtest.dev $(distdir)/examples
52:
53: unpack:
54: tar zxf $(PACKAGE)-$(VERSION).tar.gz
55:
56: zip: dist unpack add-windows-files
57: rm -f $(PACKAGE)-$(VERSION).zip
58: zip -r $(PACKAGE)-$(VERSION).zip $(PACKAGE)-$(VERSION)
59: rm -rf $(PACKAGE)-$(VERSION)
60:
61: rpm: Makefile
62: $(MAKE) dist
63: rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
64:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>