diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..23fed11 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,102 @@ +SUBDIRS = po + +ACLOCAL_AMFLAGS = -I m4 + +AM_CPPFLAGS = \ +-I$(top_srcdir)/usr/src/lib/libstmf/common + +lib_LTLIBRARIES = libstmf.la + +if ENABLE_PROGS +sbin_PROGRAMS = stmfadm +man8_MANS = \ +usr/src/man/man1m/stmfadm.1m +libexec_PROGRAMS = stmfsvc + +svcmanifest_DATA = stmf.xml +svcmanifestdir = /lib/svc/manifest/system +stmf.xml: $(top_srcdir)/usr/src/cmd/stmfsvc/stmf.xml + sed -e 's,/lib/svc/method/svc-stmf,$(libexecdir)/stmfsvc,g' < $< > $@ + +CLEANFILES = stmf.xml + +stmfadm_SOURCES = \ +usr/src/cmd/stmfadm/stmfadm.c \ +usr/src/cmd/stmfadm/stmfadm.h \ +usr/src/common/cmdparse/cmdparse.c \ +usr/src/common/cmdparse/cmdparse.h +stmfadm_CPPFLAGS = \ + -I$(top_srcdir)/usr/src/cmd/stmfadm \ + -I$(top_srcdir)/usr/src/common/cmdparse \ + $(AM_CPPFLAGS) +stmfadm_LDADD = libstmf.la + +stmfsvc_SOURCES = \ +usr/src/cmd/stmfsvc/stmfsvc.c \ +usr/src/common/cmdparse/cmdparse.c \ +usr/src/common/cmdparse/cmdparse.h +stmfsvc_CPPFLAGS = -I$(top_srcdir)/usr/src/common/cmdparse $(AM_CPPFLAGS) +stmfsvc_LDADD = libstmf.la +endif + +libstmf_la_SOURCES = \ +usr/src/lib/libstmf/common/libstmf.h \ +usr/src/lib/libstmf/common/libstmf_impl.h \ +usr/src/lib/libstmf/common/stmf.c \ +usr/src/lib/libstmf/common/store.c \ +usr/src/lib/libstmf/common/store.h + +libstmf_la_LDFLAGS = -version-info 1:0:0 +if USE_VERSION_SCRIPT +libstmf_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(top_srcdir)/libstmf.vers +endif + +include_HEADERS = usr/src/lib/libstmf/common/libstmf.h + +man3_MANS = \ +usr/src/man/man3lib/libstmf.3lib \ +usr/src/man/man3stmf/stmfAddToHostGroup.3stmf \ +usr/src/man/man3stmf/stmfAddToTargetGroup.3stmf \ +usr/src/man/man3stmf/stmfAddViewEntry.3stmf \ +usr/src/man/man3stmf/stmfClearProviderData.3stmf \ +usr/src/man/man3stmf/stmfCreateHostGroup.3stmf \ +usr/src/man/man3stmf/stmfCreateLu.3stmf \ +usr/src/man/man3stmf/stmfCreateLuResource.3stmf \ +usr/src/man/man3stmf/stmfCreateTargetGroup.3stmf \ +usr/src/man/man3stmf/stmfDeleteHostGroup.3stmf \ +usr/src/man/man3stmf/stmfDeleteLu.3stmf \ +usr/src/man/man3stmf/stmfDeleteTargetGroup.3stmf \ +usr/src/man/man3stmf/stmfDevidFromIscsiName.3stmf \ +usr/src/man/man3stmf/stmfDevidFromWwn.3stmf \ +usr/src/man/man3stmf/stmfFreeLuResource.3stmf \ +usr/src/man/man3stmf/stmfFreeMemory.3stmf \ +usr/src/man/man3stmf/stmfGetHostGroupList.3stmf \ +usr/src/man/man3stmf/stmfGetHostGroupMembers.3stmf \ +usr/src/man/man3stmf/stmfGetLogicalUnitList.3stmf \ +usr/src/man/man3stmf/stmfGetLogicalUnitProperties.3stmf \ +usr/src/man/man3stmf/stmfGetLuResource.3stmf \ +usr/src/man/man3stmf/stmfGetPersistMethod.3stmf \ +usr/src/man/man3stmf/stmfGetProviderData.3stmf \ +usr/src/man/man3stmf/stmfGetProviderDataProt.3stmf \ +usr/src/man/man3stmf/stmfGetState.3stmf \ +usr/src/man/man3stmf/stmfGetTargetGroupList.3stmf \ +usr/src/man/man3stmf/stmfGetTargetGroupMembers.3stmf \ +usr/src/man/man3stmf/stmfGetTargetList.3stmf \ +usr/src/man/man3stmf/stmfGetTargetProperties.3stmf \ +usr/src/man/man3stmf/stmfGetViewEntryList.3stmf \ +usr/src/man/man3stmf/stmfModifyLu.3stmf \ +usr/src/man/man3stmf/stmfOfflineLogicalUnit.3stmf \ +usr/src/man/man3stmf/stmfOfflineTarget.3stmf \ +usr/src/man/man3stmf/stmfOnlineLogicalUnit.3stmf \ +usr/src/man/man3stmf/stmfOnlineTarget.3stmf \ +usr/src/man/man3stmf/stmfRemoveFromHostGroup.3stmf \ +usr/src/man/man3stmf/stmfRemoveFromTargetGroup.3stmf \ +usr/src/man/man3stmf/stmfRemoveViewEntry.3stmf \ +usr/src/man/man3stmf/stmfSetLuProp.3stmf \ +usr/src/man/man3stmf/stmfSetPersistMethod.3stmf \ +usr/src/man/man3stmf/stmfSetProviderData.3stmf \ +usr/src/man/man3stmf/stmfSetProviderDataProt.3stmf + +EXTRA_DIST = usr/src/cmd/stmfsvc/stmf.xml \ + libstmf.vers LICENSE README \ + $(man3_MANS) $(man8_MANS) |