mirror of https://github.com/getdnsapi/getdns.git
deleted: src/common/Makefile.in~ - backup file
This commit is contained in:
parent
21875877a6
commit
4937746fe8
|
@ -1,64 +0,0 @@
|
||||||
#
|
|
||||||
# @configure_input@
|
|
||||||
#
|
|
||||||
|
|
||||||
package = @PACKAGE_NAME@
|
|
||||||
version = @PACKAGE_VERSION@
|
|
||||||
tarname = @PACKAGE_TARNAME@
|
|
||||||
distdir = $(tarname)-$(version)
|
|
||||||
|
|
||||||
prefix = @prefix@
|
|
||||||
exec_prefix = @exec_prefix@
|
|
||||||
bindir = @bindir@
|
|
||||||
|
|
||||||
srcdir = @srcdir@
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
CC=gcc
|
|
||||||
CFLAGS=-g -I. -std=c99
|
|
||||||
LDFLAGS=-L.
|
|
||||||
LDLIBS=-levent_core -lldns -lgetdns
|
|
||||||
PROGRAMS=example-simple-answers example-tree example-all-functions example-synchronous
|
|
||||||
|
|
||||||
all: libgetdns example-simple-answers example-tree example-all-functions example-synchronous
|
|
||||||
|
|
||||||
getdns_core_only.o: getdns_core_only.c
|
|
||||||
$(CC) -c -Wall -fPIC $(CFLAGS) $^
|
|
||||||
|
|
||||||
libgetdns: getdns_core_only.c
|
|
||||||
$(CC) $(CFLAGS) -shared -o libgetdns.so $^
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.o $(PROGRAMS) libgetdns.so
|
|
||||||
|
|
||||||
$(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