descrip.mms 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Bare bones description file (Makefile) for OpenVMS
  2. PACKAGE = expat
  3. VERSION = 1.95.8
  4. EXPAT_MAJOR_VERSION=1
  5. EXPAT_MINOR_VERSION=95
  6. EXPAT_EDIT=8
  7. O = .obj
  8. OLB = .olb
  9. LIBRARY = expat$(OLB)
  10. LIBDIR = [.lib]
  11. SOURCES = $(LIBDIR)xmlparse.c $(LIBDIR)xmltok.c $(LIBDIR)xmlrole.c
  12. OBJECTS = xmlparse$(O) xmltok$(O) xmlrole$(O)
  13. TEMPLATES = xmltok_impl.c xmltok_ns.c
  14. APIHEADER = $(LIBDIR)expat.h
  15. HEADERS = $(LIBDIR)ascii.h $(LIBDIR)iasciitab.h $(LIBDIR)utf8tab.h $(LIBDIR)xmltok.h \
  16. $(LIBDIR)asciitab.h $(LIBDIR)latin1tab.h \
  17. $(LIBDIR)nametab.h $(LIBDIR)xmldef.h $(LIBDIR)xmlrole.h $(LIBDIR)xmltok_impl.h
  18. CONFIG_HEADER = expat_config.h
  19. INCLUDES = /INCLUDE=([],[.lib])
  20. DEFS = /DEFINE=(PACKAGE="""$(PACKAGE)""",VERSION="""$(PACKAGE)_$(VERSION)""",HAVE_EXPAT_CONFIG_H)
  21. LIBREVISION = 0
  22. LIBCURRENT = 1
  23. LIBAGE = 0
  24. #
  25. COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  26. #
  27. # DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEMPLATES) $(APIHEADER) $(HEADERS)
  28. #
  29. # TAR = gtar
  30. # GZIP_ENV = --best
  31. #
  32. .FIRST :
  33. IF F$SEARCH("$(LIBRARY)") .EQS. "" THEN $(LIBR) /CREATE /OBJECT $(LIBRARY)
  34. all : $(LIBRARY)
  35. @ write sys$output "All made."
  36. .SUFFIXES :
  37. .SUFFIXES : $(OLB) $(O) .C .H
  38. .c$(O) :
  39. $(COMPILE) $(MMS$SOURCE)
  40. $(O)$(OLB) :
  41. @ IF F$SEARCH("$(MMS$TARGET)") .EQS. "" -
  42. THEN LIBRARY/CREATE/LOG $(MMS$TARGET)
  43. @ LIBRARY /REPLACE /LOG $(MMS$TARGET) $(MMS$SOURCE)
  44. clean :
  45. DELETE $(LIBRARY);*,*$(O);*
  46. $(LIBRARY) : $(LIBRARY)( $(OBJECTS) )
  47. $(LIBR) /COMPRESS $(MMS$TARGET)
  48. $(CONFIG_HEADER) : [.vms]expat_config.h
  49. COPY/LOG $(MMS$SOURCE) $(MMS$TARGET)
  50. xmlparse$(O) : $(LIBDIR)xmlparse.c $(LIBDIR)expat.h $(LIBDIR)xmlrole.h $(LIBDIR)xmltok.h $(CONFIG_HEADER)
  51. xmlrole$(O) : $(LIBDIR)xmlrole.c $(LIBDIR)ascii.h $(LIBDIR)xmlrole.h $(CONFIG_HEADER)
  52. xmltok$(O) : $(LIBDIR)xmltok.c $(LIBDIR)xmltok_impl.c $(LIBDIR)xmltok_ns.c \
  53. $(LIBDIR)ascii.h $(LIBDIR)asciitab.h $(LIBDIR)iasciitab.h $(LIBDIR)latin1tab.h \
  54. $(LIBDIR)nametab.h $(LIBDIR)utf8tab.h $(LIBDIR)xmltok.h $(LIBDIR)xmltok_impl.h $(CONFIG_HEADER)