#Makefile.in - Makefile template for mod_ca. # # # VSD - Virtual Server Daemon # Copyright (c) 2000 - 2001 Idaya Ltd. # # VSD is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # VSD is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with VSD - see the COPYING file; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # # # See the AUTHORS file for a list of contributors to VSD. # See the ChangeLog files for a list of changes. # prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ mandir=@mandir@ LIBS=@LIBS@ CC=@CC@ CFLAGS=@CFLAGS@ BISON=@BISON@ AR=@AR@ INSTALLCMD=@INSTALL@ srcdir=@srcdir@ top_srcdir=@top_srcdir@ VPATH=$(srcdir) SHELL=/bin/sh .SUFFIXES: .SUFFIXES: .c .o OBJS=mod_ca.o ca.o # note that the -I. is needed to handle config.h when using VPATH .c.o: $(CC) -I. -I.. -I../.. -I$(srcdir) -I../../../libvsd $(CFLAGS) -c $< all: mod_ca.a mod_ca_lib.o mod_ca.a: $(OBJS) $(AR) rc $@ $(OBJS) mod_ca_lib.o: mod_ca.c $(CC) -I. -I.. -I../.. -I$(srcdir) $(CFLAGS) -DVSD_LIB -c $< -o $@ proto: cat *.c | awk -f mkproto.awk > proto.h clean: -rm -f *~ *.o mod_ca.a distclean: clean -rm -f configure config.cache config.h config.h.in config.log -rm -f Makefile mod_ca.o mod_ca_lib.o: mod_ca.c mod_ca.h ca.h config.h ../../vsd.h ca.o: ca.c ca.h config.h ../../vsd.h