1 # $Id: Makefile.in,v 1.1.1.2 2009/09/04 00:27:36 gmcgarry 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 stdarg.h stdbool.h stddef.h \
30 libpcc_float.h libpcc_stdarg.h libpcc_stdbool.h libpcc_stddef.h
32 OBJS
+= cmpdi2.o divdi3.o fixdfdi.o fixsfdi.o fixunsdfdi.o \
33 fixunssfdi.o floatdidf.o floatdisf.o floatunsdidf.o \
34 moddi3.o muldi3.o negdi2.o qdivrem.o \
35 ucmpdi2.o udivdi3.o umoddi3.o
37 OBJS
+= ashldi3.o ashrdi3.o lshrdi3.o
52 $(CC
) -O
$(CPPFLAGS
) $(CFLAGS
) -c
$<
54 install: install-headers install-lib
57 test -z
"${DESTDIR}$(PCCINCDIR)" || mkdir
-p
"${DESTDIR}$(PCCINCDIR)"
58 headers
='$(HEADERS)'; for i in
$$headers; do \
59 $(INSTALL
) -m
644 $(srcdir)/include/$$i \
60 ${DESTDIR}$(PCCINCDIR
)/$$i; \
64 test -z
"${DESTDIR}$(PCCLIBDIR)" || mkdir
-p
"${DESTDIR}$(PCCLIBDIR)"
65 $(INSTALL
) -m
644 $(DEST
) ${DESTDIR}$(PCCLIBDIR
)
68 /bin
/rm -f
$(OBJS
) $(DEST
)