forked from videolabs/libdsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
137 lines (114 loc) · 3.16 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
ACLOCAL_AMFLAGS = -I m4
DISTCLEANFILES = @DOLT_CLEANFILES@
EXTRA_DIST = \
abi_version.sh \
package_version.sh \
contrib/spnego/spnego.asn1 \
contrib/spnego/spnego_asn1.c \
src/libdsm.sym
CFLAGS = -I$(top_srcdir)/contrib -I$(top_srcdir)/include -I$(top_srcdir)/compat @TASN1_CFLAGS@ @CFLAGS@ @PTHREAD_CFLAGS@
if DEBUG
AM_CFLAGS = -O0 -g3
else
AM_CFLAGS = -O2 -DNDEBUG
endif
bdsmdir = $(includedir)/bdsm
bdsm_HEADERS = \
include/bdsm.h \
include/bdsm/netbios_defs.h \
include/bdsm/netbios_ns.h \
include/bdsm/smb_defs.h \
include/bdsm/smb_dir.h \
include/bdsm/smb_file.h \
include/bdsm/smb_session.h \
include/bdsm/smb_share.h \
include/bdsm/smb_stat.h \
include/bdsm/smb_types.h
noinst_HEADERS = \
compat/compat.h \
compat/queue.h \
src/bdsm_common.h \
src/bdsm_debug.h \
src/hmac_md5.h \
src/netbios_defs.h \
src/netbios_query.h \
src/netbios_session.h \
src/netbios_utils.h \
src/smb_buffer.h \
src/smb_defs.h \
src/smb_dir.h \
src/smb_fd.h \
src/smb_file.h \
src/smb_message.h \
src/smb_packets.h \
src/smb_ntlm.h \
src/smb_session.h \
src/smb_share.h \
src/smb_stat.h \
src/smb_session_msg.h \
src/smb_spnego.h \
src/smb_types.h \
src/smb_transport.h \
src/smb_utils.h \
contrib/spnego/spnego_asn1.h \
contrib/mdx/md4.h \
contrib/mdx/md5.h \
contrib/rc4/rc4.h
lib_LTLIBRARIES = libdsm.la
libdsm_la_SOURCES = \
contrib/mdx/md4.c \
contrib/mdx/md5.c \
contrib/rc4/rc4.c \
contrib/spnego/spnego_asn1.c \
src/hmac_md5.c \
src/netbios_ns.c \
src/netbios_query.c \
src/netbios_session.c \
src/netbios_utils.c \
src/smb_buffer.c \
src/smb_dir.c \
src/smb_fd.c \
src/smb_file.c \
src/smb_spnego.c \
src/smb_message.c \
src/smb_ntlm.c \
src/smb_session.c \
src/smb_session_msg.c \
src/smb_share.c \
src/smb_stat.c \
src/smb_trans2.c \
src/smb_transport.c \
src/smb_utils.c
noinst_LTLIBRARIES = libcompat.la
libcompat_la_SOURCES = compat/compat.c
libcompat_la_LIBADD = $(LTLIBOBJS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libdsm.pc
libdsm_la_LIBADD = libcompat.la $(TASN1_LIBS) @LTLIBICONV@
libdsm_la_LDFLAGS = -version-info @BDSM_LIBTOOL_VERSION@ \
-no-undefined -export-symbols $(srcdir)/src/libdsm.sym
bin_PROGRAMS =
if PROGRAMS
bin_PROGRAMS += dsm dsm_discover dsm_inverse dsm_lookup
endif
dsm_SOURCES = bin/dsm.c
dsm_discover_SOURCES = bin/discover.c
dsm_inverse_SOURCES = bin/inverse.c
dsm_lookup_SOURCES = bin/lookup.c
LDADD = libdsm.la
clean-local:
rm -rf $(top_builddir)/doc/html
rm -rf $(top_builddir)/contrib/spnego/spnego_asn1.c
if HAVE_DOXYGEN
doc:
$(DOXYGEN) doc/Doxyfile
else
doc:
echo "Doxygen wasn't detected by configure, it's support has been disabled"
endif
contrib/spnego/spnego_asn1.c: contrib/spnego/spnego.asn1
asn1Parser -o $@ -n spnego_asn1_conf $<
a : all
c : clean
re : clean all
.PHONY: c a re doc