summaryrefslogtreecommitdiff
path: root/css/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-23 23:05:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-23 23:05:34 +0000
commitddeadd1c02880367ad786b113d352a519f45ec73 (patch)
tree00b8b46ee1a3fc84e5492c2183dfaa8192d261f9 /css/Makefile
parentb20949a35025b23da1bf0ac6003f4575eb94281d (diff)
downloadnetsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.gz
netsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.bz2
Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
Diffstat (limited to 'css/Makefile')
-rw-r--r--css/Makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/css/Makefile b/css/Makefile
deleted file mode 100644
index 6be322a6f..000000000
--- a/css/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# Makefile for CSS test code
-
-AR := ar
-CC := gcc
-LD := gcc
-
-CFLAGS := -O2 -I.. -I/usr/include/libxml2 -std=c99
-LDFLAGS := -lxml2 -lz -lcurl
-
-LIBOBJS := css.o css_enum.o parser.o ruleset.o scanner.o \
- messages.o hashtable.o talloc.o url.o utils.o
-
-.PHONY: default lib clean
-
-default:
- $(error "You probably wanted 'make test'")
-
-test: lib testcss.o
- $(LD) -o $@ testcss.o $(LDFLAGS) -L. -lnscss
-
-lib: $(LIBOBJS)
- $(AR) -cru libnscss.a $^
-
-clean:
- $(RM) $(LIBOBJS) testcss.o test libnscss.a
-
-messages.o: ../utils/messages.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-hashtable.o: ../utils/hashtable.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-talloc.o: ../utils/talloc.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-url.o: ../utils/url.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-utils.o: ../utils/utils.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-%.o : %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-