|
@@ -75,6 +75,14 @@ override static_modules_path=
|
|
# temporary def (visible only in the module, not exported)
|
|
# temporary def (visible only in the module, not exported)
|
|
DEFS += -DMOD_NAME='"$(MOD_NAME)"'
|
|
DEFS += -DMOD_NAME='"$(MOD_NAME)"'
|
|
|
|
|
|
|
|
+
|
|
|
|
+ifeq (,$(findstring -DSER_MOD_INTERFACE, $(DEFS)))
|
|
|
|
+ MODIFACE=-DOPENSER_MOD_INTERFACE
|
|
|
|
+else
|
|
|
|
+ MODIFACE=-DSER_MOD_INTERFACE
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+
|
|
ifneq ($(makefile_defs_included),1)
|
|
ifneq ($(makefile_defs_included),1)
|
|
$(error "the local makefile does not include Makefile.defs!")
|
|
$(error "the local makefile does not include Makefile.defs!")
|
|
endif
|
|
endif
|
|
@@ -297,6 +305,10 @@ man:
|
|
|
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+
|
|
|
|
+printmiface:
|
|
|
|
+ @echo $(MODIFACE)
|
|
|
|
+
|
|
endif # ifeq($(makefile_defs),1)
|
|
endif # ifeq($(makefile_defs),1)
|
|
|
|
|
|
include $(COREPATH)/Makefile.cfg
|
|
include $(COREPATH)/Makefile.cfg
|