Makefile 15.5 KB
Newer Older
1 2 3 4 5 6 7
#
# OpenSSL/crypto/engine/Makefile
#

DIR=	engine
TOP=	../..
CC=	cc
8
INCLUDES= -I.. -I$(TOP) -I../../include
9
CFLAG=-g
10 11
MAKEDEPPROG=	makedepend
MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
B
Ben Laurie 已提交
12
MAKEFILE=	Makefile
13 14 15 16 17 18 19 20 21
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST= enginetest.c
APPS=

LIB=$(TOP)/libcrypto.a
22 23
LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
	eng_table.c eng_pkey.c eng_fat.c eng_all.c \
R
Richard Levitte 已提交
24 25
	tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c \
	tb_cipher.c tb_digest.c \
26
	eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c eng_padlock.c
27 28
LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \
	eng_table.o eng_pkey.o eng_fat.o eng_all.o \
29
	tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_ecdh.o tb_rand.o tb_store.o \
R
Richard Levitte 已提交
30
	tb_cipher.o tb_digest.o \
31
	eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o eng_padlock.o
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

SRC= $(LIBSRC)

EXHEADER= engine.h
HEADER=	$(EXHEADER)

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
47
	$(RANLIB) $(LIB) || echo Never mind.
48 49 50
	@touch lib

files:
B
Ben Laurie 已提交
51
	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
52 53 54 55 56 57 58

links:
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)

install:
A
Andy Polyakov 已提交
59
	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
60
	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
61 62 63 64 65 66 67 68 69 70 71 72 73 74
	do  \
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
	done;

tags:
	ctags $(SRC)

tests:

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff

depend:
75
	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
76 77 78 79 80 81 82 83 84 85

dclean:
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
	mv -f Makefile.new $(MAKEFILE)

clean:
	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff

# DO NOT DELETE THIS LINE -- make depend depends on it.

G
Geoff Thorpe 已提交
86 87 88 89 90 91 92 93 94
eng_all.o: ../../e_os.h ../../include/openssl/bio.h
eng_all.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
eng_all.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_all.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
eng_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
eng_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
eng_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
eng_all.o: ../cryptlib.h eng_all.c eng_int.h
eng_cnf.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
95
eng_cnf.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
G
Geoff Thorpe 已提交
96 97 98
eng_cnf.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
eng_cnf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
eng_cnf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
99
eng_cnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
100 101
eng_cnf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_cnf.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_cnf.c eng_int.h
R
Richard Levitte 已提交
102
eng_cryptodev.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
G
Geoff Thorpe 已提交
103 104 105
eng_cryptodev.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
eng_cryptodev.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_cryptodev.o: ../../include/openssl/evp.h ../../include/openssl/obj_mac.h
106 107 108
eng_cryptodev.o: ../../include/openssl/objects.h
eng_cryptodev.o: ../../include/openssl/opensslconf.h
eng_cryptodev.o: ../../include/openssl/opensslv.h
G
Geoff Thorpe 已提交
109 110 111
eng_cryptodev.o: ../../include/openssl/ossl_typ.h
eng_cryptodev.o: ../../include/openssl/safestack.h
eng_cryptodev.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
112
eng_cryptodev.o: eng_cryptodev.c
G
Geoff Thorpe 已提交
113
eng_ctrl.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
114
eng_ctrl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
G
Geoff Thorpe 已提交
115 116
eng_ctrl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_ctrl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
117
eng_ctrl.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
118
eng_ctrl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
119 120 121
eng_ctrl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_ctrl.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_ctrl.c eng_int.h
eng_dyn.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
122 123
eng_dyn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
eng_dyn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
G
Geoff Thorpe 已提交
124 125
eng_dyn.o: ../../include/openssl/engine.h ../../include/openssl/err.h
eng_dyn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
126
eng_dyn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
127 128 129 130 131 132 133 134 135 136
eng_dyn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_dyn.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_dyn.c eng_int.h
eng_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
eng_err.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
eng_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
eng_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
eng_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
eng_err.o: eng_err.c
eng_fat.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
137
eng_fat.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
G
Geoff Thorpe 已提交
138 139 140
eng_fat.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
eng_fat.o: ../../include/openssl/engine.h ../../include/openssl/err.h
eng_fat.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
141
eng_fat.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
142 143 144
eng_fat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_fat.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_fat.c eng_int.h
eng_init.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
145
eng_init.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
G
Geoff Thorpe 已提交
146 147
eng_init.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_init.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
148
eng_init.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
149
eng_init.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
150 151 152
eng_init.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_init.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_init.c eng_int.h
eng_lib.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
153
eng_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
G
Geoff Thorpe 已提交
154 155
eng_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
156
eng_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
G
Geoff Thorpe 已提交
157 158 159 160
eng_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
eng_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h eng_lib.c
eng_list.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
161
eng_list.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
G
Geoff Thorpe 已提交
162 163
eng_list.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_list.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
164
eng_list.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
165
eng_list.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
166 167
eng_list.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_list.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h eng_list.c
R
Richard Levitte 已提交
168
eng_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
169 170 171 172 173 174 175 176
eng_openssl.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
eng_openssl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
eng_openssl.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h
eng_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
eng_openssl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
eng_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
eng_openssl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
eng_openssl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
177
eng_openssl.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
178
eng_openssl.o: ../../include/openssl/opensslv.h
179 180
eng_openssl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
eng_openssl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
R
Richard Levitte 已提交
181 182 183
eng_openssl.o: ../../include/openssl/rand.h ../../include/openssl/rc4.h
eng_openssl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
eng_openssl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
G
Geoff Thorpe 已提交
184
eng_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
R
Richard Levitte 已提交
185
eng_openssl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_openssl.c
R
Richard Levitte 已提交
186 187 188 189 190 191 192
eng_padlock.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
eng_padlock.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
eng_padlock.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
eng_padlock.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
eng_padlock.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
eng_padlock.o: ../../include/openssl/opensslconf.h
eng_padlock.o: ../../include/openssl/opensslv.h
193
eng_padlock.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
R
Richard Levitte 已提交
194 195
eng_padlock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_padlock.o: ../../include/openssl/symhacks.h eng_padlock.c
G
Geoff Thorpe 已提交
196
eng_pkey.o: ../../e_os.h ../../include/openssl/bio.h
L
Lutz Jänicke 已提交
197
eng_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
G
Geoff Thorpe 已提交
198 199
eng_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
eng_pkey.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
200
eng_pkey.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
201
eng_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
202 203 204
eng_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_pkey.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h eng_pkey.c
eng_table.o: ../../e_os.h ../../include/openssl/asn1.h
205 206 207 208 209
eng_table.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
eng_table.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
eng_table.o: ../../include/openssl/engine.h ../../include/openssl/err.h
eng_table.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
eng_table.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
210
eng_table.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
211
eng_table.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
212 213 214 215 216 217 218
eng_table.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
eng_table.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h
eng_table.o: eng_table.c
tb_cipher.o: ../../e_os.h ../../include/openssl/bio.h
tb_cipher.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_cipher.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_cipher.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
219
tb_cipher.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
220
tb_cipher.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
tb_cipher.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
tb_cipher.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h
tb_cipher.o: tb_cipher.c
tb_dh.o: ../../e_os.h ../../include/openssl/bio.h
tb_dh.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_dh.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_dh.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_dh.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
tb_dh.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
tb_dh.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
tb_dh.o: ../cryptlib.h eng_int.h tb_dh.c
tb_digest.o: ../../e_os.h ../../include/openssl/bio.h
tb_digest.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_digest.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_digest.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
236
tb_digest.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
237
tb_digest.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
tb_digest.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
tb_digest.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h
tb_digest.o: tb_digest.c
tb_dsa.o: ../../e_os.h ../../include/openssl/bio.h
tb_dsa.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_dsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_dsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_dsa.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
tb_dsa.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
tb_dsa.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
tb_dsa.o: ../cryptlib.h eng_int.h tb_dsa.c
tb_ecdh.o: ../../e_os.h ../../include/openssl/bio.h
tb_ecdh.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_ecdh.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_ecdh.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_ecdh.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
tb_ecdh.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
tb_ecdh.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
tb_ecdh.o: ../cryptlib.h eng_int.h tb_ecdh.c
tb_ecdsa.o: ../../e_os.h ../../include/openssl/bio.h
tb_ecdsa.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_ecdsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_ecdsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_ecdsa.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
262
tb_ecdsa.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
tb_ecdsa.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
tb_ecdsa.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h tb_ecdsa.c
tb_rand.o: ../../e_os.h ../../include/openssl/bio.h
tb_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_rand.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
tb_rand.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
tb_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
tb_rand.o: ../cryptlib.h eng_int.h tb_rand.c
tb_rsa.o: ../../e_os.h ../../include/openssl/bio.h
tb_rsa.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_rsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_rsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_rsa.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
tb_rsa.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
tb_rsa.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
tb_rsa.o: ../cryptlib.h eng_int.h tb_rsa.c
tb_store.o: ../../e_os.h ../../include/openssl/bio.h
tb_store.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
tb_store.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
tb_store.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
tb_store.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
286
tb_store.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
287 288
tb_store.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
tb_store.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h tb_store.c