| 1 |
adx |
61 |
# $Id: Makefile.in 33 2005-10-02 20:50:00Z knight $ |
| 2 |
|
|
|
| 3 |
|
|
CC = @CC@ |
| 4 |
|
|
SED = @SED@ |
| 5 |
|
|
STDOUT = @STDOUT@ |
| 6 |
|
|
CFLAGS = @IRC_CFLAGS@ |
| 7 |
|
|
MKDEP = @MKDEP@ |
| 8 |
|
|
MV = @MV@ |
| 9 |
|
|
RM = @RM@ |
| 10 |
|
|
|
| 11 |
|
|
IRCDLIBS = @LIBS@ $(SSL_LIBS) |
| 12 |
|
|
|
| 13 |
adx |
69 |
INCLUDES = -I.. -I../../include |
| 14 |
adx |
61 |
CPPFLAGS = ${INCLUDES} -DIN_LIBIO @CPPFLAGS@ |
| 15 |
|
|
|
| 16 |
|
|
SRCS = \ |
| 17 |
|
|
match.c \ |
| 18 |
|
|
pcre_chartables.c \ |
| 19 |
|
|
pcre_compile.c \ |
| 20 |
|
|
pcre_exec.c \ |
| 21 |
|
|
pcre_fullinfo.c \ |
| 22 |
|
|
pcre_globals.c \ |
| 23 |
|
|
pcre_study.c \ |
| 24 |
|
|
pcre_tables.c \ |
| 25 |
|
|
pcre_try_flipped.c \ |
| 26 |
|
|
@SNPRINTF_C@ \ |
| 27 |
|
|
sprintf_irc.c \ |
| 28 |
|
|
string.c |
| 29 |
|
|
|
| 30 |
|
|
OBJS = ${SRCS:.c=.o} |
| 31 |
|
|
|
| 32 |
|
|
default: build |
| 33 |
|
|
build: all |
| 34 |
|
|
all: depend $(OBJS) |
| 35 |
|
|
|
| 36 |
|
|
.c.o: |
| 37 |
|
|
${CC} ${CPPFLAGS} ${CFLAGS} -c $< -o $@ |
| 38 |
|
|
|
| 39 |
|
|
depend: .depend |
| 40 |
|
|
.depend: |
| 41 |
|
|
${MKDEP} ${CPPFLAGS} ${SRCS} ${STDOUT} |
| 42 |
|
|
@${SED} -e '/^# Autogenerated - do not delete/,$$d' <Makefile >Makefile.depend |
| 43 |
|
|
@echo "# Autogenerated - do not delete" >>Makefile.depend |
| 44 |
|
|
@echo "include .depend" >> Makefile.depend |
| 45 |
|
|
@${MV} Makefile.depend Makefile |
| 46 |
|
|
|
| 47 |
|
|
clean: |
| 48 |
|
|
${RM} -f $(OBJS) |
| 49 |
|
|
|
| 50 |
|
|
distclean: clean |
| 51 |
|
|
${RM} -f Makefile .depend |
| 52 |
|
|
|
| 53 |
|
|
install: |
| 54 |
|
|
|
| 55 |
|
|
.PHONY: distclean build |