From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/tests Makefile
Date: 29 Aug 2007 02:50:15 -0000 [thread overview]
Message-ID: <20070829025015.14343.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-08-29 02:50:15
Modified files:
cman/tests : Makefile
Log message:
Clean up cman/tests/Makefile
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/tests/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
--- cluster/cman/tests/Makefile 2007/08/28 04:35:39 1.8
+++ cluster/cman/tests/Makefile 2007/08/29 02:50:15 1.9
@@ -1,19 +1,36 @@
+###############################################################################
+###############################################################################
+##
+## Copyright (C) 2004 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+###############################################################################
+###############################################################################
+
include ../../make/defines.mk
+TARGETS= client libtest sysman sysmand
+
CFLAGS += -I${cmanincdir}
CFLAGS += -I${incdir}
LDFLAGS += -L${cmanlibdir} -lcman
-TARGET=client libtest sysman sysmand
+all: depends ${TARGETS}
-all: ${TARGET}
+depends:
+ $(MAKE) -C ../lib all
-.c:
- $(CC) $(CFLAGS) $(OUTPUT_OPTION) $< $(LDFLAGS)
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+%: %.o
+ $(CC) -o $@ $^ $(LDFLAGS)
install: all
clean:
- rm -f *.o ${TARGET}
-
+ rm -f *.o ${TARGETS}
reply other threads:[~2007-08-29 2:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070829025015.14343.qmail@sourceware.org \
--to=fabbione@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.