# Generated automatically from Makefile.in by configure. ###################################################### #- # Copyright (c) 1999-2000 James E. Housley # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $Id: Makefile.in,v 1.1.1.30 2001/01/05 00:57:53 housley Exp $ # ###################################################### # # Source for healthd Makefile # # Just in case prefix?=/usr/local INSTALL?=/usr/bin/install -c INSTALL_PROGRAM?=${INSTALL} INSTALL_DATA?=${INSTALL} -m 644 DEFS=-DHAVE_CONFIG_H -DCONFIG_FILE="\"${prefix}/etc/healthd.conf\"" INCLUDES= CC?=gcc CPPFLAGS+=-I. -DINET6 CFLAGS+= -Wall $(INCLUDES) $(DEFS) $(CPPFLAGS) LDFLAGS=-s LIBS=-lwrap LIBOBJS= RM=rm -f .c.o: $(CC) -c $(CFLAGS) $< PROGRAM = healthd all: $(PROGRAM) $(PROGRAM)c healthd: healthd.c getMBinfo.o getMB-isa.o getMB-smb.o parameters.h methods.h healthd.h VERSION.h optionTable.h $(CC) $(CFLAGS) $(LDFLAGS) -o $@ healthd.c getMBinfo.o getMB-isa.o getMB-smb.o $(LIBS) healthdc: healthdc.c VERSION.h $(CC) $(CFLAGS) $(LDFLAGS) -o $@ healthdc.c $(LIBS) buildOT: buildOT.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ buildOT.c optionTable.h: buildOT ./buildOT > optionTable.h getaddrinfo.o: missing/getaddrinfo.c getnameinfo.o: missing/getnameinfo.c clean: $(RM) *.o *.BAK *.CKP a.out *.core errs *~ $(PROGRAM) $(PROGRAM)c buildOT real-clean: clean $(RM) config.log config.status config.h config.cache \ Makefile optionTable.h install-all: install install-doc install: $(PROGRAM) $(PROGRAM)c $(INSTALL_PROGRAM) -m 0755 -p healthd ${prefix}/sbin $(INSTALL_PROGRAM) -m 0755 -p healthdc ${prefix}/bin $(INSTALL_DATA) -m 644 -p healthd.conf.sample ${prefix}/etc install-doc: $(INSTALL) -c -m 444 healthd.8 ${prefix}/man/man8 $(INSTALL) -c -m 444 healthdc.8 ${prefix}/man/man8