Jamfile #6

  • //
  • guest/
  • michael_shields/
  • src/
  • p4loga/
  • Jamfile
  • View
  • Commits
  • Open Download .zip Download (669 B)
C++FLAGS = -g -D_GNU_SOURCE ;
OPTIM = ;
OSINFO = $(OS)$(OSVER:E)$(OSPLAT:E) ;
OTHERS = ;

LOCATE_TARGET = ../../bin.$(OSINFO:L) ;

switch $(OSINFO)
{

case CYGWIN13X86 :
	C++ = c++ ;
	LINK = $(C++) ;
	OTHERS = strptime.cc ;

case HPUX11 :
	C++ = /opt/aCC/bin/aCC ;
	DEFINES += NONAMESPACE ;
	LINK = $(C++) ;

case NTX86 :
	C++FLAGS = -GX ;
	LOCATE_TARGET = ..\\..\\bin.$(OSINFO:L) ;
	OTHERS = strncasecmp.cc strptime.cc ;

case SOLARIS8SPARC :
	C++ = gcc ;
	LINK = c++ ;
	LINKFLAGS = -static ;

case * :
	LINK = c++ ;

}

Main p4loga : p4loga.cc args.cc extremes.cc funcnames.cc funcstats.cc
	linkedts.cc log.cc pidfunc.cc pidhash.cc timestamp.cc usage.cc
	$(OTHERS) ;
# Change User Description Committed
#6 4955 Michael Shields Abstract out Log class.
#5 4631 Michael Shields Updated p4loga builds for linux24x86 (suse) and
solaris8sparc (sunultra).
#4 1915 Michael Shields Ported p4loga to cygwin13x86 (built on 1.3.10).
#3 1817 Michael Shields Ported p4loga to ntx86.
#2 1722 Michael Shields p4loga builds for freebsd4 (play), hpux11 (hell), linux24x86 (duey),
and solaris26 (shucks). A bit of porting was required for the hpux11
build (aCC as configured on hell isn't quite up to speed with respect
to namespaces).
#1 1610 Michael Shields Adding p4d log analyzer concocted by myself.
Compiles and executes
on Red Hat 6.0, 7.0, and probably a few other operating systems
with perhaps a little help. Still needs comments.