summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/generic/Makefile.in
blob: 7661a52d2c1f884cc5f5a949ac23c1dada936c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
BUILDTOP=@BUILDTOP@
SUBDIRS = @SUBDIRS@

srcdir = @srcdir@
VPATH = @srcdir@

DEFS = @DEFS@
LIBS = @LIBS@
 
CFLAGS = $(CCOPTS) $(DEFS) -I. -I$(srcdir)
LDFLAGS = -g

RM = rm -f
CP = cp

AWK = @AWK@

SRCTOP = $(srcdir)/$(BUILDTOP)

all:: $(OBJS)

ETSRCS= gssapi_generic_err.c
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
#else
UTIL_VALIDATE_SRC= $(srcdir)/util_val_nohash.c
UTIL_VALIDATE_OBJ= util_val_nohash.o
#endif

CCSRCS = \
	$(srcdir)/display_major_status.c \
	$(srcdir)/display_com_err_status.c \
	$(srcdir)/gssapi_generic.c \
	$(srcdir)/release_buffer.c \
	$(srcdir)/release_oid_set.c \
	$(srcdir)/util_buffer.c \
	$(srcdir)/util_canonhost.c \
	$(srcdir)/util_dup.c \
	$(srcdir)/util_oid.c \
	$(srcdir)/util_token.c \
	$(UTIL_VALIDATE_SRC)

CCOBJS = \
	display_major_status.o \
	display_com_err_status.o \
	gssapi_generic.o \
	release_buffer.o \
	release_oid_set.o \
	util_buffer.o \
	util_canonhost.o \
	util_dup.o \
	util_oid.o \
	util_token.o \
	$(UTIL_VALIDATE_OBJ)


EHDRDIR= $(BUILDTOP)/include/gssapi
EXPORTED_HEADERS= gssapi.h gssapi_generic.h

SRCS= $(ETSRCS) $(CCSRCS)
OBJS= $(ETOBJS) $(CCOBJS)
HDRS= $(ETHDRS)

all:: $(SRCS) $(HDRS) includes $(OBJS)

clean::
	$(RM) $(ETHDRS) $(ETSRCS)

# Krb5InstallHeaders($(EXPORTED_HEADERS), $(KRB5_INCDIR)/krb5)

includes::
	@-mkdir $(EHDRDIR)

depend:: $(ETSRCS)