# # Makefile.am # # Copyright (C) 2007, David Beckett http://purl.org/net/dajobe/ # # This file is licensed under the following three licenses as alternatives: # 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version # 2. GNU General Public License (GPL) V2 or any newer version # 3. Apache License, V2.0 or any newer version # # You may not use this file except in compliance with at least one of # the above three licenses. # # See LICENSE.html or LICENSE.txt at the top of this package for the # complete terms and further detail along with the license texts for # the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively. bin_PROGRAMS = flickcurl flickrdf EXTRA_PROGRAMS = test codegen bin_SCRIPTS = flickcurl-config lib_LTLIBRARIES = libflickcurl.la include_HEADERS = flickcurl.h flickcurl_SOURCES = flickcurl.c if GETOPT flickcurl_SOURCES += getopt.c flickcurl_getopt.h endif flickcurl_LDADD= libflickcurl.la codegen_SOURCES = codegen.c if GETOPT codegen_SOURCES += getopt.c flickcurl_getopt.h endif codegen_LDADD= libflickcurl.la test_SOURCES = test.c test_LDADD= libflickcurl.la libflickcurl_la_SOURCES = \ args.c \ common.c \ comments.c \ contacts.c \ context.c \ config.c \ exif.c \ group.c \ md5.c \ location.c \ method.c \ person.c \ photo.c \ tags.c \ vsnprintf.c \ auth-api.c \ contacts-api.c \ groups-pools-api.c \ people-api.c \ perms.c \ photos-api.c \ photos-comments-api.c \ photos-geo-api.c \ photos-licenses-api.c \ photos-notes-api.c \ photosets-api.c \ photosets-comments-api.c \ reflection-api.c \ tags-api.c \ test-api.c \ upload-api.c \ urls-api.c \ flickcurl_internal.h flickrdf_SOURCES = flickrdf.c if GETOPT flickrdf_SOURCES += getopt.c flickcurl_getopt.h endif flickrdf_CFLAGS= flickrdf_LDADD= libflickcurl.la if RAPTOR flickrdf_CFLAGS += @RAPTOR_CFLAGS@ flickrdf_LDADD += @RAPTOR_LIBS@ endif pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = flickcurl.pc EXTRA_DIST= \ ChangeLog \ README.html NEWS.html coverage.html README NEWS AUTHORS \ LICENSE.html LICENSE-2.0.txt NOTICE \ autogen.sh \ flickcurl-config.in flickcurl.pc.in \ flickcurl.rdf.in \ example.c # Create some text files from HTML sources LYNX=lynx HTML_TO_TEXT=TERM=vt100 $(LYNX) -dump SUFFIXES = .html .txt .html.txt: $(HTML_TO_TEXT) $< > $@ README: README.html $(HTML_TO_TEXT) $< > $@ NEWS: NEWS.html $(HTML_TO_TEXT) $< > $@