forked from cisco/libest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support for client-side EST for Java.
- Loading branch information
Showing
28 changed files
with
5,468 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
-include ../makefile.init | ||
|
||
RM := rm -rf | ||
|
||
# All of the sources participating in the build are defined here | ||
-include sources.mk | ||
-include subdir.mk | ||
-include objects.mk | ||
|
||
ifneq ($(MAKECMDGOALS),clean) | ||
ifneq ($(strip $(C_DEPS)),) | ||
-include $(C_DEPS) | ||
endif | ||
endif | ||
|
||
-include ../makefile.defs | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
|
||
# All Target | ||
all: libciscojest.so | ||
|
||
# Tool invocations | ||
libciscojest.so: $(OBJS) $(USER_OBJS) | ||
@echo 'Building target: $@' | ||
@echo 'Invoking: GCC C Linker' | ||
gcc -L"${CISCOSSL_HOME}/lib" -L"${EST_HOME}/lib" -shared -o "libciscojest.so" $(OBJS) $(USER_OBJS) $(LIBS) | ||
@echo 'Finished building target: $@' | ||
@echo ' ' | ||
|
||
# Other Targets | ||
clean: | ||
-$(RM) $(OBJS)$(C_DEPS)$(LIBRARIES) libciscojest.so | ||
-@echo ' ' | ||
|
||
.PHONY: all clean dependents | ||
.SECONDARY: | ||
|
||
-include ../makefile.targets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
USER_OBJS := | ||
|
||
LIBS := -lest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
O_SRCS := | ||
C_SRCS := | ||
S_UPPER_SRCS := | ||
OBJ_SRCS := | ||
ASM_SRCS := | ||
OBJS := | ||
C_DEPS := | ||
LIBRARIES := | ||
|
||
# Every subdirectory with source files must be described here | ||
SUBDIRS := \ | ||
. \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
C_SRCS += \ | ||
../client.c | ||
|
||
OBJS += \ | ||
./client.o | ||
|
||
C_DEPS += \ | ||
./client.d | ||
|
||
|
||
# Each subdirectory must supply rules for building sources it contributes | ||
%.o: ../%.c | ||
@echo 'Building file: $<' | ||
@echo 'Invoking: GCC C Compiler' | ||
gcc -I../../../src/safe_lib/include -I"${CISCOSSL_HOME}/include" -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux" -I"${EST_HOME}/include" -fPIC -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" | ||
@echo 'Finished building: $<' | ||
@echo ' ' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
if ENABLE_JNI | ||
if JAVA_HOME_SET | ||
lib_LTLIBRARIES = libciscojest.la | ||
AM_CFLAGS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -I$(SSL_CFLAGS) -I../.. -I$(srcdir)/../../src -I$(srcdir)/../../src/safe_lib/include | ||
libciscojest_la_LDFLAGS = -release $(PACKAGE_VERSION) | ||
libciscojest_la_SOURCES = client.c | ||
libciscojest_la_LIBADD = ../../src/est/libest.la ../../src/safe_lib/libsafe.la | ||
library_includedir=$(includedir)/est | ||
library_include_HEADERS = jest.h | ||
#EXTRA_DIST = jest.h | ||
else | ||
$(warning JAVA_HOME is not set, JNI layer will not be built.) | ||
endif | ||
endif |
Oops, something went wrong.