source: trunk/poppler/expat-1.95.8/vms/descrip.mms @ 2

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 2.0 KB
Line 
1# Bare bones description file (Makefile) for OpenVMS
2
3PACKAGE = expat
4VERSION = 1.95.8
5EXPAT_MAJOR_VERSION=1
6EXPAT_MINOR_VERSION=95
7EXPAT_EDIT=8
8
9O = .obj
10OLB = .olb
11 
12LIBRARY = expat$(OLB)
13LIBDIR = [.lib]
14SOURCES = $(LIBDIR)xmlparse.c $(LIBDIR)xmltok.c $(LIBDIR)xmlrole.c
15OBJECTS = xmlparse$(O) xmltok$(O) xmlrole$(O)
16 
17TEMPLATES = xmltok_impl.c xmltok_ns.c
18APIHEADER = $(LIBDIR)expat.h
19HEADERS = $(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 
23CONFIG_HEADER = expat_config.h
24INCLUDES = /INCLUDE=([],[.lib])
25DEFS = /DEFINE=(PACKAGE="""$(PACKAGE)""",VERSION="""$(PACKAGE)_$(VERSION)""",HAVE_EXPAT_CONFIG_H)
26LIBREVISION = 0
27LIBCURRENT  = 1
28LIBAGE      = 0
29#
30COMPILE = $(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
40all : $(LIBRARY)
41        @ write sys$output "All made."
42 
43.SUFFIXES :
44.SUFFIXES : $(OLB) $(O) .C .H 
45 
46.c$(O) :
47       $(COMPILE) $(MMS$SOURCE)
48 
49$(O)$(OLB) :
50        @ IF F$SEARCH("$(MMS$TARGET)") .EQS. "" -
51                THEN LIBRARY/CREATE/LOG $(MMS$TARGET)
52        @ LIBRARY /REPLACE /LOG $(MMS$TARGET) $(MMS$SOURCE)
53 
54clean :
55       DELETE $(LIBRARY);*,*$(O);*
56 
57$(LIBRARY) : $(LIBRARY)( $(OBJECTS) )
58       $(LIBR) /COMPRESS $(MMS$TARGET)
59
60$(CONFIG_HEADER) : [.vms]expat_config.h
61        COPY/LOG $(MMS$SOURCE) $(MMS$TARGET)
62
63xmlparse$(O) : $(LIBDIR)xmlparse.c $(LIBDIR)expat.h $(LIBDIR)xmlrole.h $(LIBDIR)xmltok.h $(CONFIG_HEADER)
64 
65xmlrole$(O) : $(LIBDIR)xmlrole.c $(LIBDIR)ascii.h $(LIBDIR)xmlrole.h $(CONFIG_HEADER)
66 
67xmltok$(O) : $(LIBDIR)xmltok.c $(LIBDIR)xmltok_impl.c $(LIBDIR)xmltok_ns.c \
68        $(LIBDIR)ascii.h $(LIBDIR)asciitab.h $(LIBDIR)iasciitab.h $(LIBDIR)latin1tab.h \
69        $(LIBDIR)nametab.h $(LIBDIR)utf8tab.h $(LIBDIR)xmltok.h $(LIBDIR)xmltok_impl.h $(CONFIG_HEADER)
70
Note: See TracBrowser for help on using the repository browser.