Revision 26024,
1.7 KB
checked in by jdreed, 11 years ago
(diff) |
In moira:
* Snapshot moira at r4113 to pick up new firewall-related changes
|
Line | |
---|
1 | # $Id: Makefile.in 4107 2013-05-09 15:39:02Z zacheiss $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | @SET_MAKE@ |
---|
5 | |
---|
6 | CC=@CC@ |
---|
7 | CPPFLAGS=@CPPFLAGS@ |
---|
8 | CFLAGS=@CFLAGS@ |
---|
9 | DEFS=@DEFS@ |
---|
10 | ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) |
---|
11 | LIBTOOL=@LIBTOOL@ |
---|
12 | PRO_C=@PRO_C@ |
---|
13 | PRO_C_DEFS=@PRO_C_DEFS@ |
---|
14 | PRO_C_INCLUDES=@PRO_C_INCLUDES@ |
---|
15 | PRO_C_OPTS=@PRO_C_OPTS@ |
---|
16 | PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES) |
---|
17 | LDFLAGS=@LDFLAGS@ |
---|
18 | SQL_LIBS=@SQL_LIBS@ |
---|
19 | LIBS=@LIBS@ |
---|
20 | MR_LIBDEP=@MR_LIBDEP@ |
---|
21 | INSTALL=@INSTALL@ |
---|
22 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
23 | |
---|
24 | srcdir=@srcdir@ |
---|
25 | VPATH=@srcdir@ |
---|
26 | SRCTOP=@top_srcdir@ |
---|
27 | top_builddir=@top_builddir@ |
---|
28 | BUILDTOP=.. |
---|
29 | mrbindir=@mrbindir@ |
---|
30 | |
---|
31 | STUDENT_OBJS=student.lo common.lo |
---|
32 | STAFF_OBJS=staff.lo common.lo |
---|
33 | VOTE_OBJS=vote.lo |
---|
34 | |
---|
35 | CFILES=student.c staff.c common.c vote.c |
---|
36 | |
---|
37 | TARGET=student staff vote |
---|
38 | SCRIPTS=affiliates.pl 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 | |
---|
48 | all: $(TARGET) |
---|
49 | |
---|
50 | clean: |
---|
51 | $(LIBTOOL) --mode=clean rm -f $(STUDENT_OBJS) $(STAFF_OBJS) $(VOTE_OBJS) |
---|
52 | $(LIBTOOL) --mode=clean rm -f $(CFILES) $(TARGET) |
---|
53 | |
---|
54 | cleandir distclean: clean |
---|
55 | rm -f Makefile |
---|
56 | |
---|
57 | depend: $(CFILES) |
---|
58 | |
---|
59 | install: |
---|
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 | |
---|
63 | student: $(STUDENT_OBJS) $(MR_LIBDEP) |
---|
64 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(STUDENT_OBJS) $(SQL_LIBS) $(LIBS) |
---|
65 | |
---|
66 | staff: $(STAFF_OBJS) $(MR_LIBDEP) |
---|
67 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(STAFF_OBJS) $(SQL_LIBS) $(LIBS) |
---|
68 | |
---|
69 | vote: $(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.