version 1.1.1.1.2.8, 2011/11/23 08:50:03
|
version 1.1.1.1.2.11, 2011/11/30 01:06:29
|
Line 28 LDFLAGS = -L. -L${LIB} -L${libdir} -L/usr/local/lib
|
Line 28 LDFLAGS = -L. -L${LIB} -L${libdir} -L/usr/local/lib
|
SRCS = ${MQTTLIB_SRCS} ${MQTTD_SRCS} ${MQTT_SRCS} ${MQTTPUB_SRCS} ${MQTTACC_SRCS} ${MQTTLOG_SRCS} |
SRCS = ${MQTTLIB_SRCS} ${MQTTD_SRCS} ${MQTT_SRCS} ${MQTTPUB_SRCS} ${MQTTACC_SRCS} ${MQTTLOG_SRCS} |
PROGS = ${LIBA} ${LIBSO} ${MQTTD_PROG} ${MQTT_PROG} ${RTLM_PUB} ${RTLM_ACC} ${RTLM_LOG} |
PROGS = ${LIBA} ${LIBSO} ${MQTTD_PROG} ${MQTT_PROG} ${RTLM_PUB} ${RTLM_ACC} ${RTLM_LOG} |
|
|
MQTTD_SRCS = mqttd.c compile.c dl.c | MQTTD_SRCS = mqttd.c compile.c dl.c utils.c daemon.c |
MQTTD_OBJS = mqttd.o compile.o dl.o | MQTTD_OBJS = mqttd.o compile.o dl.o utils.o daemon.o |
MQTTD_PROG = mqttd |
MQTTD_PROG = mqttd |
|
|
MQTT_SRCS = mqtt.c compile.c dl.c |
MQTT_SRCS = mqtt.c compile.c dl.c |
Line 41 MQTTLIB_OBJS = aitmqtt.o conn.o pub.o sub.o recv.o
|
Line 41 MQTTLIB_OBJS = aitmqtt.o conn.o pub.o sub.o recv.o
|
LIBA = libaitmqtt.a |
LIBA = libaitmqtt.a |
LIBSO = libaitmqtt.so |
LIBSO = libaitmqtt.so |
|
|
MQTTPUB_SRCS = pubmqtt.c | MQTTPUB_SRCS = pubmqtt.c pub_schema.c |
MQTTPUB_OBJS = pubmqtt.o | MQTTPUB_OBJS = pubmqtt.o pub_schema.o |
RTLM_PUB = mqtt_pub.so |
RTLM_PUB = mqtt_pub.so |
|
|
MQTTACC_SRCS = accmqtt.c | MQTTACC_SRCS = accmqtt.c acc_schema.c |
MQTTACC_OBJS = accmqtt.o | MQTTACC_OBJS = accmqtt.o acc_schema.o |
RTLM_ACC = mqtt_acc.so |
RTLM_ACC = mqtt_acc.so |
|
|
MQTTLOG_SRCS = logmqtt.c |
MQTTLOG_SRCS = logmqtt.c |
Line 62 depend:
|
Line 62 depend:
|
${MKDEP} ${CFLAGS} ${SRCS} |
${MKDEP} ${CFLAGS} ${SRCS} |
|
|
clean: |
clean: |
rm -f *.o .depend compile.c *~ | rm -f *.o .depend compile.c acc_schema.c pub_schema.c *~ |
|
|
install: |
install: |
|
|
.o: compile.c | .o: compile.c acc_schema.c pub_schema.c |
${CC} -c ${CFLAGS} $< |
${CC} -c ${CFLAGS} $< |
|
|
${LIBA}: ${MQTTLIB_OBJS} |
${LIBA}: ${MQTTLIB_OBJS} |