1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/devel/sdcc/files/patch-ad
Steve Price a5d951b54b Initial import of sdcc version 2.1.8.
A tool for cross-compiling code for the 8051.

PR:		13446
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1999-09-27 03:01:09 +00:00

66 lines
1.8 KiB
Plaintext

*** sdcc51lib/Makefile.in.orig Thu Aug 26 18:55:13 1999
--- sdcc51lib/Makefile.in Thu Aug 26 18:57:01 1999
***************
*** 63,69 ****
models:
for model in $(MODELS); do \
! mkdir $$model; \
$(MAKE) CFLAGS="$(CFLAGS) --model-$$model" objects; \
mv *.rel $$model; \
done
--- 63,69 ----
models:
for model in $(MODELS); do \
! $(INSTALL) -d -m 755 $$model; \
$(MAKE) CFLAGS="$(CFLAGS) --model-$$model" objects; \
mv *.rel $$model; \
done
***************
*** 71,80 ****
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: installdirs
! $(CP) *.c $(datadir)/sdcc51lib/
for model in $(MODELS); do \
[ -d $$model ] || $(MAKE) all; \
! $(CP) $$model/*.rel *.lib $(datadir)/sdcc51lib/$$model/; \
done
--- 71,80 ----
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: installdirs
! $(INSTALL) -c -m 644 *.c $(datadir)/sdcc51lib/
for model in $(MODELS); do \
[ -d $$model ] || $(MAKE) all; \
! $(INSTALL) -c -m 644 $$model/*.rel *.lib $(datadir)/sdcc51lib/$$model/; \
done
***************
*** 100,109 ****
# Creating installation directories
# ---------------------------------
installdirs:
! [ -d $(datadir)/sdcc51lib ] || mkdir -p $(datadir)/sdcc51lib
for model in $(MODELS); do \
[ -d $(datadir)/sdcc51lib/$$model ] || \
! mkdir -p $(datadir)/sdcc51lib/$$model; \
done
--- 100,109 ----
# Creating installation directories
# ---------------------------------
installdirs:
! [ -d $(datadir)/sdcc51lib ] || $(INSTALL) -d -m 755 $(datadir)/sdcc51lib
for model in $(MODELS); do \
[ -d $(datadir)/sdcc51lib/$$model ] || \
! $(INSTALL) -d -m 755 $(datadir)/sdcc51lib/$$model; \
done