source: rtems/cpukit/wrapup/Makefile.am @ 3d6c1bb

4.11
Last change on this file since 3d6c1bb was 3d6c1bb, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 14, 2011 at 2:56:08 PM

2011-03-14 Joel Sherrill <joel.sherrill@…>

PR 1762/cpukit

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