*** empty log message ***
[heimdal.git] / lib / auth / sia / Makefile.in
blob0e300ffd8731103aa1586e04473a827ede15be51
2 # $Id$
5 SHELL = /bin/sh
7 srcdir = @srcdir@
8 VPATH = @srcdir@
10 CC = @CC@
11 LINK = @LINK@
12 AR = ar
13 RANLIB = @RANLIB@
14 DEFS = @DEFS@
15 CFLAGS = @CFLAGS@
17 INSTALL = @INSTALL@
18 INSTALL_DATA = @INSTALL_DATA@
19 MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23 libdir = @libdir@
25 PICFLAGS = @REAL_PICFLAGS@
26 SHARED = @SHARED@
27 LDSHARED = @LDSHARED@
28 SHLIBEXT = @REAL_SHLIBEXT@
29 LD_FLAGS = @REAL_LD_FLAGS@
31 @lib_deps_yes@LIB_DEPS = -L../../kafs -lkafs \
32 @lib_deps_yes@ -L../../kadm -lkadm \
33 @lib_deps_yes@ -L../../krb -lkrb \
34 @lib_deps_yes@ -L../../des -ldes \
35 @lib_deps_yes@ -L../../com_err -lcom_err \
36 @lib_deps_yes@ -L../../roken -lroken \
37 @lib_deps_yes@ @LIB_getpwnam_r@ \
38 @lib_deps_yes@ -lc
39 @lib_deps_no@LIB_DEPS =
41 LIB = libsia_krb4.$(SHLIBEXT)
43 SOURCES = sia.c
45 OBJECTS = sia.o
47 all: $(LIB)
49 Wall:
50 make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
52 .c.o:
53 $(CC) -c $(DEFS) -I../../../include -I$(srcdir) $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
55 install: all
56 $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
57 -if test "$(LIB)" != ""; then \
58 $(INSTALL_DATA) -m 0555 $(LIB) $(DESTDIR)$(libdir)/$(LIB) ; \
61 uninstall:
62 -if test "$(LIB)" != ""; then \
63 rm -f $(DESTDIR)$(libdir)/$(LIB) ; \
66 TAGS: $(SOURCES)
67 etags $(SOURCES)
69 check:
71 clean:
72 rm -f $(LIB) *.o
74 mostlyclean: clean
76 distclean: clean
77 rm -f Makefile *.tab.c *~
79 realclean: distclean
80 rm -f TAGS
82 $(OBJECTS): ../../../include/config.h
84 $(LIB): $(OBJECTS)
85 rm -f $@
86 $(LDSHARED) -shared -o $@ -rpath $(libdir) -hidden -exported_symbol siad_\* $(OBJECTS) $(LIB_DEPS)
88 .PHONY: all Wall install uninstall check clean mostlyclean distclean realclean