File: Makefile.am

package info (click to toggle)
libgtextutils 0.7-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 368 kB
  • sloc: cpp: 947; ansic: 418; makefile: 81
file content (54 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download | duplicates (4)
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
# Copyright (C) 2008-2013 Assaf Gordon <assafgordon@gmail.com>
#  
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without 
# modifications, as long as this notice is preserved.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


if TUPLE_PARSER_CHECK
TUPLE_PROG = test_tuple_parser \
	     test_tuple_parser_file
else
TUPLE_PROG = 
endif

test.txt:
	printf "first line\nsecond line\nthird line\nfourth line\n" > test.txt

CLEANFILES = test.txt

check_PROGRAMS = test_container_join \
		 test_natural_sort \
		 test_input_stream_wrapper \
		 test_text_reader \
		 test_text_reader_unget \
		 test_fd_outbuf \
		 test_fd_inbuf \
		 test_in_out_buf \
		 test_pipe_fitter \
		 test_string_tokenize \
		 $(TUPLE_PROG)

$(check_PROGRAMS): test.txt

TESTS = $(check_PROGRAMS)

LDADD = $(top_builddir)/src/gtextutils/libgtextutils.la
AM_CPPFLAGS = -I$(top_srcdir)/src

test_container_join_SOURCES = test_container_join.cpp tests_assertion.h
test_natural_sort_SOURCES = test_natural_sort.cpp tests_assertion.h
test_input_stream_wrapper_SOURCES = test_input_stream_wrapper.cpp tests_assertion.h
test_text_reader_SOURCES = test_text_reader.cpp tests_assertion.h
test_text_reader_unget_SOURCES = test_text_reader_unget.cpp tests_assertion.h
test_fd_outbuf_SOURCES = test_fd_outbuf.cpp tests_assertion.h
test_fd_inbuf_SOURCES = test_fd_inbuf.cpp tests_assertion.h
test_in_out_buf_SOURCES = test_in_out_buf.cpp tests_assertion.h
test_pipe_fitter_SOURCES = test_pipe_fitter.c tests_assertion.h
test_tuple_parser_SOURCES = test_tuple_parser.cpp tests_assertion.h
test_tuple_parser_file_SOURCES = test_tuple_parser_file.cpp tests_assertion.h
test_string_tokenize_SOURCES = test_string_tokenize.cpp tests_assertion.h