File was renamed from queue/Makefile |
| | |
| | | # 开源工具包 |
| | | LDLIBS += -lusgcommon |
| | | |
| | | #INCLUDE += -I$(ROOT)/device/include |
| | | MINCLUDE := -I./queue -I./queue/include -I./socket -I./socket/include -I./util -I./util/include |
| | | INCLUDE += $(MINCLUDE) |
| | | |
| | | PLATFORM=$(shell $(ROOT)/systype.sh) |
| | | include $(ROOT)/Make.defines.$(PLATFORM) |
| | |
| | | LIBSQUEUE = libshm_queue.a |
| | | DLIBSQUEUE = libshm_queue.so |
| | | |
| | | SOURCES := $(wildcard *.c) |
| | | SOURCES := $(wildcard *.c ./queue/*.c ./socket/*.c ./util/*.c) |
| | | OBJS = $(patsubst %.c, %.o, $(SOURCES)) |
| | | |
| | | MYLIBS = $(LIBSQUEUE) $(DLIBSQUEUE) |
| | |
| | | install -d $(PREFIX)/lib/ |
| | | install -m 644 $^ $(PREFIX)/lib/ |
| | | install -d $(PREFIX)/include/ |
| | | install -m 644 include/* $(PREFIX)/include/ |
| | | install -m 644 $(MINCLUDE)/* $(PREFIX)/include/ |
| | | |
| | | clean: |
| | | rm -f $(TEMPFILES) |