2
# $Id: Makefile.am,v 1.31 2002/03/04 10:15:12 bagder Exp $
1
#***************************************************************************
3
# Project ___| | | | _ \| |
5
# | (__| |_| | _ <| |___
6
# \___|\___/|_| \_\_____|
8
# Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
10
# This software is licensed as described in the file COPYING, which
11
# you should have received as part of this distribution. The terms
12
# are also available at http://curl.haxx.se/docs/copyright.html.
14
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15
# copies of the Software, and permit persons to whom the Software is
16
# furnished to do so, under the terms of the COPYING file.
18
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
# KIND, either express or implied.
21
# $Id: Makefile.am,v 1.49 2004/03/15 10:18:38 bagder Exp $
22
###########################################################################
5
24
AUTOMAKE_OPTIONS = foreign
8
CHANGES LEGAL maketgz MITX.txt MPL-1.1.txt \
9
reconf Makefile.dist curl-config.in build_vms.com curl-mode.el
26
EXTRA_DIST = CHANGES COPYING maketgz reconf Makefile.dist \
27
curl-config.in curl-style.el sample.emacs testcurl.sh RELEASE-NOTES
11
29
bin_SCRIPTS = curl-config
13
SUBDIRS = docs lib src include tests packages
32
DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
15
# create a root makefile in the distribution:
17
cp $(srcdir)/Makefile.dist $(distdir)/Makefile
35
rm -rf $(top_builddir)/tests/log
36
find $(distdir) -name "*.dist" -exec rm {} \;
37
(distit=`find $(srcdir) -name "*.dist"`; \
38
for file in $$distit; do \
39
strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
40
cp $$file $(distdir)$$strip; \
25
@(cd tests; $(MAKE) quiet-test)
52
@(cd tests; $(MAKE) all quiet-test)
55
@(cd tests; $(MAKE) all full-test)
28
58
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
71
101
# resulting .tar.bz2 file will end up at packages/Win32/cygwin
73
103
$(MAKE) -C packages/Win32/cygwin cygwinbin
105
# We extend the standard install with a custom hook:
107
cd include && $(MAKE) install
108
cd docs && $(MAKE) install
110
# We extend the standard uninstall with a custom hook:
112
cd include && $(MAKE) uninstall
113
cd docs && $(MAKE) uninstall