Makefile 740 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $Header$
  2. MACH=m68020
  3. ASAR=aal
  4. all: libem_o.a end.a
  5. install: all
  6. ../../install libem_o.a tail_em
  7. ../../install end.a end_em
  8. cmp: all
  9. -../../compare libem_o.a tail_em
  10. -../../compare end.a end_em
  11. end.a: em_end.s etext.s edata.s end.s
  12. $(MACH) -I../../../h -c em_end.s
  13. $(MACH) -I../../../h -c edata.s
  14. $(MACH) -I../../../h -c etext.s
  15. $(MACH) -I../../../h -c end.s
  16. $(ASAR) cr end.a em_end.o etext.o edata.o end.o
  17. libem_o.a: libem_s.a
  18. ASAR=$(ASAR) ; export ASAR ;\
  19. march . libem_o.a
  20. clean:
  21. rm -f *.o libem_o.a end.a
  22. opr :
  23. make pr | opr
  24. pr:
  25. @arch pv libem_s.a | pr -h `pwd`/libem_s.a
  26. @pr `pwd`/em_end.s `pwd`/edata.s `pwd`/etext.s `pwd`/end.s
  27. trpstr.s: trpstr.c strscript
  28. sh strscript
  29. distr: trpstr.s