Initial commit.

This commit is contained in:
Martin Preuss
2022-03-24 20:49:19 +01:00
commit d0490c01db
56 changed files with 7863 additions and 0 deletions

93
Makefile.am Normal file
View File

@@ -0,0 +1,93 @@
SUBDIRS=m4 src
EXTRA_DIST=\
AUTHORS \
COPYING \
ChangeLog \
Doxyfile.in \
INSTALL \
NEWS \
README \
Makefile.cvs
aclocaldir = $(datadir)/aclocal
ACLOCAL_AMFLAGS = $(ADD_ACLOCAL_FLAGS) -I m4
pkgconfigdir = $(libdir)/pkgconfig
#pkgconfig_DATA = aqdatabase.pc
ChangeLog:
if test -d .git; then \
git log --pretty="format:------------------------------------------------------------------%n%ai %an%n%s%n%b" -n 100 >ChangeLog ;\
else \
touch ChangeLog; \
fi
build_sources: $(built_sources)
# $(srcdir)/mksymlinks.sh $(srcdir) $(builddir)
sources:
$(MAKE) -C src sources
listdoc.h:
$(gwenhywfar_bindir)/mklistdoc -I $(gwenhywfar_headers) -v `find $(aqdb_symlinkdir) -name '*.h' ` >listdoc.h
srcdoc: Doxyfile listdoc.h
if test -d apidoc; then rm -Rf apidoc; fi
mkdir -p apidoc/html/aqdatabase-@AQDB_VERSION_RELEASE_STRING@
doxygen
install-srcdoc: srcdoc
test -d "$(DESTDIR)@docpath@/$(PACKAGE)" || \
mkdir -p "$(DESTDIR)@docpath@/$(PACKAGE)"
for f in apidoc/html/aqdatabase-@AQDB_VERSION_RELEASE_STRING@/*; do \
cp -dR $$f "$(DESTDIR)@docpath@/$(PACKAGE)/"; \
done
cp "apidoc/$(PACKAGE).tag" "$(DESTDIR)@docpath@/"
cppcheck:
for f in `find . -name \*.c -o -name \*.cpp`; do cppcheck $$f; done
typefiles:
for d in $(SUBDIRS); do \
$(MAKE) -C $$d typefiles; \
done
typedefs:
for d in $(SUBDIRS); do \
$(MAKE) -C $$d typedefs; \
done
format:
find . -name '*.[c,h,cpp]' -exec astyle \
--style=stroustrup \
-s2 \
--min-conditional-indent=0 \
--indent-labels \
--max-continuation-indent=80 \
--pad-comma \
--pad-header \
--unpad-paren \
--align-pointer=name \
--break-closing-braces \
--break-one-line-headers \
--attach-return-type \
--convert-tabs \
--max-code-length=120 \
--break-after-logical \
--preserve-date \
--suffix=none \{\} \;