5 AUTOMAKE_OPTIONS = foreign nostdinc
7 # we use srcdir/include for the static global include files
8 # we use builddir/src for the generated src/config.h file to get found
9 # we use srcdir/lib for the client-private header files
10 INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/src -I$(top_srcdir)/src
12 bin_PROGRAMS = curl #memtest
14 #memtest_SOURCES = memtest.c
15 #memtest_LDADD = $(top_srcdir)/lib/libcurl.la
17 curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c setup.h \
18 config-win32.h config-mac.h config-vms.h config-riscos.h \
19 urlglob.h version.h writeout.h writeenv.c writeenv.h
21 curl_LDADD = ../lib/libcurl.la
22 curl_DEPENDENCIES = ../lib/libcurl.la
23 BUILT_SOURCES = hugehelp.c
24 CLEANFILES = hugehelp.c
27 EXTRA_DIST = mkhelp.pl curlmsg.msg \
28 Makefile.vc6 Makefile.b32 Makefile.m32 Makefile.riscos config.h.in \
29 macos/curl.mcp.xml.sit.hqx \
30 macos/MACINSTALL.TXT \
31 macos/src/curl_GUSIConfig.cpp \
32 macos/src/macos_main.cpp
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