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
|
|
|
|
|
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 \
|
2001-01-08 05:00:14 -05:00
|
|
|
urlglob.h \
|
|
|
|
version.h \
|
2002-04-08 18:01:11 -04:00
|
|
|
writeout.h
|
1999-12-29 09:20:26 -05:00
|
|
|
|
2001-01-08 05:00:14 -05:00
|
|
|
curl_LDADD = ../lib/libcurl.la
|
|
|
|
curl_DEPENDENCIES = ../lib/libcurl.la
|
1999-12-29 09:20:26 -05:00
|
|
|
BUILT_SOURCES = hugehelp.c
|
|
|
|
CLEANFILES = hugehelp.c
|
|
|
|
NROFF=@NROFF@
|
|
|
|
|
2001-11-29 07:42:50 -05:00
|
|
|
EXTRA_DIST = mkhelp.pl curlmsg.msg \
|
2001-12-04 03:48:37 -05:00
|
|
|
Makefile.vc6 Makefile.b32 Makefile.m32 config.h.in \
|
|
|
|
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
|
2000-05-24 18:53:37 -04:00
|
|
|
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > hugehelp.c
|