# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/gac
pkglibdir = $(libdir)/gac
pkgincludedir = $(includedir)/gac

top_builddir = ..

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
CC = gcc
LN_S = ln -s
MAINT = #
MAKEINFO = makeinfo
PACKAGE = gac
RANLIB = ranlib
VERSION = 0.5.0

INCLUDES = -I$(top_builddir)/include

HANDLE_LIB = $(top_builddir)/handle/libhandle.a
GS_LIB = $(top_builddir)/libgs/libgs.a
ASM_LIB = $(top_builddir)/libasm/libasm.a
TSS_LIB = $(top_builddir)/libtss/libtss.a
PS_LIB = $(top_builddir)/libps/libps.a
GAC_LIB = $(top_builddir)/libgac/libgac.a
CERT_LIB = $(top_builddir)/certlib/libcert.a
V3EXT_LIB = $(top_builddir)/v3_ext/libgacext.a
CUTIL_LIB = $(top_builddir)/crypto/libcryptutil.a
UTIL_LIB = $(top_builddir)/utility/libutil.a
OPENSSL_LIB = $(top_builddir)/libssl/libcrypto.a

bin_PROGRAMS = cad

cad_LDADD = $(HANDLE_LIB) $(GS_LIB) $(ASM_LIB) $(TSS_LIB) 						$(PS_LIB)	$(GAC_LIB) $(CERT_LIB) $(V3EXT_LIB) 						$(CUTIL_LIB) $(UTIL_LIB) $(OPENSSL_LIB)


cad_LDFLAGS = -lm

cad_SOURCES = main.c

INST_DIR = $(top_builddir)/inst
CAD_DIR = $(bindir)/ca
CAD_RC = $(CAD_DIR)/.gac
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES = 
PROGRAMS =  $(bin_PROGRAMS)


DEFS =  -DPACKAGE=\"gac\" -DVERSION=\"0.5.0\" -DRETSIGTYPE=void -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRSTR=1 -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DMONOLITH=1 -DDEMO=1 -DMEASURE=1 -DTEST=1  -I. -I$(srcdir) 
CPPFLAGS = 
LDFLAGS = 
LIBS = 
cad_OBJECTS =  main.o
cad_DEPENDENCIES =  $(top_builddir)/handle/libhandle.a \
$(top_builddir)/libgs/libgs.a $(top_builddir)/libasm/libasm.a \
$(top_builddir)/libtss/libtss.a $(top_builddir)/libps/libps.a \
$(top_builddir)/libgac/libgac.a $(top_builddir)/certlib/libcert.a \
$(top_builddir)/v3_ext/libgacext.a \
$(top_builddir)/crypto/libcryptutil.a $(top_builddir)/utility/libutil.a \
$(top_builddir)/libssl/libcrypto.a
CFLAGS = -g -Wall
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(cad_SOURCES)
OBJECTS = $(cad_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps cad/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

cad: $(cad_OBJECTS) $(cad_DEPENDENCIES)
	@rm -f cad
	$(LINK) $(cad_LDFLAGS) $(cad_OBJECTS) $(cad_LDADD) $(LIBS)

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = cad

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
main.o: main.c ../include/define.h ../include/utility.h ../include/log.h \
	../include/miscel.h ../include/certlib.h \
	../include/openssl/x509.h ../include/openssl/symhacks.h \
	../include/openssl/buffer.h ../include/openssl/evp.h \
	../include/openssl/opensslconf.h ../include/openssl/bio.h \
	../include/openssl/crypto.h ../include/openssl/stack.h \
	../include/openssl/safestack.h ../include/openssl/opensslv.h \
	../include/openssl/md2.h ../include/openssl/md4.h \
	../include/openssl/md5.h ../include/openssl/sha.h \
	../include/openssl/ripemd.h ../include/openssl/des.h \
	../include/openssl/e_os2.h ../include/openssl/rc4.h \
	../include/openssl/rc2.h ../include/openssl/rc5.h \
	../include/openssl/blowfish.h ../include/openssl/cast.h \
	../include/openssl/idea.h ../include/openssl/mdc2.h \
	../include/openssl/rsa.h ../include/openssl/bn.h \
	../include/openssl/dsa.h ../include/openssl/dh.h \
	../include/openssl/objects.h ../include/openssl/obj_mac.h \
	../include/openssl/asn1.h ../include/openssl/x509_vfy.h \
	../include/openssl/lhash.h ../include/openssl/pkcs7.h \
	../include/packet.h ../include/gs.h ../include/crypto.h \
	../include/openssl/x509v3.h ../include/openssl/conf.h \
	../include/openssl/pem.h ../include/openssl/pem2.h \
	../include/openssl/err.h ../include/openssl/rand.h \
	../include/sslutil.h ../include/funcs.h ../include/v3ext.h \
	../include/gcobj.h ../include/gsobj.h ../include/global.h

info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS install-exec-local
install-exec: install-exec-am

install-data-am:
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS uninstall-local
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(bindir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
		mostlyclean-am

clean: clean-am

distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
		distclean-generic clean-am

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-binPROGRAMS \
		maintainer-clean-compile maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-local \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-local uninstall-am uninstall all-redirect all-am all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


install-exec-local:
			mkdir $(CAD_DIR)
			mv $(bindir)/cad $(CAD_DIR)
			cp -rf $(INST_DIR)/demoGCA $(CAD_DIR)/
			cp -rf $(INST_DIR)/conf $(CAD_RC)

uninstall-local:
			rm -rf $(CAD_DIR)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
