summaryrefslogtreecommitdiff
path: root/strings/Makefile.in
blob: d38dbd8082f4ab24cfec0cb08339b7a8104f6b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
#LIBS=$(EXTRA_LIBS) $(LIBS1)
#INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
#LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)

CC=@CC@
RANLIB=@RANLIB@
AR=@AR@
RM=@RM@
CFLAGS=@CFLAGS@ @OPTIM@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@ $(LIBS)
INCDIR=../include
INCDIR1=../misc/@OSDIR@
INCLUDES=-I$(INCDIR) -I$(INCDIR1) -I../misc/unix

#LIB=@LIBPREFIX@apr.a

OBJS=apr_cpystrn.o \
	apr_snprintf.o \
	apr_strnatcmp.o \
	apr_strings.o \
	apr_fnmatch.o

.c.o:
	$(CC) $(CFLAGS) -c $(INCLUDES) $<

all: $(OBJS)

clean:
	$(RM) -f *.o *.a *.so

distclean: clean
	-$(RM) -f Makefile


#$(LIB): $(OBJS)
#	$(RM) -f $@
#	$(AR) cr $@ $(OBJS)
#	$(RANLIB) $@

#
# We really don't expect end users to use this rule.  It works only with
# gcc, and rebuilds Makefile.in.  You have to re-run configure after
# using it.
#
depend:
	cp Makefile.in Makefile.in.bak \
	    && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \
	    && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
	    && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
	           -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
		> Makefile.in \
	    && rm Makefile.new

# DO NOT REMOVE
apr_cpystrn.o: apr_cpystrn.c $(INCDIR)/apr.h $(INCDIR)/apr_strings.h \
 $(INCDIR)/apr_lib.h $(INCDIR)/apr_pools.h \
 $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
 $(INCDIR)/apr_general.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h \
 $(INCDIR)/apr_tables.h $(INCDIR)/apr_private.h
apr_fnmatch.o: apr_fnmatch.c $(INCDIR)/apr_private.h \
 $(INCDIR)/apr_fnmatch.h $(INCDIR)/apr_errno.h $(INCDIR)/apr.h \
 $(INCDIR)/apr_lib.h $(INCDIR)/apr_pools.h \
 $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
 $(INCDIR)/apr_general.h $(INCDIR)/apr_time.h \
 $(INCDIR)/apr_tables.h
apr_snprintf.o: apr_snprintf.c $(INCDIR)/apr.h \
 $(INCDIR)/apr_private.h $(INCDIR)/apr_lib.h $(INCDIR)/apr_pools.h \
 $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
 $(INCDIR)/apr_general.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h \
 $(INCDIR)/apr_tables.h
apr_strings.o: apr_strings.c $(INCDIR)/apr.h $(INCDIR)/apr_strings.h \
 $(INCDIR)/apr_lib.h $(INCDIR)/apr_pools.h \
 $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
 $(INCDIR)/apr_general.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h \
 $(INCDIR)/apr_tables.h $(INCDIR)/apr_private.h
apr_strnatcmp.o: apr_strnatcmp.c $(INCDIR)/apr_strnatcmp.h