File: Makefile.am

package info (click to toggle)
flickcurl 1.26-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,508 kB
  • ctags: 3,340
  • sloc: ansic: 26,020; sh: 11,915; xml: 1,025; makefile: 343
file content (145 lines) | stat: -rw-r--r-- 3,133 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
#
# Makefile.am
#
# Copyright (C) 2007-2010, David Beckett http://www.dajobe.org/
# 
# 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.

lib_LTLIBRARIES = libflickcurl.la

include_HEADERS = flickcurl.h

libflickcurl_la_SOURCES = \
activity.c \
args.c \
blog.c \
category.c \
collection.c \
common.c \
comments.c \
contacts.c \
context.c \
config.c \
exif.c \
gallery.c \
group.c \
institution.c \
md5.c \
location.c \
machinetags.c \
members.c \
method.c \
note.c \
person.c \
photo.c \
photoset.c \
place.c \
serializer.c \
shape.c \
size.c \
stat.c \
ticket.c \
user_upload_status.c \
tags.c \
video.c \
vsnprintf.c \
activity-api.c \
auth-api.c \
blogs-api.c \
commons-api.c \
collections-api.c \
contacts-api.c \
favorites-api.c \
interestingness-api.c \
galleries-api.c \
groups-api.c \
groups-members-api.c \
groups-pools-api.c \
machinetags-api.c \
people-api.c \
perms.c \
panda-api.c \
photos-api.c \
photos-comments-api.c \
photos-geo-api.c \
photos-licenses-api.c \
photos-notes-api.c \
photos-people-api.c \
photos-transform-api.c \
photos-upload-api.c \
photosets-api.c \
photosets-comments-api.c \
places-api.c \
prefs-api.c \
reflection-api.c \
stats-api.c \
tags-api.c \
test-api.c \
upload-api.c \
urls-api.c \
flickcurl_internal.h \
sha1.c \
legacy-auth.c \
oauth.c \
mtwist_config.h

AM_CFLAGS = -DMTWIST_CONFIG -I$(top_srcdir)/libmtwist
libflickcurl_la_LIBADD = $(top_builddir)/libmtwist/libmtwist.la
libflickcurl_la_DEPENDENCIES = $(top_builddir)/libmtwist/libmtwist.la

libflickcurl_la_LDFLAGS = -version-info @LIBFLICKCURL_LIBTOOL_VERSION@

$(top_builddir)/libmtwist/libmtwist.la:
	cd $(top_builddir)/libmtwist && $(MAKE) libmtwist.la

if OFFLINE
if RAPTOR
AM_CFLAGS += @RAPTOR_CFLAGS@
libflickcurl_la_LIBADD += @RAPTOR_LIBS@
endif
endif

ANALYZE = clang
ANALYZE_FLAGS = "--analyze"
# Based on COMPILE target
ANALYZE_COMMAND = $(ANALYZE) \
	$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
	$(ANALYZE_FLAGS)

TESTS=flickcurl_oauth_test

CLEANFILES=$(TESTS) \
*.plist

flickcurl_oauth_test: $(srcdir)/oauth.c libflickcurl.la
	$(LINK) $(DEFS) $(CPPFLAGS) -I$(srcdir) -I. -DSTANDALONE $(srcdir)/oauth.c libflickcurl.la $(LIBS)

if MAINTAINER_MODE

# Run Clang static analyzer over sources.
analyze: $(SOURCES)
	@list='$(SOURCES)'; \
	result=0; \
	for file in $$list; do \
	  if echo $$file | grep '\.c$$' >/dev/null 2>&1; then \
	    $(RECHO) "Analyzing $$file"; \
	    $(ANALYZE_COMMAND) $(srcdir)/$$file; \
	    status=$$?; \
	    if test $$status != 0; then \
	      result=1; \
	    fi; \
	  fi; \
	done; \
	set -e; exit $$result
endif