annotate GEMBASSY-1.0.3/gsoap/src/MakefileManual @ 0:8300eb051bea draft

Initial upload
author ktnyt
date Fri, 26 Jun 2015 05:19:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
1 # gSOAP soapcpp2 Makefile by Robert van Engelen, Genivia Inc.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
2 # Use this to build the soapcpp2 tool when autoconf/automake are not
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
3 # available.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
4 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
5 # Dependences:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
6 # Flex (or Lex)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
7 # Bison
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
8 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
9 # Mac OS X universal binary:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
10 # CC=gcc -arch i386 -arch ppc
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
11 CC=gcc
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
12 # use LEX=flex -l or LEX=lex
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
13 LEX=flex -l
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
14 # use YACC=bison or YACC=yacc -d -v -s soapcpp2_yacc
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
15 YACC=bison
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
16 # For static linkage with Flex use:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
17 LIBS=/usr/lib/libfl.a
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
18 # For static linkage with Lex use:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
19 # LIBS=/usr/lib/libl.a
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
20 COFLAGS=-O1
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
21 # For static linking use:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
22 # COFLAGS=-O1 -static
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
23 # For debugging use:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
24 # COFLAGS=-g
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
25 CWFLAGS=-Wall
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
26 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
27 CIFLAGS=
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
28 # use -DWITH_BISON or -DWITH_YACC
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
29 # use -DWITH_FLEX or -DWITH_LEX
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
30 CMFLAGS=-DWITH_BISON -DWITH_FLEX
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
31 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
32 CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
33 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
34 soapcpp2: soapcpp2.h soapcpp2_yacc.tab.o symbol2.o error2.o lex.yy.o init2.o soapcpp2.o
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
35 $(CC) $(CFLAGS) symbol2.o error2.o soapcpp2_yacc.tab.o lex.yy.o init2.o soapcpp2.o $(LIBS) -o $@
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
36 cp -f soapcpp2 ../bin
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
37 soapcpp2_yacc.tab.c: soapcpp2_yacc.y soapcpp2.h error2.h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
38 $(YACC) -d -v soapcpp2_yacc.y
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
39 lex.yy.c: soapcpp2_yacc.tab.h soapcpp2_yacc.tab.c soapcpp2_lex.l
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
40 $(LEX) soapcpp2_lex.l
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
41 .c.o: soapcpp2.h soapcpp2_yacc.tab.h error2.h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
42 $(CC) $(CFLAGS) -c $<
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
43 .PHONY: clean distclean
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
44 clean:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
45 rm -f *.o
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
46 distclean:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
47 rm -f soapcpp2 *.o lex.yy.* soapcpp2_yacc.tab.h soapcpp2_yacc.tab.c y.tab.* *.output