Commit 67ea2608 authored by Amadeu Andrade Barbosa Junior's avatar Amadeu Andrade Barbosa Junior
Browse files

Ajustes nas regras de geração dos arquivos parsed.lua que são as IDLs

pré-compiladas para dependerem das modificações nas IDLs incluídas também. 


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/branches/02_00_00@145368 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 9d125bb6
......@@ -15,6 +15,13 @@ IDLSRC= \
$(IDLDIR)/access_management.idl \
$(IDLDIR)/offer_authorization.idl
DEPENDENTIDLSRC= \
$(OPENBUSIDL)/core.idl \
$(OPENBUSIDL)/credential.idl \
$(OPENBUSIDL)/scs.idl \
$(OPENBUSIDL)/access_control.idl \
$(OPENBUSIDL)/offer_registry.idl
LUADIR= ../lua
LUASRC= \
$(LUADIR)/openbus/core/admin/idl.lua \
......@@ -24,7 +31,7 @@ LUASRC= \
$(LUADIR)/openbus/core/admin/print.lua \
$(LUADIR)/openbus/core/admin/script.lua \
include ${LOOP_HOME}/openbus/base.mak
include ${OIL_HOME}/openbus/base.mak
LIBS:= lce luuid lfs luavararg luastruct luasocket loop luatuple \
luacoroutine luacothread luainspector luaidl oil luascs luaopenbus lua5.1
......@@ -72,7 +79,7 @@ endif
LIBS+= dl
$(LUADIR)/openbus/core/admin/parsed.lua: $(IDL2LUA) $(IDLSRC)
$(LUADIR)/openbus/core/admin/parsed.lua: $(IDL2LUA) $(IDLSRC) $(DEPENDENTIDLSRC)
$(OILBIN) $(IDL2LUA) -I $(OPENBUSIDL) -o $@ $(IDLSRC)
$(PRELOAD_DIR)/coreadmin.c $(PRELOAD_DIR)/coreadmin.h: $(LUAPRELOADER) $(LUASRC)
......
......@@ -15,6 +15,13 @@ IDLSRC= \
$(IDLDIR)/access_management.idl \
$(IDLDIR)/offer_authorization.idl
DEPENDENTIDLSRC=\
$(OPENBUSIDL)/core.idl \
$(OPENBUSIDL)/credential.idl \
$(OPENBUSIDL)/scs.idl \
$(OPENBUSIDL)/access_control.idl \
$(OPENBUSIDL)/offer_registry.idl
LUADIR= ../lua
LUASRC= \
$(LUADIR)/openbus/core/admin/idl.lua \
......@@ -79,7 +86,7 @@ endif
LIBS+= dl
$(LUADIR)/openbus/core/admin/parsed.lua: $(IDL2LUA) $(IDLSRC)
$(LUADIR)/openbus/core/admin/parsed.lua: $(IDL2LUA) $(IDLSRC) $(DEPENDENTIDLSRC)
$(OILBIN) $(IDL2LUA) -I $(OPENBUSIDL) -o $@ $(IDLSRC)
$(PRELOAD_DIR)/coreservices.c $(PRELOAD_DIR)/coreservices.h: $(LUAPRELOADER) $(LUASRC)
......
Supports Markdown
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