source: rtems/cpukit/wrapup/Makefile.am @ 4466321

4.115
Last change on this file since 4466321 was 4466321, checked in by Sebastian Huber <sebastian.huber@…>, on 11/13/14 at 14:13:24

Add crypt_r(), etc.

Add crypt_add_format(), crypt_r(), crypt_md5_r(), crypt_sha256_r() and
crypt_sha512_r().

  • Property mode set to 100644
File size: 2.7 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4## Setup the variant build subdirectory
5ARCH = o-optimize
6
7project_lib_LIBRARIES = librtemscpu.a
8librtemscpu_a_SOURCES =
9
10TMP_LIBS =
11TMP_LIBS += ../dev/libdev.a
12TMP_LIBS += ../score/cpu/@RTEMS_CPU@/libscorecpu.a
13TMP_LIBS += ../score/libscore.a
14TMP_LIBS += ../sapi/libsapi.a
15TMP_LIBS += ../rtems/librtems.a
16TMP_LIBS += ../posix/libposix.a
17
18if LIBGNAT
19TMP_LIBS += ../libgnat/libgnat.a
20endif
21
22TMP_LIBS += ../libcrypt/libcrypt.a
23TMP_LIBS += ../libcsupport/libcsupport.a
24TMP_LIBS += ../libblock/libblock.a
25if LIBDOSFS
26TMP_LIBS += ../libfs/libdosfs.a
27endif
28TMP_LIBS += ../libfs/libdefaultfs.a
29TMP_LIBS += ../libfs/libdevfs.a
30TMP_LIBS += ../libfs/libimfs.a
31TMP_LIBS += ../libfs/librfs.a
32TMP_LIBS += ../libfs/libjffs2.a
33
34TMP_LIBS += ../libmisc/libmonitor.a
35TMP_LIBS += ../libmisc/libuntar.a
36TMP_LIBS += ../libmisc/libstackchk.a
37TMP_LIBS += ../libmisc/libcpuuse.a
38
39## XXX temporarily removed because it causes a
40## XXX number of BSPs to not link "main(){}" used by autoconf
41# if LIBSERDBG
42# TMP_LIBS += ../libmisc/libserdbg.a
43# endif
44
45if LIBSHELL
46TMP_LIBS += ../libmisc/libshell.a
47endif
48
49TMP_LIBS += ../libmisc/libbspcmdline.a
50TMP_LIBS += ../libmisc/libcapture.a
51TMP_LIBS += ../libmisc/libdumpbuf.a
52TMP_LIBS += ../libmisc/libdevnull.a
53TMP_LIBS += ../libmisc/libdummy.a
54TMP_LIBS += ../libmisc/libfsmount.a
55TMP_LIBS += ../libmisc/libmouse.a
56TMP_LIBS += ../libmisc/libmw-fb.a
57TMP_LIBS += ../libmisc/libredirector.a
58TMP_LIBS += ../libmisc/libstringto.a
59
60if LIBUTF8PROC
61TMP_LIBS += ../libmisc/libutf8proc.a
62endif
63
64TMP_LIBS += ../libmisc/libuuid.a
65
66TMP_LIBS += ../libi2c/libi2c.a
67
68if LIBNETWORKING
69TMP_LIBS += ../libnetworking/libnetworking.a
70TMP_LIBS += ../libnetworking/libc.a
71TMP_LIBS += ../libnetworking/lib.a
72endif
73
74if LIBRPC
75TMP_LIBS += ../librpc/librpc.a
76TMP_LIBS += ../librpc/libxdr.a
77endif
78
79if NEWLIB
80TMP_LIBS += ../libmd/libmd.a
81endif
82
83if LIBDL
84TMP_LIBS += ../libdl/libdl.a
85endif
86
87librtemscpu.a: $(TMP_LIBS)
88        rm -f $@
89        $(MKDIR_P) $(ARCH)
90        rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
91        for f in $(TMP_LIBS); do \
92          case $$f in \
93          *.$(OBJEXT) | *.rel) \
94            if test -f $(ARCH)/`basename $$f`; then \
95              if cmp $$f $(ARCH)/`basename $$f`; then \
96                true; \
97              else \
98                echo 1>&2 "ERROR -- `basename $$f` in multiple files"; \
99                exit 1; \
100              fi; \
101            else \
102              cp $$f $(ARCH)/; \
103              chmod a-w $(ARCH)/`basename $$f`; \
104            fi; \
105            ;; \
106          *.a) \
107            cd $(ARCH); \
108              $(AR) xv ../$$f || exit 1; \
109              chmod a-w * ; \
110            cd ..; \
111            ;; \
112          esac; \
113        done
114        ls $(ARCH)/* > $@-list
115        $(AR) rc $@ @$@-list
116        rm -f $@-list $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
117        $(RANLIB) $@
118
119all-local: $(TMPINSTALL_FILES)
120
121include $(srcdir)/preinstall.am
122include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.