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 \
20 #memtest_SOURCES = memtest.c
21 #memtest_LDADD = $(top_srcdir)/lib/libcurl.la
23 curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c
24 curl_LDADD = ../lib/libcurl.la
25 curl_DEPENDENCIES = ../lib/libcurl.la
26 BUILT_SOURCES = hugehelp.c
27 CLEANFILES = hugehelp.c
30 EXTRA_DIST = mkhelp.pl curlmsg.msg \
31 Makefile.vc6 Makefile.b32 Makefile.m32 config.h.in \
32 macos/curl.mcp.xml.sit.hqx \
33 macos/MACINSTALL.TXT \
34 macos/src/curl_GUSIConfig.cpp \
35 macos/src/macos_main.cpp
37 AUTOMAKE_OPTIONS = foreign no-dependencies
39 MANPAGE=$(top_srcdir)/docs/curl.1
40 README=$(top_srcdir)/docs/MANUAL
41 MKHELP=$(top_srcdir)/src/mkhelp.pl
43 # This generates the hugehelp.c file
44 hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
46 $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > hugehelp.c