upload tizen1.0 source
[framework/location/libslp-location.git] / tests / Makefile.am
1 dir_location = $(top_srcdir)/location
2 noinst_PROGRAMS = location-api-test gps-test wps-test hybrid-test ips-test cps-test sps-test\
3                                   position-sample-gps velocity-sample nmea-sample satellite-sample property-sample zone-sample address-sample
4
5 gps_test_SOURCES =  gps-test.c
6 wps_test_SOURCES =  wps-test.c
7 hybrid_test_SOURCES =  hybrid-test.c
8 ips_test_SOURCES =  ips-test.c
9 cps_test_SOURCES =  cps-test.c
10 position_sample_gps_SOURCES =   position-sample-gps.c
11 velocity_sample_SOURCES = velocity-sample.c
12 nmea_sample_SOURCES = nmea-sample.c
13 satellite_sample_SOURCES = satellite-sample.c
14 property_sample_SOURCES = property-sample.c
15 zone_sample_SOURCES = zone-sample.c
16 address_sample_SOURCES = address-sample.c
17 location_api_test_SOURCES = location-api-test.c location-api-test-util.c
18
19 LDADD = \
20                 $(dir_location)/libSLP-location.la\
21                 $(TEST_LIBS)
22 AM_CFLAGS = \
23                         -I$(dir_location) \
24                         -I$(dir_location)/include \
25                         -I$(dir_location)/manager \
26                         -I$(dir_location)/map-service \
27                         $(TEST_CFLAGS)
28
29 dir_tests = $(top_srcdir)/tests
30 dir_tests_exec = $(top_srcdir)/tests/.libs
31
32 install-exec-hook:
33         cp $(dir_tests)/location-api-test.json $(dir_tests_exec)/location-api-test.json
34         chmod 644 $(dir_tests_exec)/location-api-test.json
35
36 uninstall-hook:
37         rm -f $(dir_tests_exec)/location-api-test.json