summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV/lib/auth/sia/Makefile.in
blob: 7abc8f0b3e69a1d1c80562a9aa1bdf0f714a45b1 (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
86
87
88
89
#
# $Id: Makefile.in,v 1.29 1999/03/21 17:11:58 joda Exp $
#

SHELL = /bin/sh

srcdir = @srcdir@
VPATH = @srcdir@

CC = @CC@
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@

INSTALL = @INSTALL@
INSTALL_DATA	= @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs

prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@

PICFLAGS = @REAL_PICFLAGS@
SHARED = @SHARED@
LDSHARED = @LDSHARED@
SHLIBEXT = @REAL_SHLIBEXT@
LD_FLAGS = @REAL_LD_FLAGS@
 
@lib_deps_yes@LIB_DEPS = -L../../kafs -lkafs		\
@lib_deps_yes@	   -L../../kadm -lkadm			\
@lib_deps_yes@	   -L../../krb -lkrb			\
@lib_deps_yes@	   -L../../des -ldes			\
@lib_deps_yes@	   -L../../com_err -lcom_err		\
@lib_deps_yes@	   -L../../roken -lroken		\
@lib_deps_yes@	   @LIB_getpwnam_r@			\
@lib_deps_yes@	   -lc
@lib_deps_no@LIB_DEPS =

LIB = libsia_krb4.$(SHLIBEXT)

SOURCES = sia.c posix_getpw.c

OBJECTS = sia.o posix_getpw.o

all: $(LIB)

Wall:
	make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"

.c.o:
	$(CC) -c $(DEFS) -I../../../include -I$(srcdir) $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<

install: all
	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
	-if test "$(LIB)" != ""; then \
	  $(INSTALL_DATA) -m 0555 $(LIB) $(DESTDIR)$(libdir)/$(LIB) ; \
	fi

uninstall:
	-if test "$(LIB)" != ""; then \
	  rm -f $(DESTDIR)$(libdir)/$(LIB) ; \
	fi

TAGS: $(SOURCES)
	etags $(SOURCES)

check:

clean:
	rm -f $(LIB) *.o

mostlyclean: clean

distclean: clean
	rm -f Makefile *.tab.c *~

realclean: distclean
	rm -f TAGS

$(OBJECTS): ../../../include/config.h

$(LIB): $(OBJECTS)
	rm -f $@
	$(LDSHARED) -shared -o $@ -rpath $(libdir) -hidden -exported_symbol siad_\* $(OBJECTS) $(LIB_DEPS)

.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean
OpenPOWER on IntegriCloud