Fixed some typos
[platform/upstream/rpm.git] / misc / Makefile.in
1 srcdir = @srcdir@
2 VPATH = $(srcdir)
3
4 include $(srcdir)/../Makefile.inc
5
6 LIBOBJECTS = @MISCOBJS@ popt.o
7 LIBMISC = libmisc.a
8
9 # -----------------------------------------------------------------------
10
11 ifeq (.depend,$(wildcard .depend))
12 TARGET=everything
13 else
14 TARGET=depend everything
15 endif
16
17 all: $(TARGET)
18
19 everything: $(LIBMISC)
20
21 $(LIBMISC): $(LIBOBJECTS) 
22         $(AR) r $@ $(LIBOBJECTS)
23         $(RANLIB) $@
24
25 $(PROGS): $(LIBOBJECTS)
26
27 clean:
28         rm -f *.a *.o *~ $(PROGS)
29
30 distclean: clean
31         rm -f .depend Makefile
32
33 depend:
34         $(CPP) $(CFLAGS) -M $(srcdir)/*.c > .depend
35
36 ifeq (.depend,$(wildcard .depend))
37 include .depend
38 endif