# HG changeset patch # User Binki # Date 2009-05-22 23:46:32 # Node ID c59ea8d9c33ea44bc1619a0c1d21c100f0d0b755 # Parent 0d6f4f768c3bacc9b373ed6735be36ec0491890f created skeleton libdistren diff --git a/src/client/Makefile.am b/src/client/Makefile.am --- a/src/client/Makefile.am +++ b/src/client/Makefile.am @@ -2,3 +2,20 @@ bin_PROGRAMS = distren distren_SOURCES = distren.c distren_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la @XML_LIBS@ distren_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common @XML_CPPFLAGS@ + + +include_HEADERS = distren.h + +#see http://sources.redhat.com/autobook/autobook/autobook_106.html#SEC106 +#libdistren: + +lib_LTLIBRARIES = libdistren.la + +libdistren_la_SOURCES = distren.h +#evidently the following should not be LDADD, but LDFLAGS because automake doesn't like the idea of LDADD for libraries for some reason... or I am very confused +libdistren_la_LIBADD = @DISTLIBS_LIBS@ +libdistren_la_CXXFLAGS = @DISTLIBS_CFLAGS@ + +#see http://sources.redhat.com/autobook/autobook/autobook_91.html +# either increase the revision number or the interface number each release! +libdistren_la_LDFLAGS = -version-info 0:0:0 diff --git a/src/client/distren.h b/src/client/distren.h new file mode 100644 --- /dev/null +++ b/src/client/distren.h @@ -0,0 +1,25 @@ +/* + Copyright 2008 Nathan Phillip Brink, Ethan Zonca, Matt Orlando + + This file is a part of DistRen. + + DistRen is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DistRen is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with DistRen. If not, see . +*/ + +#ifndef DISTREN_H +#define DISTREN_H 1 + + + +#endif