fixed svn props

This commit is contained in:
skarg
2012-09-27 22:04:34 +00:00
parent 2f1dad9e29
commit fbed15b2da
+63 -63
View File
@@ -1,63 +1,63 @@
#Makefile to build BACnet Application for the Linux Port #Makefile to build BACnet Application for the Linux Port
# tools - only if you need them. # tools - only if you need them.
# Most platforms have this already defined # Most platforms have this already defined
# CC = gcc # CC = gcc
# Executable file name # Executable file name
TARGET = router TARGET = router
TARGET_BIN = ${TARGET}$(TARGET_EXT) TARGET_BIN = ${TARGET}$(TARGET_EXT)
ifeq (${BACNET_PORT},linux) ifeq (${BACNET_PORT},linux)
#PFLAGS = #PFLAGS =
# -pthread # -pthread
TARGET_EXT = TARGET_EXT =
LIBS = -lpthread -lconfig LIBS = -lpthread -lconfig
LFLAGS += $(LIBS) LFLAGS += $(LIBS)
endif endif
#DEFINES = $(BACNET_DEFINES) -DBACDL_MSTP -DBACDL_BIP #DEFINES = $(BACNET_DEFINES) -DBACDL_MSTP -DBACDL_BIP
BACNET_SOURCE_DIR = ../../src BACNET_SOURCE_DIR = ../../src
SRCS = main.c \ SRCS = main.c \
${BACNET_PORT_DIR}/rs485.c \ ${BACNET_PORT_DIR}/rs485.c \
${BACNET_PORT_DIR}/timer.c \ ${BACNET_PORT_DIR}/timer.c \
${BACNET_PORT_DIR}/bip-init.c \ ${BACNET_PORT_DIR}/bip-init.c \
${BACNET_PORT_DIR}/dlmstp_linux.c \ ${BACNET_PORT_DIR}/dlmstp_linux.c \
${BACNET_SOURCE_DIR}/bip.c \ ${BACNET_SOURCE_DIR}/bip.c \
${BACNET_SOURCE_DIR}/bvlc.c \ ${BACNET_SOURCE_DIR}/bvlc.c \
${BACNET_SOURCE_DIR}/fifo.c \ ${BACNET_SOURCE_DIR}/fifo.c \
${BACNET_SOURCE_DIR}/mstp.c \ ${BACNET_SOURCE_DIR}/mstp.c \
${BACNET_SOURCE_DIR}/mstptext.c \ ${BACNET_SOURCE_DIR}/mstptext.c \
${BACNET_SOURCE_DIR}/debug.c \ ${BACNET_SOURCE_DIR}/debug.c \
${BACNET_SOURCE_DIR}/indtext.c \ ${BACNET_SOURCE_DIR}/indtext.c \
${BACNET_SOURCE_DIR}/ringbuf.c \ ${BACNET_SOURCE_DIR}/ringbuf.c \
${BACNET_SOURCE_DIR}/crc.c \ ${BACNET_SOURCE_DIR}/crc.c \
mstpmodule.c \ mstpmodule.c \
ipmodule.c \ ipmodule.c \
portthread.c \ portthread.c \
msgqueue.c \ msgqueue.c \
network_layer.c network_layer.c
OBJS = ${SRCS:.c=.o} OBJS = ${SRCS:.c=.o}
all: Makefile ${TARGET_BIN} all: Makefile ${TARGET_BIN}
${TARGET_BIN}: ${OBJS} Makefile ${TARGET_BIN}: ${OBJS} Makefile
${CC} ${PFLAGS} ${OBJS} ${LFLAGS} -o $@ ${CC} ${PFLAGS} ${OBJS} ${LFLAGS} -o $@
size $@ size $@
cp $@ ../../bin cp $@ ../../bin
.c.o: .c.o:
${CC} -c ${CFLAGS} $*.c -o $@ ${CC} -c ${CFLAGS} $*.c -o $@
depend: depend:
rm -f .depend rm -f .depend
${CC} -MM ${CFLAGS} *.c >> .depend ${CC} -MM ${CFLAGS} *.c >> .depend
clean: clean:
rm -f core ${TARGET_BIN} ${OBJS} $(TARGET).map rm -f core ${TARGET_BIN} ${OBJS} $(TARGET).map
include: .depend include: .depend