Index: /trunk/psLib/src/Makefile
===================================================================
--- /trunk/psLib/src/Makefile	(revision 423)
+++ /trunk/psLib/src/Makefile	(revision 423)
@@ -0,0 +1,61 @@
+ifndef prefix
+    export prefix=$(shell cd ..;pwd)
+endif
+
+include Makefile.Globals
+
+NAME:= "$Name: not supported by cvs2svn $ "
+ifeq ($(NAME), "ame: $")
+   VERSION:= ": Project Version: Unknown "
+else
+   VERSION:= ": Project Version: $(NAME) "
+endif
+
+ALLTARGETS = sysUtils
+INSTALLTARGETS = installSysUtils
+CLEANTARGETS = cleanSysUtils
+
+all:	$(ALLTARGETS)  
+	@echo ""
+	@echo "    ---- All targets built successfully $(VERSION) ----"
+	@echo ""
+
+sysUtils:
+	$(MAKE) --directory=sysUtils all
+
+installSysUtils:
+	$(MAKE) --directory=sysUtils install
+
+cleanSysUtils:
+	$(MAKE) --directory=sysUtils clean
+
+
+$(includedir):
+	mkdir -p $(includedir)
+
+$(bindir):
+	mkdir -p $(bindir)
+
+$(libexecdir):
+	mkdir -p $(libexecdir)
+       
+$(mandir): $(mandir)/man3
+	mkdir -p $(mandir)
+        
+$(mandir)/man3: $(mandir)/man3
+	mkdir -p $(mandir)/man3
+
+installdirs: $(includedir) $(bindir) $(libexecdir)
+
+install: installdirs $(INSTALLTARGETS) docs
+	cp -r docs/man/man3/* $(mandir)/man3
+
+clean: $(CLEANTARGETS)
+
+distclean: $(DISTCLEANTARGETS)
+        
+docs:
+	doxygen Doxyfile
+
+tags:	
+	cd $(IPPROOT) ; etags `find . \( -name \*.[chy] -o -name \*.cpp \) -print`
Index: /trunk/psLib/src/Makefile.Globals
===================================================================
--- /trunk/psLib/src/Makefile.Globals	(revision 423)
+++ /trunk/psLib/src/Makefile.Globals	(revision 423)
@@ -0,0 +1,52 @@
+ifndef OSTYPE
+  OSTYPE:=$(shell uname -s)
+endif
+
+ifndef mandir
+    export mandir = $(prefix)/man
+endif
+
+ifndef includedir
+    export includedir = $(prefix)/include
+endif
+
+ifndef bindir
+    export bindir = $(prefix)/bin
+endif
+
+ifndef libexecdir
+    export libexecdir = $(prefix)/lib
+endif
+
+CFLAGS:= -O2 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -fpic --pipe
+
+LDFLAGS:= --pipe -shared -fPIC -ldl
+
+SO:=so
+DLL:=so
+
+ifneq "$(findstring arwin,$(OSTYPE))" ""
+  CFLAGS:= -O2 -g2 -Wall -Wno-long-double -std=c99 -DDARWIN --pipe
+  LDFLAGS:= --pipe -bundle -flat_namespace -undefined suppress 
+  SO:=bundle
+  DLL:=dylib
+endif
+
+ifneq "$(findstring olaris,$(OSTYPE))" ""
+  CC = gcc
+  CFLAGS_GLOBAL:= -O2 -g2 -Wall -std=c99 -DSOLARIS --pipe
+endif
+
+ifndef RANLIB
+    export RANLIB=ranlib
+endif
+
+ifndef CC
+    export CC=cc
+endif
+
+ifndef LD
+    export LD=ld
+endif
+
+.PHONY:	all install distclean clean print_header docs tags
Index: /trunk/psLib/src/Makefile.Globals~
===================================================================
--- /trunk/psLib/src/Makefile.Globals~	(revision 423)
+++ /trunk/psLib/src/Makefile.Globals~	(revision 423)
@@ -0,0 +1,58 @@
+ifndef OSTYPE
+  OSTYPE:=$(shell uname -s)
+endif
+
+ifndef mandir
+    export mandir = $(prefix)/man
+endif
+
+ifndef includedir
+    export includedir = $(prefix)/include
+endif
+
+ifndef bindir
+    export bindir = $(prefix)/bin
+endif
+
+ifndef libexecdir
+    export libexecdir = $(prefix)/lib
+endif
+
+CFLAGS:= -O2 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -fpic --pipe
+
+LDFLAGS:= --pipe -shared -fPIC -ldl
+
+SO:=so
+DLL:=so
+
+ifneq "$(findstring arwin,$(OSTYPE))" ""
+  CFLAGS:= -O2 -g2 -Wall -Wno-long-double -std=c99 -DDARWIN --pipe
+  LDFLAGS:= --pipe -bundle -flat_namespace -undefined suppress 
+  SO:=bundle
+  DLL:=dylib
+endif
+
+ifneq "$(findstring olaris,$(OSTYPE))" ""
+  CC = gcc
+  CFLAGS_GLOBAL:= -O2 -g2 -Wall -std=c99 -DSOLARIS --pipe
+endif
+
+ifdef DEBUG
+  CFG = Debug
+else
+  CFG = Release
+endif
+
+ifndef RANLIB
+    export RANLIB=ranlib
+endif
+
+ifndef CC
+    export CC=cc
+endif
+
+ifndef LD
+    export LD=ld
+endif
+
+.PHONY:	all install distclean clean print_header docs tags
Index: /trunk/psLib/src/Makefile~
===================================================================
--- /trunk/psLib/src/Makefile~	(revision 423)
+++ /trunk/psLib/src/Makefile~	(revision 423)
@@ -0,0 +1,61 @@
+ifndef prefix
+    export prefix=$(shell cd ..;pwd)
+endif
+
+include Makefile.Globals
+
+NAME:= "$Name: not supported by cvs2svn $ "
+ifeq ($(NAME), "ame: $")
+   VERSION:= ": Project Version: Unknown "
+else
+   VERSION:= ": Project Version: $(NAME) "
+endif
+
+ALLTARGETS = sysUtils
+INSTALLTARGETS = installSysUtils
+CLEANTARGETS = cleanSysUtils
+
+all:	$(ALLTARGETS)  
+	@echo ""
+	@echo "    ---- All targets built successfully $(VERSION) ----"
+	@echo ""
+
+sysUtils:
+	$(MAKE) --directory=sysUtils all
+
+installSysUtils:
+	$(MAKE) --directory=sysUtils install
+
+cleanSysUtils:
+	$(MAKE) --directory=sysUtils clean
+
+
+$(includedir):
+	mkdir -p $(includedir)
+
+$(bindir):
+	mkdir -p $(bindir)
+
+$(libexecdir):
+	mkdir -p $(libexecdir)
+       
+$(mandir): $(mandir)/man3
+	mkdir -p $(mandir)
+        
+$(mandir)/man3: $(mandir)/man3
+	mkdir -p $(mandir)/man3
+
+installdirs: $(includedir) $(bindir) $(libexecdir)
+
+install: installdirs $(INSTALLTARGETS) docs
+	cp -r docs/man/man3/* $(mandir)/man3
+
+clean: $(CLEANTARGETS)
+
+distclean: $(DISTCLEANTARGETS)
+        
+docs:
+	doxygen Doxyfile
+
+tags:	
+	cd $(IPPROOT) ; etags `find . \( -name \*.[chy] -o -name \*.cpp \) -print`
Index: /trunk/psLib/src/sysUtils/Makefile
===================================================================
--- /trunk/psLib/src/sysUtils/Makefile	(revision 423)
+++ /trunk/psLib/src/sysUtils/Makefile	(revision 423)
@@ -0,0 +1,34 @@
+#################################################################
+##
+##
+#################################################################
+ifndef prefix
+    export prefix=$(shell cd ../..;pwd)
+endif
+
+TARGET = libpsSysUtils.a
+
+all: $(TARGET)
+
+include ../Makefile.Globals
+
+CFLAGS = $(CFLAGS_MODULE) $(INCLUDE_GLOBAL)
+
+SRC_OBJS = psTrace.o
+
+libpsSysUtils.a: $(SRC_OBJS)
+	$(AR) -r libpsSysUtils.a $(SRC_OBJS)
+
+install: $(TARGET)
+	install *.h $(includedir)
+	install $(TARGET) $(libexecdir)
+
+distclean:	clean
+	$(RM) $(TARGET)
+
+clean:
+	@echo "    Deleting intermediate files for 'utilities - $(CFG)'"
+	$(RM) $(SRC_OBJS) *.lint
+
+%.lint: %.c
+	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 
