]> arthur.barton.de Git - netatalk.git/blob - etc/uams/uams_krb4/Makefile.am
un-hardcoded -shared, moved into LDSHAREDFLAGS
[netatalk.git] / etc / uams / uams_krb4 / Makefile.am
1 # Makefile.am for etc/uams/uams_krb4/
2
3 if USE_KERBEROS
4
5 uamsdir = @UAMS_PATH@
6 uams_DATA = uams_krb4.so
7
8 endif
9
10 EXTRA_DIST = kuam.c lifetime.c send_to_kdc.c uams_krb4.c
11
12 #
13 # standard library compilation:
14 #
15
16 SUFFIXES = .c .o
17
18 if USE_KERBEROS
19
20 .c.o:
21         $(COMPILE) -DHAVE_CONFIG_H -fPIC -DPIC \
22           -I$(top_srcdir) -fomit-frame-pointer -c $<
23
24 uams_krb4.so: kuam.o lifetime.o sent_to_kdc.o uams_krb4.o
25         $(LD) $(LDSHAREDFLAGS) -o $@ *.o $(LIBS)
26
27 #
28 # install/install-strip:
29 #
30
31 install-strip:
32         strip $(uams_DATA); \
33         $(MAKE) $(AM_MAKEFLAGS) install
34
35 endif
36
37 #
38 # cleanup
39 #
40
41 clean distclean clean-recursive distclean-recursive:
42         $(RM) $(uams_DATA) *.o core
43