Makefile 733 B

123456789101112131415161718192021222324252627282930313233
  1. # Makefile for freepascal nlm-test
  2. # Needs working nlmconv + i386-netware-ld
  3. # AD 8/2000
  4. UNITDIR = /usr/lib/fpc/1.1/units/netware/rtl
  5. PPC386OPT = -a -al -Or -O3 -XX -Tnetware -Fi$(UNITDIR)
  6. INCLUDES = -Fo$(UNITDIR) -Fu$(UNITDIR)
  7. OBJS = test.on
  8. %.on: %.pas
  9. ppc386 $(PPC386OPT) $(INCLUDES) $*.pas
  10. all: $(OBJS)
  11. #test.nlm: $(OBJS)
  12. # nlmconv -Ttest.def
  13. # mount netware and copy test.nlm to sys:test on 4.11 and 5.1 server
  14. install: all
  15. [ -d nw ] || mkdir nw
  16. ncpmount -S FS-DEVELOP -U linux.home.ad -V sys -n nw
  17. cp -f test.nlm nw/test/test.nlm
  18. umount nw
  19. ncpmount -S FS-AD -U linux.home.ad -V sys -n nw
  20. cp -f test.nlm nw/test/test.nlm
  21. umount nw
  22. clean:
  23. rm -f *.on *.nlm *.ppn *.s *.bak *.o
  24. [ -d nw ] && rmdir nw
  25. dist: clean