makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Make WWW under unix for a.n.other unix system (bsd)
  2. # Use this as a template
  3. # For W3 distribution, machine type for subdirectories
  4. WWW_MACH = djgpp
  5. # The ASIS repository's name for the machine we are on
  6. #ASIS_MACH = hardware/os
  7. # Use this option to enable optional and *experimental* color style.
  8. #ENABLE_COLOR_STYLE = -DUSE_COLOR_STYLE
  9. # comment this line to suppress DIRED support
  10. DIRED_DEFS = -DDIRED_SUPPORT
  11. CFLAGS= -O2 $(MCFLAGS) $(INTLFLAGS) $(SSLFLAGS) $(SSLINC)
  12. MCFLAGS = \
  13. $(DIRED_DEFS) \
  14. $(ENABLE_COLOR_STYLE) \
  15. -DDISP_PARTIAL \
  16. -DDOSPATH \
  17. -DUSE_FILE_UPLOAD \
  18. -DNOUSERS \
  19. -DUSE_SOURCE_CACHE \
  20. -DUSE_PRETTYSRC \
  21. -DUSE_ZLIB \
  22. -I../Implementation \
  23. -I../../../src \
  24. -I../../.. \
  25. -I/djgpp/pdcur26 \
  26. -I/djgpp/watt32/inc
  27. LFLAGS =
  28. CC = gcc
  29. # Uncomment the following to enable Internationalization.
  30. #INTLFLAGS = -DHAVE_GETTEXT -DHAVE_LIBINTL_H
  31. # Uncomment the following to enable SSL.
  32. #SSLFLAGS = -DUSE_SSL
  33. #SSLINC = -I/dev/env/DJDIR/include/openssl
  34. # Directory for installed binary:
  35. !BINDIR = /usr/local/bin
  36. # Where is the W3 object library to be installed (not normally done)?
  37. LIBDIR = $(WWW)/Library/Implementation/$(WWW_MACH)
  38. #_________________ OK if normal W3 distribution
  39. # Where is the WWW source root?
  40. WWW = ../..
  41. # Where should temporary (object) files go?
  42. WTMP = ../..
  43. include $(WWW)/Library/Implementation/Version.make
  44. #include $(WWW)/Library/Implementation/CommonMakefile
  45. include ./CommonMakefile