## ####### Makefile.head for nocol ######## # # $Header: /home/vikas/src/nocol/RCS/Makefile.head,v 1.3 2000/01/19 04:08:08 vikas Exp $ ## # Set ROOTDIR here to a directory where everything will be installed # (etc, data). 'netconsole' does a chroot to this directory when it runs. #SRCDIR= `pwd` #ROOTDIR= /usr/local/nocol #MANDIR = $(ROOTDIR)/man #MANEXT = n #NLOG_HOST = nocol.navya.com # host running the noclogd daemon #OPSMAIL = ops@your.domain # periodical condition reports # Set the SHELL else make will fail on good old IRIX... (sigh!!) SHELL=/bin/sh ROOTDIR=@ROOTDIR@ SRCDIR=@SRCDIR@ MANDIR=@MANDIR@ MANEXT=@MANEXT@ LOGHOST=@LOGHOST@ OPSMAIL=@OPSMAIL@ CRITMAIL=@CRITMAIL@ PERL=@PERL@ OS_LIBS=@OS_LIBS@ OS_CFLAGS=@OS_CFLAGS@ AR=@AR@ RANLIB=@RANLIB@ INSTALL=@INSTALL@ # BINDIR where the programs are installed # ETCDIR location of configuration files # PIDDIR where programs create their pid files and error files # DATADIR where datafiles for monitoring programs are created # MSGSDIR for message files that the nocol display shows in # in the 'messages' sub-window # HELPDIR where helpfiles for webnocol are kept. # EXAMPLESDIR directory to store example config files BINDIR= $(ROOTDIR)/bin ETCDIR= $(ROOTDIR)/etc PIDDIR= $(ROOTDIR)/run DATADIR= $(ROOTDIR)/data MSGSDIR= $(ROOTDIR)/msgs HELPDIR= $(ROOTDIR)/help EXAMPLESDIR= $(ETCDIR)/samples ## # NOCOL specific definitions: # -DNOCOL Always defined. # -DNOMULTIPING If you dont want to use 'multiping'. # NOCOLDEFS = -DNOCOL # #'GCC' earlier than 2.x might fail on Sparc # -DDEBUG # CC = @CC@ CFLAGS = @CFLAGS@ $(NOCOLDEFS) $(OS_CFLAGS) -I$(SRCDIR)/include LIBS = -L$(SRCDIR)/lib $(OS_LIBS) -lnocol YACC = @YACC@ ## # Following is so that all the sub-Makefile's can do a rm $(DIRT) # in their 'clean' DIRT = $(OBJS) $(TARG) *.o core a.out ## ####### END Makefile.head ######## ##