diff options
Diffstat (limited to 'src/plugins/Makefile')
-rw-r--r-- | src/plugins/Makefile | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/plugins/Makefile b/src/plugins/Makefile deleted file mode 100644 index bac69f70f..000000000 --- a/src/plugins/Makefile +++ /dev/null @@ -1,42 +0,0 @@ - -OBJECTS = sample.dll sig.dll pid.dll gui.dll upnp.dll console.dll - -ifdef CYGWIN - PLUGINEXT = dll -else - PLUGINEXT = so -endif - -PLUGINS = $(OBJECTS:%.dll=%.$(PLUGINEXT)) -COMMON_H = ../common/plugin.h ../common/cbasetypes.h - -txt sql all: $(PLUGINS) - -%.$(PLUGINEXT): %.c - $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< - -sig.$(PLUGINEXT): sig.c - $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \ - ../common/obj/showmsg.o ../common/obj/utils.o \ - ../common/obj/minimalloc.o - -gui.$(PLUGINEXT): ../../plugins/gui.conf -upnp.$(PLUGINEXT): ../../plugins/upnp.conf - -../../plugins/%.conf: %.txt - cp -r $< $@ - -../../plugins/gui.conf: gui.txt -../../plugins/upnp.conf: upnp.txt - -depend: - makedepend -fGNUmakefile -o.$(PLUGINEXT) -Y. -Y../common *.c $(PLUGINS:%=../../plugins/%) -clean: - rm -rf $(PLUGINS) GNUmakefile - -# DO NOT DELETE - -sample.$(PLUGINEXT): sample.c $(COMMON_H) -sig.$(PLUGINEXT): sig.c $(COMMON_H) -pid.$(PLUGINEXT): pid.c $(COMMON_H) -gui.$(PLUGINEXT): gui.c $(COMMON_H) |