--- mqtt/src/Attic/Makefile 2011/11/30 01:06:29 1.1.1.1.2.11 +++ mqtt/src/Attic/Makefile 2011/12/13 08:43:51 1.1.1.1.2.15 @@ -3,7 +3,7 @@ # by Michael Pounov # # $Author: misho $ -# $Id: Makefile,v 1.1.1.1.2.11 2011/11/30 01:06:29 misho Exp $ +# $Id: Makefile,v 1.1.1.1.2.15 2011/12/13 08:43:51 misho Exp $ # prefix = /usr/local exec_prefix = ${prefix} @@ -20,10 +20,10 @@ INC = ../inc LIB = ../lib LIBS = -laitio -laitcfg -lsqlite3 -LDADD = -laitmqtt ${LIBS} +LDADD = -laitmqtt -lpthread -laitsched -laitio -laitcfg -lutil -lcrypto CFLAGS = -I. -I${INC} -I${includedir} -Wall -O2 -fPIC -I/usr/local/include -g -O2 -LDFLAGS = -L. -L${LIB} -L${libdir} -L/usr/local/lib +LDFLAGS = -L. -L${LIB} -L${libdir} -L/usr/local/lib -pg 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} @@ -32,8 +32,8 @@ MQTTD_SRCS = mqttd.c compile.c dl.c utils.c daemon.c MQTTD_OBJS = mqttd.o compile.o dl.o utils.o daemon.o MQTTD_PROG = mqttd -MQTT_SRCS = mqtt.c compile.c dl.c -MQTT_OBJS = mqtt.o compile.o dl.o +MQTT_SRCS = mqtt.c compile.c dl.c client.c +MQTT_OBJS = mqtt.o compile.o dl.o client.o MQTT_PROG = mqtt MQTTLIB_SRCS = aitmqtt.c conn.c pub.c sub.c recv.c