1 # 2 # DESCRIPTION: 3 # Makefile for jni shared object 4 # 5 ########### Revision History ######################################## 6 # 7 # Date Author Reference 8 # ======== ======== ================================ 9 # 03-08-07 fdp101 initial draft 10 # 11 ##################################################################### 12 13 # java home 14 ifndef JAVA_HOME 15 JAVA_HOME := /opt/jdk1.3.1 16 endif 17 18 GLOBAL_TARGET_SUBDIR := lib 19 GLOBAL_TARGET_FILENAME := libdmssession_static.a 20 21 GLOBAL_SUBDIRS_A = \ 22 dmengine/oma_toolkit/src \ 23 dmengine/dm_ssession/src \ 24 dmengine/dm_transport/src \ 25 dmengine/dm_security/src 26 27 28 GLOBAL_EXTRA_CC_FLAGS = \ 29 -I$(DIR_DM)/portlib/hdr \ 30 -I$(DIR_DM)/portlib/generic \ 31 -I$(DIR_DM)/portlib/lj/hdr \ 32 -I$(DIR_DM)/dmengine/hdr \ 33 -I$(DIR_DM)/dmengine/dm_util/hdr \ 34 -I$(DIR_DM)/dmengine/dm_persist/hdr \ 35 -I$(DIR_DM)/dmengine/dm_security/hdr \ 36 -I$(DIR_DM)/dmengine/dm_ssession/hdr \ 37 -I$(DIR_DM)/dmengine/dm_tnm/hdr \ 38 -I$(DIR_DM)/dmengine/dm_transport/hdr \ 39 -I$(DIR_DM)/dmengine/dm_ua/hdr \ 40 -I$(DIR_DM)/dmengine/oma_toolkit/sml/xpt/hdr \ 41 -I$(DIR_DM)/dmengine/oma_toolkit/sml/mgr/hdr \ 42 -I$(DIR_DM)/dmengine/oma_toolkit/sml/ghdr \ 43 -I$(DIR_DM)/dmengine/oma_toolkit/sml/lib/hdr \ 44 -I$(DIR_DM)/dmengine/oma_toolkit/sml/wsm/hdr \ 45 -I$(DIR_DM)/dmengine/oma_toolkit/sml/xlt/src \ 46 -I$(DIR_DM)/dmengine/oma_toolkit/sml/xlt/hdr \ 47 -I$(DIR_DM)/api/common \ 48 -I$(DIR_DM)/api/native \ 49 -I$(DIR_DM)/dmtapi/native/hdr \ 50 -I$(DIR_DM)/plugin/hdr \ 51 -I$(DIR_XPL)/code/portlib/hdr \ 52 -I$(DIR_XPL)/code/portlib/linux/hdr \ 53 -I$(DIR_XPL)/code/utility/hdr \ 54 -I$(DIR_DM)/api/native/plugin \ 55 -DEZX_PORT \ 56 -DDM_DUMP_SYNCML_PACKAGE 57 58 59 60 GLOBAL_CREATE_LIB = 1 61 62 #GLOBAL_EXTRA_LINK_FLAGS := -shared -ldmnative -ldmportlib \ 63 -Xlinker -O -Xlinker 5 \ 64 -Xlinker --version-script=versionsc_ssesion 65 66 GLOBAL_DEP_FILENAME = deps_ssession 67 68 include /vobs/linuxjava/device_mgmt/dm/core/src/linux_java/mkfiles/GenericMake 69 70 71