X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.modules;h=db54c5a2b457cf0902f10e63c354f9e4b7246b04;hb=c15864dbad0d44d57c8b5d076e4a9c70fefe7add;hp=31ac491e03bd5e1ffdf5217e4469a4bb222791ed;hpb=372813ac34cb7245c173c7255a6caeb6209c284d;p=vlc diff --git a/Makefile.modules b/Makefile.modules index 31ac491e03..db54c5a2b4 100644 --- a/Makefile.modules +++ b/Makefile.modules @@ -10,24 +10,6 @@ # CFLAGS := -I../../include -I../../extras $(CFLAGS) -# -# C compiler flags: plugin compilation -# -PCFLAGS += -fPIC - -# -# C compiler flags: plugin linking -# -ifneq (,$(findstring darwin,$(SYS))) -PLCFLAGS += -bundle -undefined suppress -else -ifeq ($(SYS),beos) -PLCFLAGS += -nostart ../../lib/_APP_ -else -PLCFLAGS += -shared -endif -endif - # # Standard dependencies # @@ -59,7 +41,7 @@ $(CPP_DEP): %.dpp: FORCE $(PLUGIN_C): %.o: .dep/%.d $(PLUGIN_C): %.o: %.c - $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -DPLUGIN $(PCFLAGS) -c -o $@ $< $(BUILTIN_C): BUILTIN_%.o: .dep/%.d $(BUILTIN_C): BUILTIN_%.o: %.c @@ -67,7 +49,7 @@ $(BUILTIN_C): BUILTIN_%.o: %.c $(PLUGIN_CPP): %.o: .dep/%.dpp $(PLUGIN_CPP): %.o: %.cpp - $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -DPLUGIN $(PCFLAGS) -c -o $@ $< $(BUILTIN_CPP): BUILTIN_%.o: .dep/%.dpp $(BUILTIN_CPP): BUILTIN_%.o: %.cpp