Finished some stuff in TODO list.. Added cc_of_strerror
Merge pull request #12 from bollaramya/dev-onf-driver

Finished some stuff in TODO list.. Added cc_of_strerror
Some changes from pending tasks
Merge branch 'dev-onf-driver' of https://github.com/deepadhurka/CC-ONF-driver into dev-onf-driver

Conflicts:
	src/cc_of_lib.c
Merge pull request #13 from edeedhu/dev-onf-driver

additional tasks done
Makefile and some changes
Merge pull request #14 from edeedhu/dev-onf-driver

Makefile and some changes
Make clean now works
Merge pull request #15 from edeedhu/dev-onf-driver

Make clean now works
1. new targets
	a. separate target to build objects
	b. a dryrun target for debugging
	c. modification to all target to compile both objets and target lib

2. tested to work

3. included the path to our header files in the gcc line

4. objects now created in a separate directory. directory created
   dynamically.

5. clean target updated to remove obj directory
Resolved dependency loops between header files
Moved much of the definitions from global.h to net_conn.h
Fixed some compilation issues
Objects files are now getting generated. A couple of compilation
warnings exist but no errors
Now works to create multiple .o, each corresponding to correct .c
Removed compilation issues in cc_pollthr_mgr.c
Makefile finally works to create an object file per .c file
Past iterations of Makefile had a bug in this part of the script
All linker and compiler issues resolved.
MILESTONE ACHIEVED!!

EUSJGALA176:CC-ONF-driver edeedhu$ $MAKE all
mkdir /Users/edeedhu/hub/forked/CC-ONF-driver/obj
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/Users/edeedhu/hub/forked/CC-ONF-driver/include -Wall -Wextra -g  -c /Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_pollthr_mgr.c -o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_pollthr_mgr.o
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/Users/edeedhu/hub/forked/CC-ONF-driver/include -Wall -Wextra -g  -c /Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_of_lib.c -o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_of_lib.o
/Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_of_lib.c: In function ‘cc_of_lib_abort’:
/Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_of_lib.c:76: warning: control reaches end of non-void function
/Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_of_lib.c: In function ‘cc_of_strerror’:
/Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_of_lib.c:85: warning: return discards qualifiers from pointer target type
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/Users/edeedhu/hub/forked/CC-ONF-driver/include -Wall -Wextra -g  -c /Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_tcp_conn.c -o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_tcp_conn.o
/Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_tcp_conn.c:26: warning: initialization from incompatible pointer type
/Users/edeedhu/hub/forked/CC-ONF-driver/include/cc_of_lib.h:21: warning: ‘cc_of_errtable’ defined but not used
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/Users/edeedhu/hub/forked/CC-ONF-driver/include -Wall -Wextra -g  -c /Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_of_util.c -o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_of_util.o
/Users/edeedhu/hub/forked/CC-ONF-driver/include/cc_of_lib.h:21: warning: ‘cc_of_errtable’ defined but not used
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/Users/edeedhu/hub/forked/CC-ONF-driver/include -Wall -Wextra -g  -c /Users/edeedhu/hub/forked/CC-ONF-driver/src/cc_udp_conn.c -o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_udp_conn.o
/Users/edeedhu/hub/forked/CC-ONF-driver/include/cc_of_lib.h:21: warning: ‘cc_of_errtable’ defined but not used
	gcc -lglib-2.0 -shared /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_pollthr_mgr.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_of_lib.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_tcp_conn.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_of_util.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_udp_conn.o -o libccof.so
gcc -lglib-2.0 -shared /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_pollthr_mgr.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_of_lib.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_tcp_conn.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_of_util.o /Users/edeedhu/hub/forked/CC-ONF-driver/obj/cc_udp_conn.o -o libccof.so
EUSJGALA176:CC-ONF-driver edeedhu$
EUSJGALA176:CC-ONF-driver edeedhu$
EUSJGALA176:CC-ONF-driver edeedhu$
EUSJGALA176:CC-ONF-driver edeedhu$ ls -l libccof.so
-rwxr-xr-x  1 edeedhu  2110378014  45584 Aug 13 18:10 libccof.so
EUSJGALA176:CC-ONF-driver edeedhu$
EUSJGALA176:CC-ONF-driver edeedhu$
EUSJGALA176:CC-ONF-driver edeedhu$ ls -l obj/
total 192
-rw-r--r--  1 edeedhu  2110378014  16376 Aug 13 18:10 cc_of_lib.o
-rw-r--r--  1 edeedhu  2110378014  21796 Aug 13 18:10 cc_of_util.o
-rw-r--r--  1 edeedhu  2110378014  28520 Aug 13 18:10 cc_pollthr_mgr.o
-rw-r--r--  1 edeedhu  2110378014  12808 Aug 13 18:10 cc_tcp_conn.o
-rw-r--r--  1 edeedhu  2110378014   9228 Aug 13 18:10 cc_udp_conn.o
Merge pull request #16 from edeedhu/dev-onf-driver

Makefile and resolved compilation issues for cc_of_lib.h/.c
Lots of changes in cc_of_lib/utilities/netsvcs files
Merge pull request #17 from bollaramya/dev-onf-driver

Lots of changes in cc_of_lib/utilities/netsvcs files
Resolved Makefile conflict