# wrappi # Copyright (C) 2011 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program 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 General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. include implementation_files.mk include_HEADERS = wrappi.h lib_LTLIBRARIES = libwrappi.la # This produces version numbers of the form libwrappi.so.0.LIB_MINOR.0 # where LIB_MINOR is a number that always increments but is otherwise # not interesting. libwrappi_la_LDFLAGS = -version-info $(LIB_MINOR):0:$(LIB_MINOR) libwrappi_la_SOURCES = \ wrappi.h \ wrappi.c \ call.c \ connect.c \ free_structs.c \ internal-procs.c \ internal-procs-lookup.c \ internal-procs.h \ proto-ssh.c \ proto-xdr.c \ proto-xdr.h \ proto-xdr-request.c \ xdr.c \ $(local_implementation_files) \ $(remote_implementation_files) libwrappi_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) internal-procs-lookup.c: internal-procs-lookup.gperf rm -f $@ $(GPERF) -t $< > $@-t mv $@-t $@ CLEANFILES = *~