include ../Mgr/Makefile.h
 
all: $(LIB)libSysTools.a
clean:
	rm -f $(OBJ)cexpre.o $(OBJ)commander.o $(OBJ)ctimer.o $(OBJ)cxxcmplnk.o $(OBJ)pdlmgr.o $(OBJ)periodic.o $(OBJ)psighand.o $(OBJ)resusage.o $(OBJ)rpneval.o $(OBJ)zthread.o $(OBJ)timing.o
	rm -f $(LIB)libSysTools.a
$(LIB)libSysTools.a : $(OBJ)cexpre.o $(OBJ)commander.o $(OBJ)ctimer.o $(OBJ)cxxcmplnk.o $(OBJ)pdlmgr.o $(OBJ)periodic.o $(OBJ)psighand.o $(OBJ)resusage.o $(OBJ)rpneval.o $(OBJ)timing.o $(OBJ)zthread.o
	$(ARCXX) $(ARCXXFLAGS) $@ $($(ARARGS))
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)cexpre.o: cexpre.cc cexpre.h $(INC)machdefs.h \
  $(INC)osx_values.h \
  $(INC)pexceptions.h
$(OBJ)commander.o: commander.cc commander.h \
  $(INC)machdefs.h \
  $(INC)osx_values.h pdlmgr.h \
  $(INC)dvlist.h \
  $(INC)objfio.h \
  $(INC)anydataobj.h \
  $(INC)ppersist.h \
  $(INC)pexceptions.h \
  $(INC)gnumd5.h \
  $(INC)ppfbinstream.h \
  $(INC)rawstream.h \
  $(INC)ppfnametag.h \
  $(INC)mutyv.h ctimer.h \
  $(INC)strutil.h \
  $(INC)strutilxx.h \
  $(INC)srandgen.h
$(OBJ)ctimer.o: ctimer.cc $(INC)machdefs.h \
  $(INC)osx_values.h ctimer.h
$(OBJ)cxxcmplnk.o: cxxcmplnk.cc cxxcmplnk.h \
  $(INC)machdefs.h \
  $(INC)osx_values.h
$(OBJ)pdlmgr.o: pdlmgr.cc $(INC)machdefs.h \
  $(INC)osx_values.h pdlmgr.h
$(OBJ)periodic.o: periodic.cc $(INC)machdefs.h \
  $(INC)osx_values.h periodic.h
$(OBJ)psighand.o: psighand.cc psighand.h \
  $(INC)machdefs.h \
  $(INC)osx_values.h \
  $(INC)pexceptions.h
$(OBJ)resusage.o: resusage.cc resusage.h \
  $(INC)machdefs.h \
  $(INC)osx_values.h
$(OBJ)rpneval.o: rpneval.cc rpneval.h \
  $(INC)machdefs.h \
  $(INC)osx_values.h \
  $(INC)pexceptions.h \
  $(INC)strutilxx.h \
  $(INC)srandgen.h
$(OBJ)zthread.o: zthread.cc zthread.h \
  $(INC)machdefs.h \
  $(INC)osx_values.h \
  $(INC)pexceptions.h
$(OBJ)timing.o: timing.c timing.h
