1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/third_party/heimdal/lib/ipc/Makefile.am
Joseph Sutton a87aae5292 third_party/heimdal: Import lorikeet-heimdal-202303200103 (commit 2ee541b5e963f7cffb1ec4acd1a8cc45426a9f28)
NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-03-31 01:48:30 +00:00

77 lines
2.4 KiB
Makefile

include $(top_srcdir)/Makefile.am.common
noinst_LTLIBRARIES = libheim-ipcc.la libheim-ipcs.la
dist_libheim_ipcc_la_SOURCES = hi_locl.h heim_ipc_types.h client.c common.c
dist_libheim_ipcs_la_SOURCES = hi_locl.h heim_ipc_types.h server.c common.c
include_HEADERS = heim-ipc.h
##
## Enable when this is not a noinst_ library
##
#libheim_ipcc_la_LDFLAGS = -version-info 0:0:0
#libheim_ipcs_la_LDFLAGS = -version-info 0:0:0
#
#if versionscript
#libheim_ipcc_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-scriptc.map
#libheim_ipcs_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-scripts.map
#endif
libheim_ipcc_la_LIBADD = \
$(LIB_heimbase) \
$(LIB_roken) \
$(PTHREAD_LIBADD)
if SUNOS
libheim_ipcc_la_LIBADD += -lsocket
endif
libheim_ipcs_la_LIBADD = $(libheim_ipcc_la_LIBADD)
TESTS = $(check_PROGRAMS)
noinst_PROGRAMS = tc ts ts-http
ts_LDADD = libheim-ipcs.la $(LIB_roken)
ts_http_LDADD = $(ts_LDADD)
tc_LDADD = libheim-ipcc.la $(LIB_roken)
EXTRA_DIST = heim_ipc.defs heim_ipc_async.defs heim_ipc_reply.defs
if have_gcd
# We still use dispatch_get_current_queue(), which is deprecated, and that
# stops building on recent OS X releases unless we disable this warning.
WFLAGS += -Wno-deprecated-declarations
heim_ipc.h heim_ipcUser.c heim_ipcServer.c heim_ipcServer.h: heim_ipc.defs
mig -header heim_ipc.h -user heim_ipcUser.c -sheader heim_ipcServer.h -server heim_ipcServer.c -I$(srcdir) $(srcdir)/heim_ipc.defs
heim_ipc_async.h heim_ipc_asyncUser.c heim_ipc_asyncServer.c heim_ipc_asyncServer.h: heim_ipc_async.defs
mig -header heim_ipc_async.h -user heim_ipc_asyncUser.c -sheader heim_ipc_asyncServer.h -server heim_ipc_asyncServer.c -I$(srcdir) $(srcdir)/heim_ipc_async.defs
heim_ipc_reply.h heim_ipc_replyUser.c: heim_ipc_reply.defs
mig -header heim_ipc_reply.h -user heim_ipc_replyUser.c -sheader /dev/null -server /dev/null -I$(srcdir) $(srcdir)/heim_ipc_reply.defs
built_ipcc = heim_ipc.h heim_ipcUser.c
built_ipcc += heim_ipc_asyncServer.c heim_ipc_asyncServer.h
nodist_libheim_ipcc_la_SOURCES = $(built_ipcc)
built_ipcs = heim_ipcServer.c heim_ipcServer.h
built_ipcs += heim_ipc_asyncUser.c heim_ipc_async.h
built_ipcs += heim_ipc_reply.h heim_ipc_replyUser.c
nodist_libheim_ipcs_la_SOURCES = $(built_ipcs)
libheim_ipcs_la_LIBADD += -lbsm
CLEANFILES = $(built_ipcc) $(built_ipcs)
$(srcdir)/client.c: $(built_ipcc)
$(srcdir)/server.c: $(built_ipcs)
endif