buildsys  Diff

Differences From Artifact [19949e1531]:

To Artifact [234e02d916]:


70
71
72
73
74
75
76

77


78
79
80
81
82
83
84
85
86
87
88
89

90
91
92
93
94
95




96
97
98
99
100
101
102
103
104
105
106
107
108
OBJS5 = ${OBJS4:.erl=.beam}
OBJS += ${OBJS5:.m=.o}

.SILENT:
.SUFFIXES: .beam .c .cc .cxx .d .erl .m
.PHONY: all subdirs depend install uninstall clean distclean


all: subdirs depend ${OBJS} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${LIB} ${LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${PROG} ${PROG_NOINST}



subdirs:
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} || exit 1; \
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
	if [ $$regen = 1 ]; then \

		${DEPEND_STATUS}; \
		rm -f .deps; \
		for i in ${SRCS}; do \
			case $${i##*.} in \
			c|cc|cxx|m) \
				if ${CPP} ${CPPFLAGS} -M $$i >>.deps; then \




					${DEPEND_OK}; \
				else \
					${DEPEND_FAILED}; \
				fi; \
			esac; \
		done; \
	fi

pre-depend:

${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
	${LINK_STATUS}
	if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \







>
|
>
>












>





|
>
>
>
>
|
|
|
|
<
<







70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107


108
109
110
111
112
113
114
OBJS5 = ${OBJS4:.erl=.beam}
OBJS += ${OBJS5:.m=.o}

.SILENT:
.SUFFIXES: .beam .c .cc .cxx .d .erl .m
.PHONY: all subdirs depend install uninstall clean distclean

all:
	for i in subdirs depend ${OBJS} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${LIB} ${LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${PROG} ${PROG_NOINST}; do \
		${MAKE} ${MFLAGS} $$i; \
	done

subdirs:
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} || exit 1; \
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
	if [ $$regen = 1 ]; then \
		error=0; \
		${DEPEND_STATUS}; \
		rm -f .deps; \
		for i in ${SRCS}; do \
			case $${i##*.} in \
			c|cc|cxx|m) \
				${CPP} ${CPPFLAGS} -M $$i >>.deps || error=1; \
				;; \
			esac; \
		done; \
		if [ $$error = 0 ]; then \
			${DEPEND_OK}; \
		else \
			${DEPEND_FAILED}; \
		fi; \


	fi

pre-depend:

${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
	${LINK_STATUS}
	if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \