5 # Some flags needed when trying to cause warnings ;-)
6 # CFLAGS = -Wall -pedantic
7 #CPPFLAGS = -DGLOBURL -DCURL_SEPARATORS
9 INCLUDES = -I$(top_srcdir)/include
13 curl_SOURCES = main.c hugehelp.c urlglob.c
14 curl_LDADD = $(top_srcdir)/lib/.libs/libcurl.a
15 curl_DEPENDENCIES = $(top_srcdir)/lib/.libs/libcurl.a
16 BUILT_SOURCES = hugehelp.c
17 CLEANFILES = hugehelp.c
20 EXTRA_DIST = mkhelp.pl Makefile.vc6
22 AUTOMAKE_OPTIONS = foreign no-dependencies
24 MANPAGE=$(top_srcdir)/docs/curl.1
25 README=$(top_srcdir)/docs/README.curl
26 MKHELP=$(top_srcdir)/src/mkhelp.pl
28 # This generates the hugehelp.c file
29 hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
31 $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > hugehelp.c