1999-12-29 09:20:26 -05:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
2002-02-25 09:08:18 -05:00
|
|
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
1999-12-29 09:20:26 -05:00
|
|
|
|
2002-02-27 10:09:23 -05:00
|
|
|
# we use srcdir/include for the static global include files
|
|
|
|
# we use builddir/src for the generated src/config.h file to get found
|
2002-03-06 17:19:16 -05:00
|
|
|
# we use srcdir/lib for the client-private header files
|
|
|
|
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/src -I$(top_srcdir)/src
|
1999-12-29 09:20:26 -05:00
|
|
|
|
2000-10-09 07:24:49 -04:00
|
|
|
bin_PROGRAMS = curl #memtest
|
|
|
|
|
2003-06-12 08:54:34 -04:00
|
|
|
if HAVE_LIBZ
|
|
|
|
# libz available, attempt to compress the help data
|
|
|
|
MKHELPOPT=-c
|
|
|
|
else
|
|
|
|
# no libz, don't try to compress
|
|
|
|
MKHELPOPT=
|
|
|
|
endif
|
|
|
|
|
2002-02-25 09:08:18 -05:00
|
|
|
#memtest_SOURCES = memtest.c
|
|
|
|
#memtest_LDADD = $(top_srcdir)/lib/libcurl.la
|
|
|
|
|
|
|
|
curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c setup.h \
|
2002-04-08 18:01:11 -04:00
|
|
|
config-win32.h config-mac.h config-vms.h config-riscos.h \
|
2003-10-16 10:09:39 -04:00
|
|
|
urlglob.h version.h writeout.h writeenv.c writeenv.h \
|
|
|
|
getpass.c getpass.h
|
1999-12-29 09:20:26 -05:00
|
|
|
|
2002-09-04 09:10:37 -04:00
|
|
|
curl_LDADD = ../lib/libcurl.la
|
2001-01-08 05:00:14 -05:00
|
|
|
curl_DEPENDENCIES = ../lib/libcurl.la
|
1999-12-29 09:20:26 -05:00
|
|
|
BUILT_SOURCES = hugehelp.c
|
|
|
|
CLEANFILES = hugehelp.c
|
|
|
|
NROFF=@NROFF@
|
|
|
|
|
2003-05-21 04:08:48 -04:00
|
|
|
EXTRA_DIST = mkhelp.pl curlmsg.msg makefile.dj \
|
2002-04-08 18:40:38 -04:00
|
|
|
Makefile.vc6 Makefile.b32 Makefile.m32 Makefile.riscos config.h.in \
|
2001-12-04 03:48:37 -05:00
|
|
|
macos/curl.mcp.xml.sit.hqx \
|
|
|
|
macos/MACINSTALL.TXT \
|
|
|
|
macos/src/curl_GUSIConfig.cpp \
|
2002-02-25 09:08:18 -05:00
|
|
|
macos/src/macos_main.cpp
|
1999-12-29 09:20:26 -05:00
|
|
|
|
2000-05-24 18:53:37 -04:00
|
|
|
MANPAGE=$(top_srcdir)/docs/curl.1
|
2000-11-30 03:08:49 -05:00
|
|
|
README=$(top_srcdir)/docs/MANUAL
|
2000-05-24 18:53:37 -04:00
|
|
|
MKHELP=$(top_srcdir)/src/mkhelp.pl
|
|
|
|
|
1999-12-29 09:20:26 -05:00
|
|
|
# This generates the hugehelp.c file
|
2000-05-24 18:53:37 -04:00
|
|
|
hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
|
1999-12-29 09:20:26 -05:00
|
|
|
rm -f hugehelp.c
|
2003-07-30 03:33:41 -04:00
|
|
|
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(MKHELPOPT) $(README) > hugehelp.c
|
|
|
|
|
|
|
|
# for distribution, generate an uncompressed help file!
|
|
|
|
dist-hook:
|
2003-08-07 02:43:11 -04:00
|
|
|
chmod 0644 $(distdir)/hugehelp.c
|
2003-07-30 03:33:41 -04:00
|
|
|
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(distdir)/hugehelp.c
|