mirror of https://github.com/getdnsapi/getdns.git
Removed Makefile, as it's automatically generated from Makefile.in
by the configure script
This commit is contained in:
parent
e1f6baf37a
commit
21875877a6
|
@ -1,70 +0,0 @@
|
||||||
#
|
|
||||||
# Makefile. Generated from Makefile.in by configure.
|
|
||||||
#
|
|
||||||
|
|
||||||
package = getdns
|
|
||||||
version = 0.320
|
|
||||||
tarname = getdns
|
|
||||||
distdir = $(tarname)-$(version)
|
|
||||||
|
|
||||||
prefix = /usr/local
|
|
||||||
exec_prefix = ${prefix}
|
|
||||||
bindir = ${exec_prefix}/bin
|
|
||||||
|
|
||||||
srcdir = .
|
|
||||||
|
|
||||||
|
|
||||||
CC=gcc
|
|
||||||
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -std=c99
|
|
||||||
LDFLAGS=-L.
|
|
||||||
LDLIBS=-levent_core -lldns -lgetdns
|
|
||||||
PROGRAMS=example-simple-answers example-tree example-all-functions example-synchronous
|
|
||||||
|
|
||||||
.SUFFIXES: .c .o .a .lo .h
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
|
||||||
|
|
||||||
all: libgetdns example-simple-answers example-tree example-all-functions example-synchronous
|
|
||||||
|
|
||||||
libgetdns: getdns_sync.o getdns_context.o getdns_list.o getdns_dict.o getdns_address.o getdns_convert.o getdns_general.o getdns_hostname.o getdns_service.o getdns_validate_dnssec.o
|
|
||||||
$(CC) $(CFLAGS) -shared -o libgetdns.so $^
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.o $(PROGRAMS) libgetdns.so
|
|
||||||
|
|
||||||
distclean : clean
|
|
||||||
rm -f Makefile config.status config.log
|
|
||||||
rm -Rf autom4te.cache
|
|
||||||
|
|
||||||
$(distdir): FORCE
|
|
||||||
mkdir -p $(distdir)/src
|
|
||||||
cp configure.ac $(distdir)
|
|
||||||
cp configure $(distdir)
|
|
||||||
cp Makefile.in $(distdir)
|
|
||||||
cp src/Makefile.in $(distdir)/src
|
|
||||||
|
|
||||||
distcheck: $(distdir).tar.gz
|
|
||||||
gzip -cd $(distdir).tar.gz | tar xvf -
|
|
||||||
cd $(distdir) && ./configure
|
|
||||||
cd $(distdir) && $(MAKE) all
|
|
||||||
cd $(distdir) && $(MAKE) check
|
|
||||||
cd $(distdir) && $(MAKE) DESTDIR=$${PWD}/_inst install
|
|
||||||
cd $(distdir) && $(MAKE) DESTDIR=$${PWD}/_inst uninstall
|
|
||||||
@remaining="`find $${PWD}/$(distdir)/_inst -type f | wc -l`"; \
|
|
||||||
if test "$${remaining}" -ne 0; then
|
|
||||||
echo "@@@ $${remaining} file(s) remaining in stage directory!"; \
|
|
||||||
exit 1; \
|
|
||||||
fi
|
|
||||||
cd $(distdir) && $(MAKE) clean
|
|
||||||
rm -rf $(distdir)
|
|
||||||
@echo "*** Package $(distdir).tar.gz is ready for distribution"
|
|
||||||
|
|
||||||
Makefile: Makefile.in ../config.status
|
|
||||||
cd .. && ./config.status $@
|
|
||||||
|
|
||||||
configure.status: configure
|
|
||||||
cd .. && ./config.status --recheck
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
|
|
Loading…
Reference in New Issue