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