source: trunk/third/popt/Makefile.am @ 15550

Revision 15550, 1.5 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15549, which included commits to RCS files with non-trunk default branches.
Line 
1# Makefile for popt library.
2
3AUTOMAKE_OPTIONS = 1.4 foreign
4
5EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \
6        testit.sh test-poptrc \
7        po/*.in po/*.po po/popt.pot \
8        popt.ps
9
10SUBDIRS = intl po
11
12INCLUDES = -I$(top_srcdir)
13
14noinst_HEADERS = findme.h poptint.h system.h
15
16noinst_PROGRAMS = test1 test2
17test1_SOURCES = test1.c
18test1_LDFLAGS = -all-static
19test1_LDADD = $(lib_LTLIBRARIES)
20test2_SOURCES = test2.c
21test2_LDFLAGS = -all-static
22test2_LDADD = $(lib_LTLIBRARIES)
23
24noinst_SCRIPTS = testit.sh
25
26TESTS_ENVIRONMENT = \
27test1="./test1"
28
29TESTS = testit.sh
30
31include_HEADERS = popt.h
32lib_LTLIBRARIES = libpopt.la
33libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
34
35man_MANS = popt.3
36
37.PHONY: lclint
38lclint:
39        lclint ${DEFS} ${INCLUDES} ${libpopt_la_SOURCES}
40
41CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
42
43.PHONY: archive
44archive:
45        @echo "This is $(PACKAGE)-$(VERSION)."
46        @sleep 5
47        @cvs -Q tag -F $(CVSTAG) .
48        @rm -rf /tmp/$(PACKAGE)-$(VERSION) /tmp/$(PACKAGE)
49        @cd /tmp; cvs -Q -d $(CVSROOT) export -r$(CVSTAG) $(PACKAGE) || :
50        @mv /tmp/$(PACKAGE) /tmp/$(PACKAGE)-$(VERSION)
51        @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh ; make depend; make distclean
52        @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh --noconfigure
53        @cd /tmp; tar czSpf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
54        @rm -rf /tmp/$(PACKAGE)-$(VERSION)
55        @cp /tmp/$(PACKAGE)-$(VERSION).tar.gz .
56        @rm -f /tmp/$(PACKAGE)-$(VERSION).tar.gz
57        @echo " "
58        @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz."
59
60.PHONY: doxygen
61doxygen: Doxyfile
62        rm -rf doxygen
63        mkdir -p doxygen
64        doxygen
Note: See TracBrowser for help on using the repository browser.