Skip to contentSkip to conversation

cluster ccs/ccs_test/Makefile ccs/ccs_tool/Mak ...

Cluster-devel [email protected] 1 participant 1 message May 15, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-05-15 14:37:37

Modified files:

	ccs/ccs_test   : Makefile 
	ccs/ccs_tool   : Makefile 
	ccs/daemon     : Makefile 

cman/cman_tool : Makefile
cman/daemon : Makefile
cman/man : Makefile
cman/qdisk : Makefile
gfs/gfs_fsck : Makefile
gfs/gfs_grow : Makefile
gfs/gfs_jadd : Makefile
gfs/gfs_mkfs : Makefile
gfs/libgfs : Makefile
gfs2/convert : Makefile
gfs2/edit : Makefile
gfs2/fsck : Makefile
gfs2/libgfs2 : Makefile
gfs2/mkfs : Makefile
gfs2/quota : Makefile
gfs2/tool : Makefile
group/dlm_controld: Makefile
group/gfs_controld: Makefile
group/tool : Makefile
rgmanager/src/daemons: Makefile
rgmanager/src/utils: Makefile

Log message:
Rrestore the make dependencies within the same subproject (same as it was before the big rework), do some PHONY clean up, clean up a few Makefiles that were still using an old format.

Patch ACK by Lon and Patrick on IRC.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_test/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/daemon/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/Makefile.diff?cvsroot=cluster&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/Makefile.diff?cvsroot=cluster&r1=1.49&r2=1.50
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/man/Makefile.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/Makefile.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_fsck/Makefile.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_grow/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_jadd/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_mkfs/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/libgfs/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/convert/Makefile.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/fsck/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mkfs/Makefile.diff?cvsroot=cluster&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/quota/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/Makefile.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/tool/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/Makefile.diff?cvsroot=cluster&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/utils/Makefile.diff?cvsroot=cluster&r1=1.15&r2=1.16

ccs/ccs_test/Makefile +6 -1
@@ -27,7 +27,7 @@
 
 LDFLAGS += -L${ccslibdir} -lccs
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -35,6 +35,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 install: all
 	install -d ${sbindir}
 	install ${TARGET} ${sbindir}
@@ -44,3 +47,5 @@
 
 clean:
 	rm -rf *.o ${TARGET} *~
+
+.PHONY: all ${TARGET}
ccs/ccs_tool/Makefile +6 -1
@@ -34,7 +34,7 @@
 LDFLAGS += -L${ccslibdir} -L${cmanlibdir} -lccs -lcman
 LDFLAGS += `xml2-config --libs` -L${libdir} -ldl
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -42,6 +42,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 clean:
 	rm -f *.o ccs_tool *~
 
@@ -51,3 +54,5 @@
 
 uninstall:
 	${UNINSTALL} ccs_tool ${sbindir}
+
+.PHONY: all ${TARGET}
ccs/daemon/Makefile +6 -1
@@ -34,7 +34,7 @@
 LDFLAGS += -L${cmanlibdir} -lcman -L${ccslibdir} -lccs
 LDFLAGS += -L${libdir} `xml2-config --libs` -lpthread -ldl
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -42,6 +42,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	 $(MAKE) -C ../lib all
+
 install: all
 	install -d ${sbindir}
 	install ${TARGET} ${sbindir}
@@ -51,3 +54,5 @@
 
 clean:
 	rm -rf *.o ${TARGET} *~ log.c
+
+.PHONY: all ${TARGET}
cman/cman_tool/Makefile +4 -2
@@ -29,7 +29,7 @@
 
 LDFLAGS += -L${ccslibdir} -L${cmanlibdir} -lccs -lcman
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -37,6 +37,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 install: all
 	install -d ${sbindir}
 	install ${TARGET} ${sbindir}
@@ -46,4 +49,3 @@
 
 clean:
 	rm -f *.o ${TARGET}
-
cman/daemon/Makefile +4 -1
@@ -35,7 +35,7 @@
 	barrier.o \
 	cmanccs.o
 
-all:  ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS)
@@ -43,6 +43,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 install: all
 	install -d ${libexecdir}/lcrso
 	install -s ${TARGET} ${libexecdir}/lcrso
cman/man/Makefile +0 -2
@@ -17,8 +17,6 @@
 
 clean:
 
-distclean:
-
 install:
 	install -d ${mandir}/man5
 	install -d ${mandir}/man8
cman/qdisk/Makefile +4 -1
@@ -37,7 +37,7 @@
 	    disk_util.o \
 	    proc.o
 
-all: ${TARGET1} ${TARGET2}
+all: depends ${TARGET1} ${TARGET2}
 
 ${TARGET1}: ${SHAREDOBJS} ${OBJS1}
 	$(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS)
@@ -52,6 +52,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 clean:
 	rm -f *.o ${TARGET1} ${TARGET2}
 
gfs/gfs_fsck/Makefile +45 -20

93 lines not on this page · raw message

gfs/gfs_grow/Makefile +6 -1
@@ -24,7 +24,7 @@
 
 LDFLAGS += -L../libgfs -lgfs
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -32,6 +32,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs all
+
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
@@ -43,3 +46,5 @@
 
 clean:
 	rm -f *.o ${TARGET}
+
+.PHONY: all ${TARGET}
gfs/gfs_jadd/Makefile +5 -2
@@ -24,7 +24,7 @@
 
 LDFLAGS += -L../libgfs -lgfs
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -32,6 +32,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs all
+
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
@@ -44,4 +47,4 @@
 clean:
 	rm -f *.o ${TARGET}
 
-
+.PHONY: all ${TARGET}
gfs/gfs_mkfs/Makefile +15 -8
@@ -13,7 +13,8 @@
 
 include ../../make/defines.mk
 
-TARGET= gfs_mkfs
+TARGET1= gfs_mkfs
+TARGET2= mkfs.gfs
 
 OBJS=	device_geometry.o \
 	fs_geometry.o \
@@ -30,25 +31,31 @@
 LDFLAGS += -L${volidlibdir} -lvolume_id
 LDFLAGS += -L../libgfs -lgfs
 
-all: ${TARGET}
+all: depends ${TARGET1} ${TARGET2}
 
-${TARGET}: ${OBJS}
+${TARGET1}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
 
+${TARGET2}: ${TARGET1}
+	ln -sf ${TARGET1} ${TARGET2}
+
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs all
+
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
 	fi
-	install -m755 ${TARGET} ${sbindir}
-	(cd ${sbindir}; ln -f ${TARGET} mkfs.gfs)
+	install -m755 ${TARGET1} ${sbindir}
+	ln -f ${sbindir}/${TARGET1} ${sbindir}/${TARGET2}
 
 uninstall:
-	${UNINSTALL} ${TARGET} mkfs.gfs ${sbindir}
+	${UNINSTALL} ${TARGET1} ${TARGET2} ${sbindir}
 
 clean:
-	rm -f *.o ${TARGET}
-
+	rm -f *.o ${TARGET1} ${TARGET2}
 
+.PHONY: all ${TARGET1}
gfs/libgfs/Makefile +21 -8
@@ -11,11 +11,9 @@
 ###############################################################################
 ###############################################################################
 
-.PHONY: all clean install
-
 include ../../make/defines.mk
 
-LIBGFS=libgfs.a
+TARGET=libgfs.a
 
 CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/
 CFLAGS += -I${gfskincdir} -I../include
@@ -23,12 +21,25 @@
 CFLAGS += -D_GNU_SOURCE -DHELPER_PROGRAM -DGFS_RELEASE_NAME=\"${RELEASE}\"
 CFLAGS += -c -Wall -ggdb 
 
-OBJS=bio.o bitmap.o block_list.o file.o fs_bits.o fs_bmap.o fs_dir.o \
-	fs_inode.o inode.o log.o ondisk.o rgrp.o size.o super.o util.o
+OBJS=	bio.o \
+	bitmap.o \
+	block_list.o \
+	file.o \
+	fs_bits.o \
+	fs_bmap.o \
+	fs_dir.o \
+	fs_inode.o \
+	inode.o \
+	log.o \
+	ondisk.o \
+	rgrp.o \
+	size.o \
+	super.o \
+	util.o
 
-all: ${LIBGFS}
+all: ${TARGET}
 
-${LIBGFS}: ${OBJS}
+${TARGET}: ${OBJS}
 	ar cru libgfs.a ${OBJS}
 	ranlib libgfs.a
 
@@ -40,4 +51,6 @@
 uninstall:
 
 clean:
-	rm -f *.o ${LIBGFS}
+	rm -f *.o ${TARGET}
+
+.PHONY: all
gfs2/convert/Makefile +6 -4
@@ -23,7 +23,7 @@
 
 LDFLAGS += -L../libgfs2 -lgfs2
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -31,6 +31,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs2 all
+
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
@@ -41,7 +44,6 @@
 	${UNINSTALL} ${TARGET} ${sbindir}
 
 clean:
-	@rm -f *.o ${TARGET}
+	rm -f *.o ${TARGET}
 
-distclean: clean
-	@rm -f {top_srcdir}/make/defines.mk
+.PHONY: all ${TARGET}
gfs2/edit/Makefile +5 -2
@@ -26,7 +26,7 @@
 LDFLAGS += -L${ncurseslibdir} -lncurses
 LDFLAGS += -L../libgfs2/ -lgfs2
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -34,6 +34,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs2 all
+
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
@@ -46,4 +49,4 @@
 clean:
 	rm -f *.o ${TARGET}
 
-
+.PHONY: all ${TARGET}
gfs2/fsck/Makefile +38 -18

88 lines not on this page · raw message

gfs2/libgfs2/Makefile +2 -2
@@ -11,8 +11,6 @@
 ###############################################################################
 ###############################################################################
 
-.PHONY: all clean install
-
 include ../../make/defines.mk
 
 TARGET= libgfs2.a
@@ -55,3 +53,5 @@
 
 clean:
 	rm -f *.o ${TARGET}
+
+.PHONY: all
gfs2/mkfs/Makefile +18 -9
@@ -6,8 +6,9 @@
 include ../../make/defines.mk
 
 TARGET1= mkfs.gfs2
-TARGET2= gfs2_jadd
-TARGET3= gfs2_grow
+TARGET2= gfs2_mkfs
+TARGET3= gfs2_jadd
+TARGET4= gfs2_grow
 
 OBJS=	main.o \
 	main_mkfs.o \
@@ -23,28 +24,36 @@
 LDFLAGS += -L${volidlibdir} -lvolume_id
 LDFLAGS += -L../libgfs2 -lgfs2
 
-all: ${TARGET1} ${TARGET2} ${TARGET3}
+all: depends ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4}
 
 ${TARGET1}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
 
 ${TARGET2}: ${TARGET1}
-	ln -s ${TARGET1} ${TARGET2}
+	ln -sf ${TARGET1} ${TARGET2}
 
 ${TARGET3}: ${TARGET1}
-	ln -s ${TARGET1} ${TARGET3}
+	ln -sf ${TARGET1} ${TARGET3}
+
+${TARGET4}: ${TARGET1}
+	ln -sf ${TARGET1} ${TARGET4}
 
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs2 all
+
 install: all
 	install -m 0755 ${TARGET1} ${sbindir}
-	ln -f ${sbindir}/${TARGET1} ${sbindir}/${TARGET2}
-	ln -f ${sbindir}/${TARGET1} ${sbindir}/${TARGET3}
+	ln -sf ${sbindir}/${TARGET1} ${sbindir}/${TARGET2}
+	ln -sf ${sbindir}/${TARGET1} ${sbindir}/${TARGET3}
+	ln -sf ${sbindir}/${TARGET1} ${sbindir}/${TARGET4}
 
 uninstall:
-	${UNINSTALL} ${TARGET1} ${TARGET2} ${TARGET3} ${sbindir}
+	${UNINSTALL} ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4} ${sbindir}
 
 clean:
-	rm -f *.o ${TARGET1} ${TARGET2} ${TARGET3}
+	rm -f *.o ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4}
 
+.PHONY: all ${TARGET1}
gfs2/quota/Makefile +6 -3
@@ -24,9 +24,9 @@
 CFLAGS += -O2
 CFLAGS += -I../include -I../libgfs2/
 
-LDFLAGS += -L../libgfs2 -lgfs2 -lgfs2
+LDFLAGS += -L../libgfs2 -lgfs2
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -34,6 +34,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs2 all
+
 install: all
 	install -m 0755 ${TARGET} ${sbindir}
 
@@ -43,4 +46,4 @@
 clean:
 	rm -f *.o ${TARGET}
 
-
+.PHONY: all ${TARGET}
gfs2/tool/Makefile +6 -6
@@ -31,7 +31,7 @@
 
 LDFLAGS += -L../libgfs2 -lgfs2
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -39,6 +39,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../libgfs2 all
+
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
@@ -49,9 +52,6 @@
 	${UNINSTALL} ${TARGET} ${sbindir}
 
 clean:
-	@rm -f ${TARGET} *.o *~
-
-distclean: clean
-	@rm -f *.d cscope.* *.orig *.rej
+	rm -f ${TARGET} *.o *~ *.d cscope.* *.orig *.rej
 
-.PHONY: all clean distclean
+.PHONY: all ${TARGET}
group/dlm_controld/Makefile +5 -1
@@ -27,7 +27,7 @@
 LDFLAGS += -L${ccslibdir} -L${cmanlibdir} -lccs -lcman
 LDFLAGS += -L../lib -lgroup
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -35,6 +35,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 install: all
 	install -d ${sbindir}
 	install ${TARGET} ${sbindir}
@@ -45,3 +48,4 @@
 clean:
 	rm -f *.o ${TARGET}
 
+.PHONY: all ${TARGET}
group/gfs_controld/Makefile +6 -1
@@ -29,7 +29,7 @@
 LDFLAGS += -L${cmanlibdir} -L${openaislibdir} -L${libdir} -lcman -lcpg -lSaCkpt
 LDFLAGS += -L../lib -lgroup
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -38,6 +38,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 install: all
 	install -d ${sbindir}
 	install ${TARGET} ${sbindir}
@@ -47,3 +50,5 @@
 
 clean:
 	rm -f *.o ${TARGET}
+
+.PHONY: all ${TARGET}
group/tool/Makefile +6 -1
@@ -20,7 +20,7 @@
 CFLAGS += -I. -I../lib/ -I../daemon/
 LDFLAGS += -L../lib -lgroup
 
-all: ${TARGET}
+all: depends ${TARGET}
 
 ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
@@ -28,6 +28,9 @@
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../lib all
+
 clean:
 	rm -f *.o ${TARGET}
 
@@ -37,3 +40,5 @@
 
 uninstall:
 	${UNINSTALL} ${TARGET} ${sbindir}
+
+.PHONY: all ${TARGET}
rgmanager/src/daemons/Makefile +6 -1
@@ -66,7 +66,7 @@
 LOCAL_LDFLAGS += -llalloc
 READLINE_LDFLAGS += -L${readlinelibdir} -lreadline
 
-all: ${TARGET1} ${TARGET2} ${TARGET3}
+all: depends ${TARGET1} ${TARGET2} ${TARGET3}
 
 ${TARGET1}: ${OBJS1}
 	$(CC) -o $@ $^ $(LDFLAGS) $(CCS_LDFLAGS) $(CMAN_LDFLAGS) \
@@ -107,6 +107,9 @@
 %-noccs.o: %.c
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 
+depends:
+	$(MAKE) -C ../clulib all
+
 install: all
 	install -d ${sbindir}
 	install -m755 ${TARGET1} ${TARGET2} ${TARGET3} ${sbindir}
@@ -117,3 +120,5 @@
 clean:
 	rm -f *.o ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4}
 	rm -f tests/*.out*
+
+.PHONY: all ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4}
rgmanager/src/utils/Makefile +37 -11

66 lines not on this page · raw message