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
|
Rev | Line | |
---|
[26024] | 1 | # $Id: Makefile.in 4107 2013-05-09 15:39:02Z zacheiss $ |
---|
[23095] | 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) |
---|
[23882] | 11 | LIBTOOL=@LIBTOOL@ |
---|
[23095] | 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@ |
---|
[23882] | 27 | top_builddir=@top_builddir@ |
---|
[23095] | 28 | BUILDTOP=.. |
---|
| 29 | mrbindir=@mrbindir@ |
---|
| 30 | |
---|
[23882] | 31 | STUDENT_OBJS=student.lo common.lo |
---|
| 32 | STAFF_OBJS=staff.lo common.lo |
---|
| 33 | VOTE_OBJS=vote.lo |
---|
[23095] | 34 | |
---|
| 35 | CFILES=student.c staff.c common.c vote.c |
---|
| 36 | |
---|
| 37 | TARGET=student staff vote |
---|
[26024] | 38 | SCRIPTS=affiliates.pl grouper.pl staff.sql stellar.pl student.sql |
---|
[23095] | 39 | |
---|
[23882] | 40 | .SUFFIXES: .pc .lo |
---|
[23095] | 41 | |
---|
| 42 | .pc.c: |
---|
| 43 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
| 44 | |
---|
[23882] | 45 | .c.lo: |
---|
| 46 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
[23095] | 47 | |
---|
| 48 | all: $(TARGET) |
---|
| 49 | |
---|
| 50 | clean: |
---|
[23882] | 51 | $(LIBTOOL) --mode=clean rm -f $(STUDENT_OBJS) $(STAFF_OBJS) $(VOTE_OBJS) |
---|
| 52 | $(LIBTOOL) --mode=clean rm -f $(CFILES) $(TARGET) |
---|
[23095] | 53 | |
---|
| 54 | cleandir distclean: clean |
---|
| 55 | rm -f Makefile |
---|
| 56 | |
---|
| 57 | depend: $(CFILES) |
---|
| 58 | |
---|
| 59 | install: |
---|
[23882] | 60 | @set -x; for p in $(TARGET); do $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done |
---|
[23740] | 61 | @set -x; for p in $(SCRIPTS); do $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done |
---|
[23882] | 62 | |
---|
[23095] | 63 | student: $(STUDENT_OBJS) $(MR_LIBDEP) |
---|
[23882] | 64 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(STUDENT_OBJS) $(SQL_LIBS) $(LIBS) |
---|
[23095] | 65 | |
---|
| 66 | staff: $(STAFF_OBJS) $(MR_LIBDEP) |
---|
[23882] | 67 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(STAFF_OBJS) $(SQL_LIBS) $(LIBS) |
---|
[23095] | 68 | |
---|
| 69 | vote: $(VOTE_OBJS) $(MR_LIBDEP) |
---|
[23882] | 70 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(VOTE_OBJS) $(SQL_LIBS) $(LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.