Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / pcc / dist / pcc-libs / libsoftfloat / Makefile.in
blob499e0651eeb139682981a964f3b6b17b2843a5fa
1 # $Id: Makefile.in,v 1.1.1.2 2009/09/04 00:27:36 gmcgarry Exp $
3 # Makefile.in for libpccsoftfloat.a
6 VPATH = @srcdir@
7 srcdir = @srcdir@
8 top_srcdir = @top_srcdir@
9 top_builddir = @top_builddir@
10 prefix = @prefix@
11 exec_prefix = @exec_prefix@
12 libdir = @libdir@
14 CC = @CC@
15 TARGET = @target@
16 TARGMACH = @targmach@
17 VERSION = @version@
18 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib
20 CPPFLAGS += @CPPFLAGS@ -DSOFTFLOAT_FOR_GCC -I$(srcdir) -I$(srcdir)/arch/$(TARGMACH)
22 LIBS = @LIBS@
23 AR = @AR@
24 RANLIB = @RANLIB@
25 INSTALL = @INSTALL@
27 OBJS += softfloat.o
29 OBJS += fpgetround.o fpsetround.o fpgetmask.o fpsetmask.o \
30 fpgetsticky.o fpsetsticky.o
32 OBJSS += eqsf2.o nesf2.o gtsf2.o gesf2.o ltsf2.o lesf2.o negsf2.o \
33 eqdf2.o nedf2.o gtdf2.o gedf2.o ltdf2.o ledf2.o negdf2.o \
34 nexf2.o gtxf2.o gexf2.o negxf2.o unordsf2.o unorddf2.o
36 DEST = libpccsoftfloat.a
38 all: $(DEST)
40 $(DEST): $(OBJS)
41 $(AR) r $@ $?
42 $(RANLIB) $@
44 softfloat.o : bits64/softfloat.c
45 $(CC) -O $(CPPFLAGS) $(CFLAGS) -c $<
47 .c.o :
48 $(CC) -O $(CPPFLAGS) $(CFLAGS) -c $<
50 install:
51 test -z "${DESTDIR}$(PCCLIBDIR)" || mkdir -p "${DESTDIR}$(PCCLIBDIR)"
52 $(INSTALL) -m 644 $(DEST) ${DESTDIR}$(PCCLIBDIR)
54 clean:
55 /bin/rm -f $(OBJS) $(DEST)
57 distclean:
58 /bin/rm -f Makefile