diff options
| author | MenTaLguY <mental@rydia.net> | 2006-01-16 02:36:01 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-01-16 02:36:01 +0000 |
| commit | 179fa413b047bede6e32109e2ce82437c5fb8d34 (patch) | |
| tree | a5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/dom/Makefile.static | |
| download | inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip | |
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/dom/Makefile.static')
| -rwxr-xr-x | src/dom/Makefile.static | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/dom/Makefile.static b/src/dom/Makefile.static new file mode 100755 index 000000000..907fe9cce --- /dev/null +++ b/src/dom/Makefile.static @@ -0,0 +1,71 @@ +########################################################################### +# +# Makefile for testing DOM code +# +########################################################################### + + +CC = gcc +CXX = g++ + +INC = -I. +CFLAGS = -g -Wall +LIBS = + +OBJ = \ +charclass.o \ +cssparser.o \ +domimpl.o \ +domstream.o \ +domstring.o \ +lsimpl.o \ +smilimpl.o \ +stringstream.o \ +svgimpl.o \ +svglsimpl.o \ +svgparser.o \ +uri.o \ +uristream.o \ +xmlreader.o \ +xpathimpl.o \ +xpathparser.o + +all: testsvg uritest xpathtest + +testdom: libdom.a testdom.o + $(CXX) -o testdom testdom.o libdom.a $(LIBS) + +testsvg: libdom.a testsvg.o + $(CXX) -o testsvg testsvg.o libdom.a $(LIBS) + +uritest: libdom.a uritest.o + $(CXX) -o uritest uritest.o libdom.a $(LIBS) + +xpathtest: libdom.a xpathtest.o + $(CXX) -o xpathtest xpathtest.o libdom.a $(LIBS) + +libdom.a: $(OBJ) + ar crv libdom.a $(OBJ) + +.cpp.o: + $(CXX) $(CFLAGS) $(INC) -c -o $@ $< + +clean: + -$(RM) *.o + -$(RM) *.a + -$(RM) *.gch + -$(RM) *.class + -$(RM) testdom + -$(RM) testdom.exe + -$(RM) testsvg + -$(RM) testsvg.exe + -$(RM) uritest + -$(RM) uritest.exe + -$(RM) xpathtest + -$(RM) xpathtest.exe + -$(RM) core.* + +########################################################################### +# E N D O F F I L E +########################################################################### + |
