Skip to content
Snippets Groups Projects
Makefile.am 1.2 KiB
Newer Older
  • Learn to ignore specific revisions
  • Daniel Stenberg's avatar
    Daniel Stenberg committed
    #
    # $Id$
    #
    
    
    AUTOMAKE_OPTIONS = foreign nostdinc
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
    
    # 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
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
    
    bin_PROGRAMS = curl #memtest
    
    
    #memtest_SOURCES = memtest.c
    #memtest_LDADD = $(top_srcdir)/lib/libcurl.la
    
    curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c setup.h \
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    	config-win32.h config-mac.h config-vms.h config-riscos.h \
    
    	urlglob.h version.h writeout.h writeenv.c writeenv.h
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    curl_LDADD = ../lib/libcurl.la
    
    curl_DEPENDENCIES = ../lib/libcurl.la
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    BUILT_SOURCES = hugehelp.c
    CLEANFILES = hugehelp.c
    NROFF=@NROFF@
    
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    EXTRA_DIST = mkhelp.pl curlmsg.msg \
    
    	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 \
    
    	macos/src/macos_main.cpp
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    MANPAGE=$(top_srcdir)/docs/curl.1
    
    README=$(top_srcdir)/docs/MANUAL
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    MKHELP=$(top_srcdir)/src/mkhelp.pl
    
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    # This generates the hugehelp.c file
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    hugehelp.c: $(README) $(MANPAGE)  mkhelp.pl
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    	rm -f hugehelp.c
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    	$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP)  $(README) > hugehelp.c