include ../BuildMgr/sophyamake.inc
 
all: $(SOPHYALIBP)libSysTools.a
 
clean:
	 rm -f $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)zthread.o $(SOPHYAOBJP)timing.o
	rm -f $(SOPHYALIBP)libSysTools.a
 
$(SOPHYALIBP)libSysTools.a : $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)timing.o $(SOPHYAOBJP)zthread.o
	$(AR) $(ARFLAGS) $@ $? 
	touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
 
$(SOPHYAOBJP)cexpre.o: cexpre.cc \
  $(SOPHYAINCP)sopnamsp.h cexpre.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)srandgen.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)commander.o: commander.cc \
  $(SOPHYAINCP)sopnamsp.h \
  commander.h \
  $(SOPHYAINCP)machdefs.h pdlmgr.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)mutyv.h ctimer.h \
  $(SOPHYAINCP)strutil.h \
  $(SOPHYAINCP)strutilxx.h \
  cexpre.h rpneval.h \
  $(SOPHYAINCP)srandgen.h \
  zthread.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)ctimer.o: ctimer.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h ctimer.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc \
  $(SOPHYAINCP)sopnamsp.h \
  cxxcmplnk.h \
  $(SOPHYAINCP)machdefs.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)sopnamsp.h pdlmgr.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)periodic.o: periodic.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  periodic.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)psighand.o: psighand.cc \
  $(SOPHYAINCP)sopnamsp.h \
  psighand.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)resusage.o: resusage.cc \
  $(SOPHYAINCP)sopnamsp.h \
  resusage.h \
  $(SOPHYAINCP)machdefs.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)rpneval.o: rpneval.cc \
  $(SOPHYAINCP)sopnamsp.h \
  rpneval.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)strutilxx.h \
  $(SOPHYAINCP)srandgen.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)zthread.o: zthread.cc \
  $(SOPHYAINCP)sopnamsp.h \
  zthread.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h
	$(CXXCOMPILELIB) -o $@ $<
 
$(SOPHYAOBJP)timing.o: timing.c timing.h
	$(CCOMPILE) -o $@ $<
 
