diff options
author | Jürgen Hötzel <juergen@archlinux.org> | 2007-02-01 19:47:39 +0000 |
---|---|---|
committer | Jürgen Hötzel <juergen@archlinux.org> | 2007-02-01 19:47:39 +0000 |
commit | e70a3e80748ffe70c32f2c91998841aa81bb03a3 (patch) | |
tree | 65b76423654ff8f22c23b6fee389c0d7fafb87e9 /bindings/java | |
parent | cdaed9221d9614c4c43103d79f8b53b916d80d86 (diff) |
* removal of swig generated bindings
Diffstat (limited to 'bindings/java')
-rw-r--r-- | bindings/java/.cvsignore | 5 | ||||
-rw-r--r-- | bindings/java/Makefile.in | 48 |
2 files changed, 0 insertions, 53 deletions
diff --git a/bindings/java/.cvsignore b/bindings/java/.cvsignore deleted file mode 100644 index a2031861..00000000 --- a/bindings/java/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile -*.class -*.java -alpm.i -*alpm* diff --git a/bindings/java/Makefile.in b/bindings/java/Makefile.in deleted file mode 100644 index a97f2889..00000000 --- a/bindings/java/Makefile.in +++ /dev/null @@ -1,48 +0,0 @@ -top_srcdir = @top_srcdir@ -prefix = @prefix@ - -CFLAGS = $(subst -Werror,,@CFLAGS@) -I$(JAVA_HOME)/include/ -I$(JAVA_HOME)/include/linux/ -CFLAGS += -fno-strict-aliasing # see the swig docs -ifeq ($(shell arch),x86_64) -CFLAGS += -fPIC -endif -LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm - -all: libalpm_java.so alpm.jar - -libalpm_java.so: alpm_java_wrap.o - $(CC) -shared $^ -o $@ $(LDFLAGS) - -alpm_java_wrap.o: alpm_java_wrap.c - $(CC) $(CFLAGS) -c -o $@ -include alpm.h $^ - -alpm_java_wrap.c: - cp $(top_srcdir)/lib/libalpm/alpm.h ./ - cp $(top_srcdir)/bindings/alpm.i alpm_java.i - swig -java alpm_java.i - -alpm.class: alpm.java - javac *.java - -alpm.jar: alpm.class - jar -cf alpm.jar *.class - -alpm.java: alpm_java_wrap.c - -install: install-so install-jar - -install-so: libalpm_java.so - mkdir -p $(DESTDIR)$(prefix)/lib - install $^ $(DESTDIR)$(prefix)/lib - -install-jar: alpm.jar - mkdir -p $(DESTDIR)$(prefix)/share/java - install -m644 $^ $(DESTDIR)$(prefix)/share/java - -clean: - rm -f *alpm* *.java *.class - -distclean: clean - rm -f Makefile - -check: |