tizen beta release
[framework/location/libslp-location.git] / TC / unit / Makefile
index 58743b6..2a33f95 100644 (file)
@@ -5,52 +5,67 @@
 # TC1 = utc_frameworkName_apiName_func
 # TC2 = utc_ApplicationLib_recurGetDayOfWeek_func
 TC1 = stc_gps_position
-TC2 = stc_gps_velocity 
-TC3 = stc_gps_satellite 
-TC4 = stc_gps_nmea 
-TC5 = stc_gps_zone  
+TC2 = stc_gps_velocity
+TC3 = stc_gps_satellite
+TC4 = stc_gps_nmea
+TC5 = stc_gps_zone
 TC6 = utc_location_init
 TC7 = utc_location_new
-TC8 = utc_location_start 
-TC9 = utc_location_stop 
-TC10 = utc_location_free 
-TC11 = utc_location_get_position 
-TC12 = utc_location_get_velocity         
-TC13 = utc_properties_last_position 
-TC14 = utc_properties_method 
-TC16 = utc_properties_boundary 
-TC17 = utc_signals_service_disabled 
-TC18 = utc_signals_service_enabled 
-TC19 = utc_signals_service_updated 
-TC20 = utc_signals_zone_in
-TC21 = utc_signals_zone_out
-TC22 = utc_location_get_address
-TC23 = utc_location_get_address_from_position
-TC24 = utc_location_get_position_from_address
-TC25 = utc_location_get_position_from_freeformed_address
+TC8 = utc_location_start
+TC9 = utc_location_stop
+TC10 = utc_location_free
+TC11 = utc_location_get_position
+TC12 = utc_location_get_last_position
+TC13 = utc_location_get_last_known_position
+TC14 = utc_location_get_velocity
+TC15 = utc_location_get_last_velocity
+TC16 = utc_location_get_satellite
+TC17 = utc_location_get_last_satellite
+TC18 = utc_properties_method
+TC19 = utc_signals_service_disabled
+TC20 = utc_signals_service_enabled
+TC21 = utc_signals_service_updated
+TC22 = utc_signals_zone_in
+TC23 = utc_signals_zone_out
+TC24 = utc_location_get_address
+TC25 = utc_location_get_address_from_position
+TC26 = utc_location_get_position_from_address
+TC27 = utc_location_get_position_from_freeformed_address
 
 #
 # add your Package Config Info Here
 #
 # e.g.,
 # PKGS=calendar
-PKGS= location gconf-2.0
+PKGS= gconf-2.0 network vconf location
 
-LDLIBS = `pkg-config --libs $(PKGS)` 
-LDLIBS +=$(TET_ROOT)/lib/tet3/tcm_s.o
-LDLIBS +=-L$(TET_ROOT)/lib/tet3 -ltcm_s
-LDLIBS +=-L$(TET_ROOT)/lib/tet3 -lapi_s
+LDLIBS = $(TET_ROOT)/lib/tet3/tcm_s.o
+LDLIBS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
+LDLIBS += -L$(TET_ROOT)/lib/tet3 -lapi_s
+LDLIBS += `pkg-config --libs $(PKGS)`
+
+TTLIBS = $(TET_ROOT)/lib/tet3/tcm_s.o
+TTLIBS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
+TTLIBS += -L$(TET_ROOT)/lib/tet3 -lapi_s
+TTLIBS += `pkg-config --libs $(PKGS)`
 
 CC = gcc
-INCS  =  -I. `pkg-config --cflags $(PKGS)`
-INCS  += -I$(TET_ROOT)/inc/tet3 
-CFLAGS = $(INCS)
-CFLAGS += -Wall -D_TETWARE_MODE
+INCS  = -I$(TET_ROOT)/inc/tet3
+INCS  +=  -I.`pkg-config --cflags $(PKGS)`
+CFLAGS = -Wall -D_TETWARE_MODE
+CFLAGS += $(INCS)
 
 ###################################################
-# Modify here 
+# Modify here
 # depending on the Test Case you want to build
-# 
+#
 # e.g.,
-# 
-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)
+#
+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)
+
+all: $(TCLIST)
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+clean:
+       rm -f $(TCLIST)
+       rm -f *.o