source: trunk/third/moira/regtape/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@
8CFLAGS=@CFLAGS@
9DEFS=@DEFS@
10ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
11LIBTOOL=@LIBTOOL@
12PRO_C=@PRO_C@
13PRO_C_DEFS=@PRO_C_DEFS@
14PRO_C_INCLUDES=@PRO_C_INCLUDES@
15PRO_C_OPTS=@PRO_C_OPTS@
16PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES)
17LDFLAGS=@LDFLAGS@
18SQL_LIBS=@SQL_LIBS@
19LIBS=@LIBS@
20MR_LIBDEP=@MR_LIBDEP@
21INSTALL=@INSTALL@
22INSTALL_PROGRAM=@INSTALL_PROGRAM@
23
24srcdir=@srcdir@
25VPATH=@srcdir@
26SRCTOP=@top_srcdir@
27top_builddir=@top_builddir@
28BUILDTOP=..
29mrbindir=@mrbindir@
30
31STUDENT_OBJS=student.lo common.lo
32STAFF_OBJS=staff.lo common.lo
33VOTE_OBJS=vote.lo
34
35CFILES=student.c staff.c common.c vote.c
36
37TARGET=student staff vote
38SCRIPTS=grouper.pl staff.sql stellar.pl student.sql
39
40.SUFFIXES: .pc .lo
41
42.pc.c:
43        $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@
44
45.c.lo:
46        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
47
48all: $(TARGET)
49
50clean:
51        $(LIBTOOL) --mode=clean rm -f $(STUDENT_OBJS) $(STAFF_OBJS) $(VOTE_OBJS)
52        $(LIBTOOL) --mode=clean rm -f $(CFILES) $(TARGET)
53
54cleandir distclean: clean
55        rm -f Makefile
56
57depend: $(CFILES)
58
59install:
60        @set -x; for p in $(TARGET); do $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done
61        @set -x; for p in $(SCRIPTS); do $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done
62
63student: $(STUDENT_OBJS) $(MR_LIBDEP)
64        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(STUDENT_OBJS) $(SQL_LIBS) $(LIBS)
65
66staff: $(STAFF_OBJS) $(MR_LIBDEP)
67        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(STAFF_OBJS) $(SQL_LIBS) $(LIBS)
68
69vote: $(VOTE_OBJS) $(MR_LIBDEP)
70        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(VOTE_OBJS) $(SQL_LIBS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.