Revision 24319,
1.5 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 | |
---|
3 | SHELL=/bin/sh |
---|
4 | @SET_MAKE@ |
---|
5 | |
---|
6 | CC=@CC@ |
---|
7 | CPPFLAGS=@CPPFLAGS@ -DCONFIG_FILE=\"$(sysconfdir)/moira.conf\" |
---|
8 | CFLAGS=@CFLAGS@ |
---|
9 | DEFS=@DEFS@ |
---|
10 | ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) |
---|
11 | LIBTOOL=@LIBTOOL@ |
---|
12 | LDFLAGS=@LDFLAGS@ |
---|
13 | LIBS=@LIBS@ |
---|
14 | MR_LIBDEP=@MR_LIBDEP@ |
---|
15 | INSTALL=@INSTALL@ |
---|
16 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
17 | |
---|
18 | srcdir=@srcdir@ |
---|
19 | VPATH=@srcdir@ |
---|
20 | SRCTOP=@top_srcdir@ |
---|
21 | top_builddir=@top_builddir@ |
---|
22 | BUILDTOP=.. |
---|
23 | prefix=@prefix@ |
---|
24 | exec_prefix=@exec_prefix@ |
---|
25 | bindir=@bindir@ |
---|
26 | sbindir=@sbindir@ |
---|
27 | sysconfdir=@sysconfdir@ |
---|
28 | |
---|
29 | SOBJS= auth_002.lo auth_003.lo checksum.lo config.lo exec_002.lo get_file.lo \ |
---|
30 | update_server.lo xfer_002.lo xfer_003.lo sendrecv.lo |
---|
31 | COBJS= update_test.lo checksum.lo client.lo send_file.lo ticket.lo sendrecv.lo |
---|
32 | |
---|
33 | TARGET=update_server update_test |
---|
34 | |
---|
35 | .SUFFIXES: .lo |
---|
36 | |
---|
37 | .c.lo: |
---|
38 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
39 | |
---|
40 | all: $(TARGET) |
---|
41 | |
---|
42 | clean: |
---|
43 | $(LIBTOOL) --mode=clean rm -f $(SOBJS) $(COBJS) $(TARGET) |
---|
44 | |
---|
45 | cleandir distclean: clean |
---|
46 | rm -f Makefile |
---|
47 | |
---|
48 | depend: |
---|
49 | |
---|
50 | install: all |
---|
51 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir) |
---|
52 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir) |
---|
53 | $(SRCTOP)/mkinstalldirs $(DESTDIR)$(sysconfdir) |
---|
54 | $(INSTALL) -m 644 moira.conf $(DESTDIR)$(sysconfdir)/moira.conf |
---|
55 | |
---|
56 | update_test: $(COBJS) $(MR_LIBDEP) |
---|
57 | $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS) |
---|
58 | |
---|
59 | update_server: $(SOBJS) $(MR_LIBDEP) |
---|
60 | $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.