aboutsummaryrefslogtreecommitdiffstats
path: root/moon-abe/libbswabe-0.9/Makefile
diff options
context:
space:
mode:
authorwukong <rebirthmonkey@gmail.com>2015-11-23 17:48:48 +0100
committerwukong <rebirthmonkey@gmail.com>2015-11-23 17:48:48 +0100
commitfca74d4bc3569506a6659880a89aa009dc11f552 (patch)
tree4cefd06af989608ea8ebd3bc6306889e2a1ad175 /moon-abe/libbswabe-0.9/Makefile
parent840ac3ebca7af381132bf7e93c1e4c0430d6b16a (diff)
moon-abe cleanup
Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3
Diffstat (limited to 'moon-abe/libbswabe-0.9/Makefile')
-rw-r--r--moon-abe/libbswabe-0.9/Makefile80
1 files changed, 0 insertions, 80 deletions
diff --git a/moon-abe/libbswabe-0.9/Makefile b/moon-abe/libbswabe-0.9/Makefile
deleted file mode 100644
index e476e030..00000000
--- a/moon-abe/libbswabe-0.9/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-top_srcdir = .
-prefix = /usr/local
-exec_prefix = ${prefix}
-libdir = ${exec_prefix}/lib
-includedir = ${prefix}/include
-
-CC = gcc
-CFLAGS = -O3 -Wall \
- -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
- \
- -I/usr/include/pbc -I/usr/local/include/pbc \
- -DPACKAGE_NAME=\"libbswabe\" -DPACKAGE_TARNAME=\"libbswabe\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"libbswabe\ 0.9\" -DPACKAGE_BUGREPORT=\"bethenco@cs.berkeley.edu\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1 -DHAVE_LIBCRYPTO=1 -DHAVE_STRDUP=1 -DHAVE_GMP=1 -DHAVE_PBC=1
-LDFLAGS = -O3 -Wall \
- -lglib-2.0 \
- -lgmp \
- -lpbc \
- -lcrypto
-
-DISTNAME = libbswabe-0.9
-
-all: libbswabe.a TAGS
-
-# compilation and library making
-
-libbswabe.a: core.o misc.o
- rm -f $@
- ar rc $@ $^
-
-# test: test.o libbswabe.a
-# $(CC) -o $@ $(LDFLAGS) $^
-
-%.o: %.c *.h Makefile
- $(CC) -c -o $@ $< $(CFLAGS)
-
-# installation
-
-dist: AUTHORS COPYING INSTALL NEWS README \
- aclocal.m4 acinclude.m4 configure configure.ac Makefile.in \
- install-sh missing mkinstalldirs \
- core.c misc.c private.h bswabe.h
- rm -rf $(DISTNAME)
- mkdir $(DISTNAME)
- cp $^ $(DISTNAME)
- tar zc $(DISTNAME) > $(DISTNAME).tar.gz
- rm -rf $(DISTNAME)
-
-install: libbswabe.a bswabe.h
- $(top_srcdir)/mkinstalldirs -m 755 $(DESTDIR)$(libdir)
- $(top_srcdir)/mkinstalldirs -m 755 $(DESTDIR)$(includedir)
- $(top_srcdir)/install-sh -m 755 libbswabe.a $(DESTDIR)$(libdir)
- $(top_srcdir)/install-sh -m 644 bswabe.h $(DESTDIR)$(includedir)
-
-uninstall:
- /bin/rm -f $(DESTDIR)$(libdir)/libbswabe.a
- /bin/rm -f $(DESTDIR)$(includedir)/bswabe.h
-
-# development and meta stuff
-
-TAGS: *.c *.h
- @(etags $^ || true) 2> /dev/null
-
-Makefile: Makefile.in config.status
- ./config.status
-
-config.status: configure
- ./config.status --recheck
-
-configure: configure.ac aclocal.m4
- autoconf
-
-# cleanup
-
-# remove everything an installing user can rebuild
-clean:
- rm -rf *.o *.a $(DISTNAME) *.tar.gz TAGS *~
-
-# remove everything a package developer can rebuild
-distclean: clean
- rm -rf autom4te.cache Makefile config.status config.log config.cache \
- configure configure.scan autoscan*.log