From 7d2e07fd4502aed3b841484855031ca8a48aebba Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 2 May 2021 19:07:13 +0200 Subject: Initial import of libtacplus-map (1.0.1-cl3u3) --- Makefile.am | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Makefile.am (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..35235ff --- /dev/null +++ b/Makefile.am @@ -0,0 +1,39 @@ +########################################################################### +## +## Copyright 2014, 2015, 2016 Cumulus Networks, Inc. All rights reserved. +## Author: Dave Olson +## +########################################################################### + +ACLOCAL_AMFLAGS = -I config +AUTOMAKE_OPTIONS = subdir-objects + +lib_LTLIBRARIES = libtacplus_map.la + +libtacplus_map_la_SOURCES = map_tacplus_user.h \ + map_tacplus_user.c +libtacplus_map_la_CFLAGS = $(AM_CFLAGS) -Ilibtac/include +libtacplus_map_la_LDFLAGS = -version-info 1:0:0 -shared -Wl,--no-undefined +libtacplus_map_la_LIBADD = -L.libs -laudit + +libtacplus_map_includedir = $(oldincludedir)/tacplus + +libtacplus_map_include_HEADERS = \ + map_tacplus_user.h + +MAINTAINERCLEANFILES = Makefile.in config.h.in configure aclocal.m4 \ + config/config.guess config/config.sub config/depcomp \ + config/install-sh config/ltmain.sh config/missing + +clean-generic: + rm -rf autom4te*.cache + rm -f *.rej *.orig *.lang dumpmap + +sudoersd = $(DESTDIR)$(sysconfdir)/sudoers.d +install-data-hook: + $(mkinstalldirs) $(sudoersd) + ${INSTALL} -m 644 tacplus.sudo $(sudoersd)/tacplus + +# This is for debugging only, not normally built, and not installed +dumpmap: dumpmap.c map_tacplus_user.h + $(CC) $(CFLAGS) $@.c -ltacplus_map -o $@ -- cgit v1.2.3