]> git.sesse.net Git - vlc/blobdiff - Makefile.modules
* Added HTTP url drop (from a WWW browser) to the gtk/gnome interface.
[vlc] / Makefile.modules
index 31ac491e03bd5e1ffdf5217e4469a4bb222791ed..db54c5a2b457cf0902f10e63c354f9e4b7246b04 100644 (file)
 #
 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