source: trunk/third/moira/afssync/Makefile.in @ 24319

Revision 24319, 1.7 KB checked in by broder, 15 years ago (diff)
New Moira snapshot from SVN.
Line 
1# $Id: Makefile.in 3956 2010-01-05 20:56:56Z zacheiss $
2
3SHELL=/bin/sh
4@SET_MAKE@
5
6CC=@CC@
7CPPFLAGS=@CPPFLAGS@
8AFS_CPPFLAGS=@AFS_CPPFLAGS@
9CFLAGS=@CFLAGS@
10DEFS=@DEFS@
11ALL_CFLAGS=$(CPPFLAGS) $(AFS_CPPFLAGS) $(CFLAGS) $(DEFS)
12LIBTOOL=@LIBTOOL@
13PRO_C=@PRO_C@
14PRO_C_DEFS=@PRO_C_DEFS@
15PRO_C_INCLUDES=@PRO_C_INCLUDES@
16AFS_PRO_C_INCLUDES=@AFS_PRO_C_INCLUDES@
17PRO_C_OPTS=@PRO_C_OPTS@
18PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES) $(AFS_PRO_C_INCLUDES)
19LDFLAGS=@LDFLAGS@
20AFS_LIBS=@AFS_LIBS@
21AFS_DIR=@AFS_DIR@
22SQL_LIBS=@SQL_LIBS@
23LIBS=@LIBS@
24MR_LIBDEP=@MR_LIBDEP@
25INSTALL=@INSTALL@
26INSTALL_PROGRAM=@INSTALL_PROGRAM@
27
28srcdir=@srcdir@
29VPATH=@srcdir@
30SRCTOP=@top_srcdir@
31top_builddir=@top_builddir@
32BUILDTOP=..
33mrbindir=@mrbindir@
34
35SYNC_OBJS=sync.lo ptutils.lo utils.lo ubik.lo
36UTIL_OBJS=pt_util.lo ptutils.lo utils.lo ubik.lo vis.lo
37
38CFILES=sync.c
39
40TARGET=afssync pt_util
41
42.SUFFIXES: .pc .lo
43
44.pc.c:
45        $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@
46
47.c.lo:
48        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
49
50all: $(TARGET)
51
52clean:
53        $(LIBTOOL) --mode=clean rm -f $(SYNC_OBJS) $(UTIL_OBJS) $(CFILES) $(TARGET)
54
55cleandir distclean: clean
56        rm -f Makefile
57
58depend: $(CFILES)
59
60install:
61        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) afssync $(DESTDIR)$(mrbindir)
62        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) pt_util $(DESTDIR)$(mrbindir)
63        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(srcdir)/pt_util.pl $(DESTDIR)$(mrbindir)
64
65afssync: $(SYNC_OBJS) $(MR_LIBDEP)
66        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(SYNC_OBJS) $(SQL_LIBS) $(LIBS) $(AFS_LIBS) -llwp -lprot -lcom_err -lafsutil
67
68pt_util: $(UTIL_OBJS) $(MR_LIBDEP)
69        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(UTIL_OBJS) $(LIBS) $(AFS_LIBS) -llwp -lprot -lcom_err -lafsutil
Note: See TracBrowser for help on using the repository browser.