DEFS = @DEFS@
LIBS = @LIBS@
-CFLAGS = -g $(DEFS)
+CFLAGS = -g $(DEFS) -I. -I$(srcdir)
LDFLAGS = -g
RM = rm -f
ETOBJS= gssapi_generic_err.o
ETHDRS= gssapi_generic_err.h
+gssapi_generic_err.o: gssapi_generic_err.c
+
+gssapi_generic_err.h: gssapi_generic_err.et
+
+gssapi_generic_err.c: gssapi_generic_err.et
+
#if HasHashLibrary
# UTIL_VALIDATE_SRC= $(srcdir)/util_validate.c
# UTIL_VALIDATE_OBJ= util_validate.o
CONFIG_RULES
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
-CopyHeader(gssapi.h,[$(EHDRDIR)])
-CopyHeader(gssapi_generic.h,[$(EHDRDIR)])
+CopySrcHeader(gssapi.h,[$(EHDRDIR)])
+CopySrcHeader(gssapi_generic.h,[$(EHDRDIR)])
AC_OUTPUT(Makefile,[EXTRA_RULES])
DEFS = @DEFS@
LIBS = @LIBS@
-CFLAGS = -g $(DEFS)
+CFLAGS = -g $(DEFS) -I. -I$(srcdir) -I../generic -I$(srcdir)/../generic
LDFLAGS = -g
RM = rm -f
ETOBJS= gssapi_krb5_err.o
ETHDRS= gssapi_krb5_err.h
+gssapi_krb5_err.o: gssapi_krb5_err.c
+
+gssapi_krb5_err.h: gssapi_krb5_err.et
+
+gssapi_krb5_err.c: gssapi_krb5_err.et
+
CCSRCS = \
$(srcdir)/accept_sec_context.c \
$(srcdir)/acquire_cred.c \
LINTFILES= error_message.c et_name.c init_et.c com_err.c
LIBOBJS= error_message.o et_name.o init_et.o com_err.o
# for et_lex.lex.c include in error_table.y
-LOCALINCLUDE=-I.
+LOCALINCLUDE=-I. -I$(srcdir)
FILES= Makefile et_name.c error_message.c compile_et.c \
et_lex.lex.l error_table.y init_et.c \
# hard coded .. is so that ss/ss_err.h works
# hard coded ../et is so com_err.h works
# CFLAGS= -I${INCDIR} -I. -I.. -I../et -g
-LOCALINCLUDE= -I. -I$(srcdir)/.. -I$(srcdir)/../et -I..
+LOCALINCLUDE= -I. -I$(srcdir)/ -I$(srcdir)/.. -I$(srcdir)/../et -I..
# for the library