~fboudra/qemu-linaro/new-upstream-release-1.2.0-2012.09-0ubuntu1

« back to all changes in this revision

Viewing changes to libcacard/Makefile

  • Committer: Fathi Boudra
  • Author(s): Fathi Boudra
  • Date: 2012-08-21 06:47:11 UTC
  • mfrom: (0.1.16)
  • Revision ID: fathi.boudra@linaro.org-20120821064711-7yxmubp2v8a44xce
Tags: 1.1.50-2012.08-0ubuntu1
* New upstream release.
  - support emulated systems with more than 2G of memory. (LP: #1030588)
* Drop powerpc-missing-include.patch - merged upstream.
* Update debian/control: 
  - drop perl build dependency.
  - add libfdt-dev build dependency.
* Update debian/qemu-keymaps.install file.
* Update debian/rules:
  - update QEMU_CPU for ARM architecture: armv4l -> armv7l.
  - update conf_audio_drv: default to PulseAudio since PA is the default on
    Ubuntu.
  - enable KVM on ARM architecture.
  - enable flat device tree support (--enable-fdt). (LP: #1030594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
-include $(SRC_PATH)/Makefile.objs
3
3
-include $(SRC_PATH)/rules.mak
4
4
 
5
 
libcacard_srcpath=$(SRC_PATH)/libcacard
6
5
libcacard_includedir=$(includedir)/cacard
7
6
 
8
 
$(call set-vpath, $(SRC_PATH):$(libcacard_srcpath))
9
 
 
10
 
# objects linked against normal qemu binaries, not compiled with libtool
11
 
QEMU_OBJS=$(addprefix ../,$(oslib-obj-y) qemu-timer-common.o $(trace-obj-y))
 
7
$(call set-vpath, $(SRC_PATH))
12
8
 
13
9
# objects linked into a shared library, built with libtool with -fPIC if required
14
 
QEMU_OBJS_LIB=$(addsuffix .lo,$(basename $(QEMU_OBJS)))
 
10
QEMU_OBJS=$(oslib-obj-y) qemu-timer-common.o $(trace-obj-y)
 
11
QEMU_OBJS_LIB=$(patsubst %.o,%.lo,$(QEMU_OBJS))
15
12
 
16
13
QEMU_CFLAGS+=-I../
17
14
 
18
 
libcacard.lib-y=$(addsuffix .lo,$(basename $(libcacard-y)))
19
 
 
20
 
vscclient: $(libcacard-y) $(QEMU_OBJS) vscclient.o
21
 
        $(call quiet-command,$(CC) -o $@ $^ $(libcacard_libs) $(LIBS),"  LINK  $@")
 
15
libcacard.lib-y=$(patsubst %.o,%.lo,$(libcacard-y))
22
16
 
23
17
clean:
24
 
        rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ vscclient *.lo .libs/* *.la *.pc
25
 
        rm -Rf .libs
 
18
        rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ vscclient *.lo */*.lo .libs/* */.libs/* *.la */*.la *.pc
 
19
        rm -Rf .libs */.libs
26
20
 
27
 
all: vscclient
 
21
all: libcacard.la libcacard.pc
28
22
# Dummy command so that make thinks it has done something
29
23
        @true
30
24
 
41
35
libcacard.la: $(libcacard.lib-y) $(QEMU_OBJS_LIB)
42
36
        $(call quiet-command,$(LIBTOOL) --mode=link --quiet --tag=CC $(CC) -rpath $(libdir) -o $@ $^ $(libcacard_libs),"  lt LINK $@")
43
37
 
 
38
libcacard_srcpath=$(SRC_PATH)/libcacard
44
39
libcacard.pc: $(libcacard_srcpath)/libcacard.pc.in
45
 
        sed -e 's|@LIBDIR@|$(libdir)|' \
 
40
        $(call quiet-command,sed -e 's|@LIBDIR@|$(libdir)|' \
46
41
                -e 's|@INCLUDEDIR@|$(libcacard_includedir)|' \
47
42
            -e 's|@VERSION@|$(shell cat $(SRC_PATH)/VERSION)|' \
48
43
                -e 's|@PREFIX@|$(prefix)|' \
49
 
                < $(libcacard_srcpath)/libcacard.pc.in > libcacard.pc
 
44
                < $(libcacard_srcpath)/libcacard.pc.in > libcacard.pc,\
 
45
        "  GEN   $@")
50
46
 
51
47
.PHONY: install-libcacard
52
48