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