summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 07:17:18 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 07:17:18 +0000
commit38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54 (patch)
treec813881903b95d5fa1d0d0d64ca4055d278e24c2 /src/plugins
parent7b13f57cb69e6b38aa793f135a3c673cc6e72398 (diff)
downloadhercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.gz
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.bz2
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.xz
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.zip
- Changed the script source from unsigned char* to const char*.
- Updated plugins Makefile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Makefile103
1 files changed, 52 insertions, 51 deletions
diff --git a/src/plugins/Makefile b/src/plugins/Makefile
index 599d0f1e3..183905a46 100644
--- a/src/plugins/Makefile
+++ b/src/plugins/Makefile
@@ -1,51 +1,52 @@
-
-OBJECTS = sample.dll sig.dll pid.dll gui.dll upnp.dll httpd.dll
-
-ifdef CYGWIN
- PLUGINEXT = dll
-else
- PLUGINEXT = so
-endif
-
-PLUGINS = $(OBJECTS:%.dll=%.$(PLUGINEXT))
-COMMON_H = ../common/plugin.h
-
-txt sql all: $(PLUGINS)
-
-%.$(PLUGINEXT): %.c
- $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $<
- @touch $@
-
-httpd.$(PLUGINEXT): httpd.c
- $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
- ../common/obj/minimalloc.o ../common/obj/db.o ../common/obj/showmsg.o \
- ../common/obj/utils.o ../common/obj/ers.o
- @touch $@
-
-sig.$(PLUGINEXT): sig.c
- $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
- ../common/obj/showmsg.o
- @touch $@
-
-gui.$(PLUGINEXT): ../../plugins/gui.conf
-httpd.$(PLUGINEXT): ../../plugins/httpd.conf
-upnp.$(PLUGINEXT): ../../plugins/upnp.conf
-
-../../plugins/%.conf: %.txt
- cp -r $< $@
-
-../../plugins/gui.conf: gui.txt
-../../plugins/httpd.conf: httpd.txt
-../../plugins/upnp.conf: upnp.txt
-
-depend:
- makedepend -fGNUmakefile -o.$(PLUGINEXT) -Y. -Y../common *.c
-clean:
- rm -rf $(PLUGINS)
-
-# 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)
+
+OBJECTS = sample.dll sig.dll pid.dll gui.dll upnp.dll httpd.dll
+
+ifdef CYGWIN
+ PLUGINEXT = dll
+else
+ PLUGINEXT = so
+endif
+
+PLUGINS = $(OBJECTS:%.dll=%.$(PLUGINEXT))
+COMMON_H = ../common/plugin.h
+
+txt sql all: $(PLUGINS)
+
+%.$(PLUGINEXT): %.c
+ $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $<
+ @touch $@
+
+httpd.$(PLUGINEXT): httpd.c
+ $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
+ ../common/obj/minimalloc.o ../common/obj/db.o ../common/obj/showmsg.o \
+ ../common/obj/utils.o ../common/obj/ers.o
+ @touch $@
+
+sig.$(PLUGINEXT): sig.c
+ $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
+ ../common/obj/showmsg.o ../common/obj/utils.o \
+ ../common/obj/minimalloc.o
+ @touch $@
+
+gui.$(PLUGINEXT): ../../plugins/gui.conf
+httpd.$(PLUGINEXT): ../../plugins/httpd.conf
+upnp.$(PLUGINEXT): ../../plugins/upnp.conf
+
+../../plugins/%.conf: %.txt
+ cp -r $< $@
+
+../../plugins/gui.conf: gui.txt
+../../plugins/httpd.conf: httpd.txt
+../../plugins/upnp.conf: upnp.txt
+
+depend:
+ makedepend -fGNUmakefile -o.$(PLUGINEXT) -Y. -Y../common *.c
+clean:
+ rm -rf $(PLUGINS)
+
+# 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)