From e70a3e80748ffe70c32f2c91998841aa81bb03a3 Mon Sep 17 00:00:00 2001 From: Jürgen Hötzel Date: Thu, 1 Feb 2007 19:47:39 +0000 Subject: * removal of swig generated bindings --- bindings/perl/.cvsignore | 5 ----- bindings/perl/Makefile.in | 42 ------------------------------------------ 2 files changed, 47 deletions(-) delete mode 100644 bindings/perl/.cvsignore delete mode 100644 bindings/perl/Makefile.in (limited to 'bindings/perl') diff --git a/bindings/perl/.cvsignore b/bindings/perl/.cvsignore deleted file mode 100644 index 27349e9d..00000000 --- a/bindings/perl/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile -Core* -alpm.i -alpm.h -alpm_wrap* diff --git a/bindings/perl/Makefile.in b/bindings/perl/Makefile.in deleted file mode 100644 index 6f7e8268..00000000 --- a/bindings/perl/Makefile.in +++ /dev/null @@ -1,42 +0,0 @@ -top_srcdir = @top_srcdir@ -prefix = @prefix@ - -CFLAGS = $(subst -Werror,,@CFLAGS@) -CFLAGS += $(shell perl -MExtUtils::Embed -e ccopts) -CFLAGS += -I$(top_srcdir)/lib/libalpm -ifeq ($(shell arch),x86_64) -CFLAGS += -fPIC -endif -LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm -LIBDIR += $(shell perl -V|grep site|sed 's/^ *//;s|/usr|$(prefix)|;q') - -all: Core.so - -Core.so: alpm_wrap.o - $(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) - -alpm_wrap.o: alpm_wrap.c - $(CC) $(CFLAGS) -c -o $@ -include alpm.h $^ - -alpm_wrap.c: - cp $(top_srcdir)/lib/libalpm/alpm.h ./ - cp $(top_srcdir)/bindings/alpm.i ./ - swig -perl alpm.i - -install: install-so install-pm - -install-so: Core.so - mkdir -p $(DESTDIR)$(LIBDIR)/auto/Alpm/Core - install $^ $(DESTDIR)$(LIBDIR)/auto/Alpm/Core/ - -install-pm: Core.pm - mkdir -p $(DESTDIR)$(LIBDIR)/Alpm/ - install -m644 $^ $(DESTDIR)$(LIBDIR)/Alpm/ - -clean: - rm -f Core* alpm{.h,.i,_wrap*} - -distclean: clean - rm -f Makefile - -check: -- cgit v1.2.3-70-g09d2