[OPENBUS-1720] Primeira versão dos descritores do PUTS e dos makefiles para...

[OPENBUS-1720] Primeira versão dos descritores do PUTS e dos makefiles para compilar estaticamente os binários que o OpenBus distribuirá.

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/openbus_v2_proto@129605 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 686ba11e
......@@ -8,11 +8,6 @@ OPENBUSLIB= ${OPENBUS_HOME}/lib
SRC= console.c
LIBS= \
dl crypto \
lua5.1 luuid lce lfs luavararg luastruct luasocket \
loop luatuple luacoroutine luacothread luainspector luaidl oil luascs luaopenbus
INCLUDES+= . $(SRCLUADIR) \
$(OPENBUSINC)/luuid \
$(OPENBUSINC)/lce \
......@@ -41,3 +36,15 @@ ifeq "$(TEC_SYSNAME)" "SunOS"
LFLAGS= $(CFLAGS) -xildoff
LIBS += rt
endif
EXTRA_SLIB= ssl uuid
OPENBUS_LIBS= crypto \
lua5.1 luuid lce lfs luavararg luastruct luasocket \
loop luatuple luacoroutine luacothread luainspector luaidl oil luascs luaopenbus
ifdef USE_STATIC
SLIB= $(foreach libname, $(EXTRA_SLIB) $(OPENBUS_LIBS), $(OPENBUSLIB)/lib$(libname).a)
else
LIBS+= dl $(OPENBUS_LIBS)
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment