2000-01-24 04:47:55 +00:00
|
|
|
*** sdcc51lib/Makefile.in.orig Mon Nov 22 15:49:50 1999
|
|
|
|
--- sdcc51lib/Makefile.in Mon Nov 29 19:28:44 1999
|
1999-09-27 03:01:09 +00:00
|
|
|
***************
|
|
|
|
*** 63,69 ****
|
|
|
|
|
|
|
|
models:
|
|
|
|
for model in $(MODELS); do \
|
|
|
|
! mkdir $$model; \
|
|
|
|
$(MAKE) CFLAGS="$(CFLAGS) --model-$$model" objects; \
|
|
|
|
mv *.rel $$model; \
|
2000-01-24 04:47:55 +00:00
|
|
|
mv *.asm $$model; \
|
1999-09-27 03:01:09 +00:00
|
|
|
--- 63,69 ----
|
|
|
|
|
|
|
|
models:
|
|
|
|
for model in $(MODELS); do \
|
|
|
|
! $(INSTALL) -d -m 755 $$model; \
|
|
|
|
$(MAKE) CFLAGS="$(CFLAGS) --model-$$model" objects; \
|
|
|
|
mv *.rel $$model; \
|
2000-01-24 04:47:55 +00:00
|
|
|
mv *.asm $$model; \
|
1999-09-27 03:01:09 +00:00
|
|
|
***************
|
2000-01-24 04:47:55 +00:00
|
|
|
*** 73,84 ****
|
1999-09-27 03:01:09 +00:00
|
|
|
# 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/; \
|
2000-01-24 04:47:55 +00:00
|
|
|
! $(CP) $$model/*.asm $(datadir)/sdcc51lib/$$model/; \
|
|
|
|
! $(CP) $$model/*.cdb $(datadir)/sdcc51lib/$$model/; \
|
1999-09-27 03:01:09 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
|
2000-01-24 04:47:55 +00:00
|
|
|
--- 73,84 ----
|
1999-09-27 03:01:09 +00:00
|
|
|
# Compiling and installing everything and runing test
|
|
|
|
# ---------------------------------------------------
|
|
|
|
install: installdirs
|
2000-01-24 04:47:55 +00:00
|
|
|
! $(INSTALL) *.c $(datadir)/sdcc51lib/
|
1999-09-27 03:01:09 +00:00
|
|
|
for model in $(MODELS); do \
|
|
|
|
[ -d $$model ] || $(MAKE) all; \
|
2000-01-24 04:47:55 +00:00
|
|
|
! $(INSTALL) $$model/*.rel *.lib $(datadir)/sdcc51lib/$$model/; \
|
|
|
|
! $(INSTALL) $$model/*.asm $(datadir)/sdcc51lib/$$model/; \
|
|
|
|
! $(INSTALL) $$model/*.cdb $(datadir)/sdcc51lib/$$model/; \
|
1999-09-27 03:01:09 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
***************
|
2000-01-24 04:47:55 +00:00
|
|
|
*** 104,113 ****
|
1999-09-27 03:01:09 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2000-01-24 04:47:55 +00:00
|
|
|
--- 104,113 ----
|
1999-09-27 03:01:09 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|