curl/src/Makefile.am

35 lines
859 B
Makefile
Raw Normal View History

1999-12-29 09:20:26 -05:00
#
# $Id$
#
# Some flags needed when trying to cause warnings ;-)
# CFLAGS = -g -DMALLOCDEBUG # -Wall -pedantic
2000-05-22 10:12:12 -04:00
#CPPFLAGS = -DGLOBURL -DCURL_SEPARATORS
1999-12-29 09:20:26 -05:00
INCLUDES = -I$(top_srcdir)/include
bin_PROGRAMS = curl #memtest
#memtest_SOURCES = memtest.c
#memtest_LDADD = $(top_srcdir)/lib/libcurl.la
1999-12-29 09:20:26 -05:00
2000-10-02 02:32:05 -04:00
curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c
curl_LDADD = $(top_srcdir)/lib/libcurl.la
curl_DEPENDENCIES = $(top_srcdir)/lib/libcurl.la
1999-12-29 09:20:26 -05:00
BUILT_SOURCES = hugehelp.c
CLEANFILES = hugehelp.c
NROFF=@NROFF@
EXTRA_DIST = mkhelp.pl Makefile.vc6
AUTOMAKE_OPTIONS = foreign no-dependencies
2000-05-24 18:53:37 -04:00
MANPAGE=$(top_srcdir)/docs/curl.1
2000-11-30 03:08:49 -05:00
README=$(top_srcdir)/docs/MANUAL
2000-05-24 18:53:37 -04:00
MKHELP=$(top_srcdir)/src/mkhelp.pl
1999-12-29 09:20:26 -05:00
# This generates the hugehelp.c file
2000-05-24 18:53:37 -04:00
hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
1999-12-29 09:20:26 -05:00
rm -f hugehelp.c
2000-05-24 18:53:37 -04:00
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > hugehelp.c