1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 12:05:06 -05:00
curl/src/Makefile.am

56 lines
1.6 KiB
Makefile
Raw Normal View History

1999-12-29 09:20:26 -05:00
#
# $Id$
#
2002-02-25 09:08:18 -05:00
AUTOMAKE_OPTIONS = foreign nostdinc
1999-12-29 09:20:26 -05:00
# we use srcdir/include for the static global include files
# we use builddir/src for the generated src/config.h file to get found
# we use srcdir/lib for the client-private header files
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/src -I$(top_srcdir)/src
1999-12-29 09:20:26 -05:00
bin_PROGRAMS = curl #memtest
if HAVE_LIBZ
# libz available, attempt to compress the help data
MKHELPOPT=-c
else
# no libz, don't try to compress
MKHELPOPT=
endif
2002-02-25 09:08:18 -05:00
#memtest_SOURCES = memtest.c
#memtest_LDADD = $(top_srcdir)/lib/libcurl.la
curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c setup.h \
2002-04-08 18:01:11 -04:00
config-win32.h config-mac.h config-vms.h config-riscos.h \
urlglob.h version.h writeout.h writeenv.c writeenv.h \
getpass.c getpass.h
1999-12-29 09:20:26 -05:00
2002-09-04 09:10:37 -04:00
curl_LDADD = ../lib/libcurl.la
2001-01-08 05:00:14 -05:00
curl_DEPENDENCIES = ../lib/libcurl.la
1999-12-29 09:20:26 -05:00
BUILT_SOURCES = hugehelp.c
CLEANFILES = hugehelp.c
NROFF=@NROFF@
EXTRA_DIST = mkhelp.pl curlmsg.msg makefile.dj \
Makefile.vc6 Makefile.b32 Makefile.m32 Makefile.riscos config.h.in \
macos/curl.mcp.xml.sit.hqx \
macos/MACINSTALL.TXT \
macos/src/curl_GUSIConfig.cpp \
2002-02-25 09:08:18 -05:00
macos/src/macos_main.cpp
1999-12-29 09:20:26 -05:00
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
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(MKHELPOPT) $(README) > hugehelp.c
# for distribution, generate an uncompressed help file!
dist-hook:
2003-08-07 02:43:11 -04:00
chmod 0644 $(distdir)/hugehelp.c
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(distdir)/hugehelp.c