~ubuntu-branches/debian/stretch/android-platform-frameworks-base/stretch

« back to all changes in this revision

Viewing changes to libs/androidfw/Makefile

  • Committer: Package Import Robot
  • Author(s): Hans-Christoph Steiner
  • Date: 2014-12-02 14:36:42 UTC
  • Revision ID: package-import@ubuntu.com-20141202143642-kykajvc8j4iv4n71
Tags: 21-2
* add versions to shlibs so dh can do dep detection
  (Closes: #768821) (Closes: #769236)
* set Android Tools team as Maintainer
* fix installation of aapt bash completion rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
LIBS := $(ALL_LIBS) $(LIBS)
39
39
 
40
40
LIBNAME = libandroidfw
41
 
 
42
 
all: $(LIBNAME).a $(LIBNAME).so
43
 
 
44
 
$(LIBNAME).so: $(OBJECTS)
45
 
        $(CXX) $(LDFLAGS) -Wl,-soname,$(LIBNAME).so -o $(LIBNAME).so $(OBJECTS) $(LIBS)
 
41
SONAME = $(LIBNAME).so.0
 
42
SOLIBNAME = $(SONAME).21.0
 
43
 
 
44
all: $(LIBNAME).a $(SOLIBNAME)
 
45
 
 
46
$(SOLIBNAME): $(OBJECTS)
 
47
        $(CXX) $(LDFLAGS) -Wl,-soname,$(SONAME) -o $(SOLIBNAME) $(OBJECTS) $(LIBS)
46
48
 
47
49
$(LIBNAME).a: $(OBJECTS)
48
50
        ar rs $(LIBNAME).a $(OBJECTS)
49
51
 
50
52
clean:
51
53
        rm -f $(OBJECTS)
52
 
        rm -f $(LIBNAME).so $(LIBNAME).a
 
54
        rm -f $(LIBNAME).so* $(LIBNAME).a
53
55