代码拉取完成,页面将自动刷新
同步操作将从 openEuler/wayca-scheduler 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#Todo: move to autoconf + automake
tools = wayca-deployer wayca-deployd wayca-irqdump wayca-irqdeploy wayca-taskdeploy wayca-sc-info
tests = wayca_sc_group wayca_thread wayca_threadpool wayca_topo wayca_bitmap
all: $(tools) $(tests)
wayca-deployd: libwaycadeployer.so.1.0 deployd.c
$(CC) $(CFLAGS) deployd.c -L. -lwaycadeployer -I./include -o $@
wayca-deployer: libwaycadeployer.so.1.0 deployer.c perf.c
$(CC) $(CFLAGS) deployer.c perf.c -L. -lwaycadeployer -I./include -o $@
wayca-taskdeploy: libwaycadeployer.so.1.0 taskdeploy.c perf.c
$(CC) $(CFLAGS) taskdeploy.c perf.c -L. -lwaycadeployer -I./include -o $@
wayca-irqdeploy: libwaycadeployer.so.1.0 irqdeploy.c
$(CC) $(CFLAGS) irqdeploy.c -L. -lwaycadeployer -I./include -o $@
wayca-irqdump: libwaycadeployer.so.1.0 irqdump.c
$(CC) $(CFLAGS) irqdump.c -L. -lwaycadeployer -I./include -o $@
wayca-sc-info: libwaycadeployer.so.1.0 tools/wayca-sc-info/wayca_sc_info.c
$(CC) $(CFLAGS) tools/wayca-sc-info/wayca_sc_info.c \
tools/wayca-sc-info/wayca_sc_topo.c \
-L. -lwaycadeployer -lxml2 -I/usr/include/libxml2\
-I./include -I ./ -o tools/wayca-sc-info/$@
libwaycadeployer.so.1.0: lib/threads.o lib/managed_threads.o lib/irq.o lib/mem.o lib/topo.o lib/group.o lib/log.o
$(CC) -fPIC -pthread -shared -Wl,-soname,libwaycadeployer.so.1 -o $@ $^
-ln -s libwaycadeployer.so.1.0 libwaycadeployer.so
-ln -s libwaycadeployer.so.1.0 libwaycadeployer.so.1
# test stubs
wayca_sc_group: libwaycadeployer.so.1.0 test/wayca_sc_group.c
$(CC) $(CFLAGS) test/wayca_sc_group.c -L. -lwaycadeployer -I./include -o test/$@
wayca_thread: libwaycadeployer.so.1.0 test/wayca_thread.c
$(CC) $(CFLAGS) test/wayca_thread.c -L. -lwaycadeployer -I./include -o test/$@
wayca_threadpool: libwaycadeployer.so.1.0 test/wayca_threadpool.c
$(CC) $(CFLAGS) test/wayca_threadpool.c -L. -lwaycadeployer -I./include -o test/$@
wayca_topo: libwaycadeployer.so.1.0 test/wayca_topo.c
$(CC) $(CFLAGS) test/wayca_topo.c -L. -lwaycadeployer -I./include -o test/$@
wayca_bitmap: test/wayca_bitmap.c
$(CC) $(CFLAGS) test/wayca_bitmap.c -I./lib -I./include -o test/$@
CFLAGS += -Wall -fPIC -DWAYCA_SCHEDULER_VERSION=\"0.1\"
ifeq ($(DEBUG), 1)
CFLAGS += -g -DWAYCA_SC_DEBUG
endif
SRCS = $(wildcard *.c)
OBJS =$(SRCS:.c=.o)
DEPS = $(SRCS:.c=.d)
CC = $(CROSS_COMPILE)gcc
INSTALL_PREFIX = /usr
$(DEPS) : %.d : %.c
$(CROSS_COMPILE)gcc -MM $< > $@
SRCS = $(wildcard *.c)
%.o : %.c
$(CC) -c $(CFLAGS) -I./include -o $@ $^
install:
install -d -m 755 $(INSTALL_PREFIX)/lib
install -d -m 755 $(INSTALL_PREFIX)/bin
install -d -m 755 $(INSTALL_PREFIX)/include
install *.so* $(INSTALL_PREFIX)/lib/
install $(tools) $(INSTALL_PREFIX)/bin
install include/wayca-scheduler.h $(INSTALL_PREFIX)/include
clean:
-rm -f *.o lib/*.o
-rm -f *.so*
-rm -f $(tools)
-rm -f tools/wayca-sc-info/wayca-sc-info
-cd test && rm -f $(tests)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。