hostapd/src/tls/Makefile
Jouni Malinen 912321e935 Add rules for building src/tls/libtls.a and use it with eap_example
eap_example is now using src/crypto/libcrypto.a and src/tls/libtls.a
instead of providing own rules for building the files for these
components. TLS library selection is temporarily disabled for
eap_example (it will be built using internal crypto/TLS), but the
configuration option for this will eventually be restored with a new
libcrypto.a configuration option.
2009-12-06 16:27:54 +02:00

38 lines
569 B
Makefile

all: libtls.a
clean:
for d in $(SUBDIRS); do make -C $$d clean; done
rm -f *~ *.o *.d libtls.a
install:
@echo Nothing to be made.
include ../lib.rules
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
LIB_OBJS= \
asn1.o \
bignum.o \
pkcs1.o \
pkcs5.o \
pkcs8.o \
rsa.o \
tlsv1_client.o \
tlsv1_client_read.o \
tlsv1_client_write.o \
tlsv1_common.o \
tlsv1_cred.o \
tlsv1_record.o \
tlsv1_server.o \
tlsv1_server_read.o \
tlsv1_server_write.o \
x509v3.o
libtls.a: $(LIB_OBJS)
$(AR) crT $@ $?
-include $(OBJS:%.o=%.d)