5 # Some flags needed when trying to cause warnings ;-)
6 # CFLAGS = -g -DMALLOCDEBUG # -Wall -pedantic
7 #CPPFLAGS = -DGLOBURL -DCURL_SEPARATORS
9 INCLUDES = -I$(top_srcdir)/include
11 bin_PROGRAMS = curl #memtest
13 #memtest_SOURCES = memtest.c
14 #memtest_LDADD = $(top_srcdir)/lib/libcurl.la
16 curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c
17 curl_LDADD = $(top_srcdir)/lib/libcurl.la
18 curl_DEPENDENCIES = $(top_srcdir)/lib/libcurl.la
19 BUILT_SOURCES = hugehelp.c
20 CLEANFILES = hugehelp.c
23 EXTRA_DIST = mkhelp.pl Makefile.vc6
25 AUTOMAKE_OPTIONS = foreign no-dependencies
27 MANPAGE=$(top_srcdir)/docs/curl.1
28 README=$(top_srcdir)/docs/MANUAL
29 MKHELP=$(top_srcdir)/src/mkhelp.pl
31 # This generates the hugehelp.c file
32 hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
34 $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > hugehelp.c