upload tizen1.0 source
[framework/location/libslp-location.git] / TC / unit / Makefile
1 ###################################################
2 # add your TestCase List Here
3 #
4 # e.g.,
5 # TC1 = utc_frameworkName_apiName_func
6 # TC2 = utc_ApplicationLib_recurGetDayOfWeek_func
7 TC1 = stc_gps_position
8 TC2 = stc_gps_velocity
9 TC3 = stc_gps_satellite
10 TC4 = stc_gps_nmea
11 TC5 = stc_gps_zone
12 TC6 = utc_location_init
13 TC7 = utc_location_new
14 TC8 = utc_location_start
15 TC9 = utc_location_stop
16 TC10 = utc_location_free
17 TC11 = utc_location_get_position
18 TC12 = utc_location_get_last_position
19 TC13 = utc_location_get_last_known_position
20 TC14 = utc_location_get_velocity
21 TC15 = utc_location_get_last_velocity
22 TC16 = utc_location_get_satellite
23 TC17 = utc_location_get_last_satellite
24 TC18 = utc_properties_method
25 TC19 = utc_signals_service_disabled
26 TC20 = utc_signals_service_enabled
27 TC21 = utc_signals_service_updated
28 TC22 = utc_signals_zone_in
29 TC23 = utc_signals_zone_out
30 TC24 = utc_location_get_address
31 TC25 = utc_location_get_address_from_position
32 TC26 = utc_location_get_position_from_address
33 TC27 = utc_location_get_position_from_freeformed_address
34 TC28 = utc_location_search_poi
35
36 #
37 # add your Package Config Info Here
38 #
39 # e.g.,
40 # PKGS=calendar
41 PKGS= gconf-2.0 network vconf location
42
43 LDLIBS = $(TET_ROOT)/lib/tet3/tcm_s.o
44 LDLIBS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
45 LDLIBS += -L$(TET_ROOT)/lib/tet3 -lapi_s
46 LDLIBS += `pkg-config --libs $(PKGS)`
47
48 TTLIBS = $(TET_ROOT)/lib/tet3/tcm_s.o
49 TTLIBS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
50 TTLIBS += -L$(TET_ROOT)/lib/tet3 -lapi_s
51 TTLIBS += `pkg-config --libs $(PKGS)`
52
53 CC = gcc
54 INCS  = -I$(TET_ROOT)/inc/tet3
55 INCS  +=  -I.`pkg-config --cflags $(PKGS)`
56 CFLAGS = -Wall -D_TETWARE_MODE
57 CFLAGS += $(INCS)
58
59 ###################################################
60 # Modify here
61 # depending on the Test Case you want to build
62 #
63 # e.g.,
64 #
65 TCLIST = $(TC1) $(TC2) $(TC3) $(TC4) $(TC5) $(TC6) $(TC7) $(TC8) $(TC9) $(TC10) $(TC11) $(TC12) $(TC13) $(TC14) $(TC16) $(TC17) $(TC18) $(TC19) $(TC20) $(TC21) $(TC22) $(TC23) $(TC24) $(TC25) $(TC26) $(TC27) $(TC28)
66
67 all: $(TCLIST)
68         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
69
70 clean:
71         rm -f $(TCLIST)
72         rm -f *.o