fix: makefile renew
This commit is contained in:
30
plat/Makefile
Normal file
30
plat/Makefile
Normal file
@@ -0,0 +1,30 @@
|
||||
# Makefile for platform
|
||||
|
||||
PLATDIR = $(shell pwd)
|
||||
BINDIR = $(PLATDIR)/../bin
|
||||
PLATMODULELIST = debug diameter iptrans m2ua mtp3 public radius sccp scf smpp snmp tcap tcp xapp
|
||||
|
||||
.PHONY: all $(PLATMODULELIST) clean
|
||||
|
||||
# default all
|
||||
all: $(PLATMODULELIST)
|
||||
|
||||
# plat module list
|
||||
$(PLATMODULELIST):
|
||||
@echo "====================== make $@ ======================="
|
||||
@cd $(PLATDIR)/$@ && $(MAKE)
|
||||
# @if [ $@ = "iptrans" ]; then \
|
||||
# cd $(PLATDIR)/$@; \
|
||||
# ./mkiptrans.sh; \
|
||||
# cp -f ./iptrans $(BINDIR); \
|
||||
# fi
|
||||
@cd -
|
||||
|
||||
# clean
|
||||
clean:
|
||||
@for mod in $(PLATMODULELIST); do \
|
||||
echo "====================== clean $$mod ======================="; \
|
||||
cd $(PLATDIR)/$$mod && $(MAKE) clean; \
|
||||
cd -; \
|
||||
done
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -92,7 +92,8 @@ COVER_REPORT_PATH = ./ut/ut_doc/output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -69,4 +69,5 @@ COVER_REPORT_PATH = ./ut/ut_doc/output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -92,4 +92,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -13,7 +13,9 @@
|
||||
#include <setjmp.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#if HAVE_STROPTS_H
|
||||
#include <stropts.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
#include <syslog.h>
|
||||
#include <termio.h>
|
||||
|
||||
@@ -98,4 +98,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./ut/ut_doc/output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -89,4 +89,5 @@ COVER_REPORT_PATH = /ut/ut_doc/output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -95,4 +95,5 @@ COVER_REPORT_PATH = ./output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
@@ -92,4 +92,5 @@ COVER_REPORT_PATH = ./ut/ut_doc/output
|
||||
## include makefile.rules (Do not change)
|
||||
##
|
||||
##--------------------------------------
|
||||
include Makefile.rules
|
||||
MAKE_INCLUDE = ../../include
|
||||
include $(MAKE_INCLUDE)/Makefile.rules
|
||||
|
||||
Reference in New Issue
Block a user