1 Star 0 Fork 12

Guodong Xu/wayca-deployer

forked from openEuler/wayca-scheduler 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
#Todo: move to autoconf + automake
tools = wayca-deployer wayca-deployd wayca-irqdump wayca-irqdeploy wayca-taskdeploy
all: $(tools)
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
$(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 $@
libwaycadeployer.so.1.0: lib/threads.o lib/managed_threads.o lib/irq.o lib/mem.o lib/topo.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
CFLAGS +=-g -Wall -fPIC -DWAYCA_DEPLOY_VERSION=\"0.1\"
SRCS = $(wildcard *.c)
OBJS =$(SRCS:.c=.o)
DEPS = $(SRCS:.c=.d)
$(DEPS) : %.d : %.c
gcc -MM $< > $@
SRCS = $(wildcard *.c)
%.o : %.c
$(CC) -c $(CFLAGS) -I./include -o $@ $^
install:
install *.so* /usr/lib/
install $(tools) /usr/bin
install include/wayca-scheduler.h /usr/include
clean:
-rm *.o lib/*.o
-rm *.so*
-rm $(tools)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/docularxu/wayca-deployer.git
git@gitee.com:docularxu/wayca-deployer.git
docularxu
wayca-deployer
wayca-deployer
master

搜索帮助