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 noinst_HEADERS = setup.h \
19 #memtest_SOURCES = memtest.c
20 #memtest_LDADD = $(top_srcdir)/lib/libcurl.la
22 curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c
23 curl_LDADD = ../lib/libcurl.la
24 curl_DEPENDENCIES = ../lib/libcurl.la
25 BUILT_SOURCES = hugehelp.c
26 CLEANFILES = hugehelp.c
29 EXTRA_DIST = mkhelp.pl config-win32.h curlmsg.msg\
30 Makefile.vc6 Makefile.b32 Makefile.m32 config.h.in
32 AUTOMAKE_OPTIONS = foreign no-dependencies
34 MANPAGE=$(top_srcdir)/docs/curl.1
35 README=$(top_srcdir)/docs/MANUAL
36 MKHELP=$(top_srcdir)/src/mkhelp.pl
38 # This generates the hugehelp.c file
39 hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
41 $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > hugehelp.c