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
|
$NetBSD: patch-af,v 1.12 2003/05/28 02:34:00 jlam Exp $
--- cups/Makefile.orig Wed Mar 19 21:45:21 2003
+++ cups/Makefile
@@ -93,8 +93,8 @@ install: all installhdrs
fi
if test $(LIBCUPS) != "libcups.a"; then \
$(INSTALL_LIB) libcups.a $(LIBDIR); \
+ $(RANLIB) $(LIBDIR)/libcups.a; \
fi
- $(RANLIB) $(LIBDIR)/libcups.a
installhdrs:
$(INSTALL_DIR) $(INCLUDEDIR)/cups
@@ -109,7 +109,7 @@ installhdrs:
libcups.so.2 libcups.sl.2: $(LIBOBJS) ../Makedefs
echo Linking $@...
- $(DSO) $(DSOFLAGS) -o $@ $(LIBOBJS) $(SSLLIBS) $(COMMONLIBS)
+ $(DSO) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS)
$(RM) `basename $@ .2`
$(LN) $@ `basename $@ .2`
@@ -124,7 +124,7 @@ libcups.2.dylib: $(LIBOBJS) ../Makedefs
-install_name $(libdir)/$@ \
-current_version 2.5.0 \
-compatibility_version 2.0.0 \
- $(LIBOBJS) $(SSLLIBS) $(COMMONLIBS)
+ $(LIBOBJS) $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS)
$(RM) libcups.dylib
$(LN) $@ libcups.dylib
@@ -137,7 +137,7 @@ libcups_s.a: $(LIBOBJS) ../Makedefs
echo Creating $@...
$(RM) libcups_s.exp
(echo _ipp_add_attr; echo _ipp_free_attr) >libcups_s.exp
- $(DSO) $(DSOFLAGS) -Wl,-bexport:libcups_s.exp -o libcups_s.o $(LIBOBJS) $(SSLLIBS) $(COMMONLIBS) -lm
+ $(DSO) $(DSOFLAGS) -Wl,-bexport:libcups_s.exp -o libcups_s.o $(LIBOBJS) $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS) -lm
$(RM) $@
$(AR) $(ARFLAGS) $@ libcups_s.o
@@ -149,7 +149,7 @@ libcups_s.a: $(LIBOBJS) ../Makedefs
libcups.la: $(LIBOBJS) ../Makedefs
echo Linking $@...
$(DSO) $(DSOFLAGS) -o $@ $(LIBOBJS:.o=.lo) -rpath $(LIBDIR) \
- -version-info 2:5 $(SSLLIBS) $(COMMONLIBS)
+ -version-info 2:5 $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS)
#
@@ -179,7 +179,7 @@ cups_C.h: ../locale/C/cups_C
testhttp: testhttp.o libcups.a
echo Linking $@...
- $(CC) $(LDFLAGS) -o $@ testhttp.o libcups.a $(NETLIBS) $(SSLLIBS) $(COMMONLIBS)
+ $(CC) $(LDFLAGS) -o $@ testhttp.o libcups.a $(NETLIBS) $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS)
#
@@ -188,7 +188,7 @@ testhttp: testhttp.o libcups.a
testipp: testipp.o libcups.a
echo Linking $@...
- $(CC) $(LDFLAGS) -o $@ testipp.o libcups.a $(NETLIBS) $(SSLLIBS) $(COMMONLIBS)
+ $(CC) $(LDFLAGS) -o $@ testipp.o libcups.a $(NETLIBS) $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS)
#
@@ -197,7 +197,7 @@ testipp: testipp.o libcups.a
testlang: testlang.o libcups.a
echo Linking $@...
- $(CC) $(LDFLAGS) -o $@ testlang.o libcups.a $(NETLIBS) $(SSLLIBS) $(COMMONLIBS)
+ $(CC) $(LDFLAGS) -o $@ testlang.o libcups.a $(NETLIBS) $(LIBCRYPT) $(SSLLIBS) $(COMMONLIBS)
#
|