diff options
| author | Christian Poessinger <christian@poessinger.com> | 2021-05-02 19:07:13 +0200 |
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2021-05-02 19:07:49 +0200 |
| commit | 7d2e07fd4502aed3b841484855031ca8a48aebba (patch) | |
| tree | 7861b20208fd1089b0d6e67f72523d0ca6d745da /Makefile.am | |
| download | libtacplus-map-7d2e07fd4502aed3b841484855031ca8a48aebba.tar.gz libtacplus-map-7d2e07fd4502aed3b841484855031ca8a48aebba.zip | |
Initial import of libtacplus-map (1.0.1-cl3u3)
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 39 |
1 files changed, 39 insertions, 0 deletions
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 <olson@cumulusnetworks.com> +## +########################################################################### + +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 $@ |
