Makefile

changeset 251
fae240d633fc
parent 250
b7d1317b138e
equal deleted inserted replaced
250:b7d1317b138e 251:fae240d633fc
43 include cppcheck.mk 43 include cppcheck.mk
44 44
45 all: ucx test 45 all: ucx test
46 46
47 ucx: FORCE 47 ucx: FORCE
48 cd ucx; $(MAKE) CONF=$(CONF) 48 cd src; $(MAKE) CONF=$(CONF)
49 49
50 ucx-debug: FORCE 50 ucx-debug: FORCE
51 cd ucx; $(MAKE) CONF=$(CONF) debug 51 cd src; $(MAKE) CONF=$(CONF) debug
52 52
53 test: ucx FORCE 53 test: ucx FORCE
54 cd test; $(MAKE) CONF=$(CONF) 54 cd test; $(MAKE) CONF=$(CONF)
55 55
56 test-debug: ucx-debug FORCE 56 test-debug: ucx-debug FORCE
65 debug: ucx-debug test-debug 65 debug: ucx-debug test-debug
66 66
67 install: ucx $(DESTDIR)$(PREFIX)/lib $(DESTDIR)$(PREFIX)/include/ucx 67 install: ucx $(DESTDIR)$(PREFIX)/lib $(DESTDIR)$(PREFIX)/include/ucx
68 cp ./build/release/libucx$(LIB_EXT) $(DESTDIR)$(PREFIX)/lib && \ 68 cp ./build/release/libucx$(LIB_EXT) $(DESTDIR)$(PREFIX)/lib && \
69 cp ./build/release/libucx$(SO_EXT) $(DESTDIR)$(PREFIX)/lib && \ 69 cp ./build/release/libucx$(SO_EXT) $(DESTDIR)$(PREFIX)/lib && \
70 cp ./ucx/*.h $(DESTDIR)$(PREFIX)/include/ucx 70 cp ./src/ucx/*.h $(DESTDIR)$(PREFIX)/include/ucx
71 71
72 uninstall: 72 uninstall:
73 $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/include/ucx &&\ 73 $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/include/ucx &&\
74 $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/libucx$(LIB_EXT) &&\ 74 $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/libucx$(LIB_EXT) &&\
75 $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/libucx$(SO_EXT) 75 $(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/libucx$(SO_EXT)

mercurial