]> matita.cs.unibo.it Git - helm.git/blob - helm/papers/use_case/stats/parse/SAX2Print/Makefile
ocaml 3.09 transition
[helm.git] / helm / papers / use_case / stats / parse / SAX2Print / Makefile
1 # Generated automatically from Makefile.in by configure.
2 #
3 # Copyright 1999-2000,2004 The Apache Software Foundation.
4
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8
9 #      http://www.apache.org/licenses/LICENSE-2.0
10
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 #
18 #
19 # $Id$
20 #
21
22 ###################################################################
23 #                    IMPORTANT NOTE                               #
24 ###################################################################
25 # If you are going to do the OS390BATCH build, make sure you have #
26 # the OS390BATCH environment variable set.                        #
27 #                                                                 #
28 #   export OS390BATCH=1                                           #
29 #                                                                 #
30 ###################################################################
31
32 PLATFORM = LINUX
33 COMPILER = c++
34 CXXVER = 
35 GCC = yes
36 GXX = yes
37 CXXFLAGS = -g -O2
38 CFLAGS = -g -O2
39 LDFLAGS = 
40 THREADS = 
41 EXTRA_LIBS = 
42 PREFIX = /usr/local
43
44 include Makefile.incl
45
46 APP_NAME=SAX2Print
47
48 OUTDIR= .
49 EXEC=   .
50 OBJS=   ${OUTDIR}/SAX2Print.o ${OUTDIR}/SAX2PrintHandlers.o
51 SRC=    .
52 HEADER_FILES=${SRC}/SAX2Print.hpp ${SRC}/SAX2PrintHandlers.hpp
53
54 ## OS390BATCH
55 ifeq (${OS390BATCH},1)
56 BATCH_TARGET= "//'${LOADMOD}(SAX2PRNT)'"
57 all:: makedir ${BATCH_TARGET}
58 else
59 all:: makedir ${EXEC}/${APP_NAME}
60 endif
61
62 makedir::
63         -mkdir -p $(OUTDIR)
64
65 ${EXEC}/${APP_NAME}:: ${OBJS}
66         ${LINK} ${PLATFORM_LIB_LINK_OPTIONS} ${OBJS} -o $@ ${LIBRARY_SEARCH_PATHS} ${LIBRARY_NAMES} ${EXTRA_LINK_OPTIONS}
67 ${BATCH_TARGET}:: ${OBJS}
68         ${LINK} ${PLATFORM_LIB_LINK_OPTIONS} ${OBJS} -o $@ ${LIBRARY_SEARCH_PATHS} ${LIBRARY_NAMES} ${EXTRA_LINK_OPTIONS}
69
70 $(OUTDIR)/SAX2Print.o:: ${SRC}/SAX2Print.cpp ${HEADER_FILES}
71         ${CC} ${INCLUDES} ${CMP} -o $(OUTDIR)/SAX2Print.o ${SRC}/SAX2Print.cpp
72
73 $(OUTDIR)/SAX2PrintHandlers.o:: ${SRC}/SAX2PrintHandlers.cpp ${HEADER_FILES}
74         ${CC} ${INCLUDES} ${CMP} -o $(OUTDIR)/SAX2PrintHandlers.o ${SRC}/SAX2PrintHandlers.cpp
75
76 clean::
77         rm -f ${OBJS} ${EXEC}/${APP_NAME}
78
79 distclean::     clean
80         rm -f Makefile