1 # $Id: Makefile.in,v 1.17 2011/02/19 17:40:30 ragge Exp $
3 # Makefile.in for libpcc.a
8 top_srcdir
= @top_srcdir@
9 top_builddir
= @top_builddir@
11 exec_prefix = @
exec_prefix@
19 PCCLIBDIR
= $(libdir)/pcc
/$(TARGET
)/$(VERSION
)/lib
20 PCCINCDIR
= $(libdir)/pcc
/$(TARGET
)/$(VERSION
)/include
22 CPPFLAGS
+= @CPPFLAGS@
-I
$(srcdir) @ENDIAN_FLAG@
-Dos_
$(TARGOS
)
29 HEADERS
+= float.h limits.h stdarg.h stdbool.h stddef.h \
31 libpcc_float.h libpcc_limits.h libpcc_stdarg.h \
32 libpcc_stdbool.h libpcc_stddef.h
34 OBJS
+= cmpdi2.o divdi3.o fixdfdi.o fixsfdi.o fixunsdfdi.o \
35 fixunssfdi.o floatdidf.o floatdisf.o floatunsdidf.o \
36 moddi3.o muldi3.o negdi2.o qdivrem.o \
37 ucmpdi2.o udivdi3.o umoddi3.o
39 OBJS
+= ashldi3.o ashrdi3.o lshrdi3.o bitcnt.o
54 $(CC
) -O
$(CPPFLAGS
) $(CFLAGS
) -c
$<
56 install: install-headers install-lib
59 test -z
"${DESTDIR}$(PCCINCDIR)" || mkdir
-p
"${DESTDIR}$(PCCINCDIR)"
60 headers
='$(HEADERS)'; for i in
$$headers; do \
61 $(INSTALL
) -m
644 $(srcdir)/include/$$i \
62 ${DESTDIR}$(PCCINCDIR
)/$$i; \
66 test -z
"${DESTDIR}$(PCCLIBDIR)" || mkdir
-p
"${DESTDIR}$(PCCLIBDIR)"
67 $(INSTALL
) -m
644 $(DEST
) ${DESTDIR}$(PCCLIBDIR
)
70 /bin
/rm -f
$(OBJS
) $(DEST
)