Makefile.am 982 Bytes
Newer Older
jdelange's avatar
* lua  
jdelange committed
1
2
3
4
5
6
7
8
9
10
11
AUTOMAKE_OPTIONS = no-dependencies

LIBS_FILES =   $(srcdir)/liblua-linux64.a           \
               $(srcdir)/liblua-linux32.a           \
	            $(srcdir)/liblua-leon.a

libdest = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-c/libs'}

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(libdest)/linux32
	$(INSTALL) -d $(DESTDIR)$(libdest)/linux64
jdelange's avatar
jdelange committed
12
13
14
	$(INSTALL) -d $(DESTDIR)$(libdest)/leon-rtems4.8
	$(INSTALL) -d $(DESTDIR)$(libdest)/leon-rtems4.11
	$(INSTALL) -m 444 $(srcdir)/liblua-leon-rtems48.a $(DESTDIR)$(libdest)/leon-rtems4.8/liblua.a
jdelange's avatar
* lua  
jdelange committed
15
16
17
18
19
20
	$(INSTALL) -m 444 $(srcdir)/liblua-linux32.a $(DESTDIR)$(libdest)/linux32/liblua.a
	$(INSTALL) -m 444 $(srcdir)/liblua-linux64.a $(DESTDIR)$(libdest)/linux64/liblua.a

uninstall-local:
	rm -f $(DESTDIR)$(libdest)/linux64/liblua.a
	rm -f $(DESTDIR)$(libdest)/linux32/liblua.a
jdelange's avatar
jdelange committed
21
22
	rm -f $(DESTDIR)$(libdest)/leon-rtems4.8/liblua.a
	rm -f $(DESTDIR)$(libdest)/leon-rtems4.11/liblua.a
jdelange's avatar
* lua  
jdelange committed
23
24
25
26

EXTRA_DIST = $(LIBS_FILES)

CLEANFILES = *~