blob: 40f477a9f6cc0b9cdbeaaae14b6fad560edf361e (
plain) (
blame)
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
|
--- kWnn/jlib/Makefile.in.orig Tue Mar 21 01:21:12 2000
+++ kWnn/jlib/Makefile.in Fri Sep 1 01:32:41 2000
@@ -86,11 +86,13 @@
.c.o:
$(RM) $@
- $(CC) -c $(CFLAGS) $(_NOOP_) $*.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(_NOOP_) $*.c
clean::
+ $(RM) -r .libs
+ $(RM) *.lo *.la
-all:: $(LINKS) $(OBJS) libkwnn.a
+all:: $(LINKS) $(OBJS) libkwnn.la
includes:: $(LINKS)
@@ -158,12 +160,10 @@
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
-all:: libkwnn.a
+all:: libkwnn.la
-libkwnn.a: $(OBJS) $(EXTRALIBRARYDEPS)
- $(RM) $@
- $(AR) $@ $(OBJS)
- $(RANLIB) $@
+libkwnn.la: $(OBJS) $(EXTRALIBRARYDEPS)
+ $(LIBTOOL) $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(DESTDIR)$(WNNLIBDIR) -version-info $(KWNNJLIBVERSION)
lintlib:: llib-lkwnn.ln
@@ -173,32 +173,31 @@
instlib:: install
-install:: libkwnn.a
+install:: libkwnn.la
@if [ -d $(DESTDIR)$(WNNLIBDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNLIBDIR)); fi
- $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) libkwnn.a $(DESTDIR)$(WNNLIBDIR)
- $(RANLIB) $(RANLIBINSTFLAGS) $(DESTDIR)$(WNNLIBDIR)/libkwnn.a
+ $(LIBTOOL) $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) libkwnn.la $(DESTDIR)$(WNNLIBDIR)
$(OBJ3) : $(SRC3)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(OBJ4) : $(SRC4)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(OBJ5) : $(SRC5)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(OBJ6) : $(SRC6)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(OBJ7) : $(SRC7)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(OBJ8) : $(SRC8)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(OBJ9) : $(SRC9)
- $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
$(LOCAL_RKOBJS) : $(LOCAL_RKSRCS)
@case '${MFLAGS}' in *[ik]*) set +e;; esac; cd $(KWNNROMKANSRC); echo "making all in $(KWNNROMKANSRC)"; $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS)
|