X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=Makefile;h=036d0f9a47b68d334fb7e0b053d671af765d7f7d;hb=a5e266131f57f8b891f03b5d6370171eed37dd54;hp=7f091327843f70e96456d533f5d8e29cb0452c7b;hpb=80da930b8321600a81d3d9ae39ff4b27def501c3;p=videolink.git diff --git a/Makefile b/Makefile index 7f09132..036d0f9 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,11 @@ moz_version_major := $(word 1,$(subst ., ,$(moz_version))) moz_version_minor := $(word 2,$(subst ., ,$(moz_version))) moz_version_patchlevel := $(word 3,$(subst ., ,$(moz_version))) -CFLAGS := -Wall +CFLAGS := -ansi -Wall CPPFLAGS := -D_REENTRANT # Non-virtual destructors are fine in XPCOM interface classes since # instances are only ever called by the Release function which is virtual. -CXXFLAGS := -Wall -Wno-non-virtual-dtor +CXXFLAGS := -ansi -Wall -Wno-non-virtual-dtor LDFLAGS := -lpthread $(shell pkg-config --libs gtkmm-2.0 mozilla-gtkmozembed) \ -Wl,-rpath -Wl,$(moz_lib_dir) -lexpat @@ -73,6 +73,8 @@ link_iterator.% style_sheets.% webdvd.% \ : CPPFLAGS += $(addprefix -I$(moz_include_dir)/, \ content docshell dom gfx layout necko webshell widget) +null_prompt_service.% : CPPFLAGS += -I$(moz_include_dir)/uconv + %.d : %.cpp $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MM -MF $@ $<