summaryrefslogtreecommitdiff
path: root/src/mods/html
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
commit658bfd183905576ed5f4dbe57a2ee82711b6ac93 (patch)
tree08cf25d1a1fb09b643a65c5b237c52bce791f307 /src/mods/html
parent42b79aa5c591dde88e78922a519802f948d9ea60 (diff)
tagging ychat-0.7.9.0ychat-0.7.9.0
Diffstat (limited to 'src/mods/html')
-rw-r--r--src/mods/html/CVS/Entries9
-rw-r--r--src/mods/html/CVS/Repository1
-rw-r--r--src/mods/html/CVS/Root1
-rw-r--r--src/mods/html/Makefile25
-rwxr-xr-xsrc/mods/html/Makefile.in4
5 files changed, 38 insertions, 2 deletions
diff --git a/src/mods/html/CVS/Entries b/src/mods/html/CVS/Entries
new file mode 100644
index 0000000..c3b5155
--- /dev/null
+++ b/src/mods/html/CVS/Entries
@@ -0,0 +1,9 @@
+/Makefile/1.27/Sun Mar 6 20:44:47 2005//
+/Makefile.in/1.9/Sun Mar 6 20:44:47 2005//
+/yc_admin.cpp/1.8/Fri Feb 25 00:52:24 2005//
+/yc_colors.cpp/1.10/Fri Feb 25 00:52:24 2005//
+/yc_help.cpp/1.13/Fri Feb 25 00:52:24 2005//
+/yc_loggedin.cpp/1.4/Fri Feb 25 00:52:24 2005//
+/yc_options.cpp/1.10/Fri Feb 25 00:52:24 2005//
+/yc_register.cpp/1.13/Fri Feb 25 00:52:24 2005//
+D
diff --git a/src/mods/html/CVS/Repository b/src/mods/html/CVS/Repository
new file mode 100644
index 0000000..bb3b6b7
--- /dev/null
+++ b/src/mods/html/CVS/Repository
@@ -0,0 +1 @@
+ychat/src/mods/html
diff --git a/src/mods/html/CVS/Root b/src/mods/html/CVS/Root
new file mode 100644
index 0000000..745de68
--- /dev/null
+++ b/src/mods/html/CVS/Root
@@ -0,0 +1 @@
+:pserver:anonymous@buetow.org:/usr/home/cvs/cvsroot
diff --git a/src/mods/html/Makefile b/src/mods/html/Makefile
new file mode 100644
index 0000000..7c3b970
--- /dev/null
+++ b/src/mods/html/Makefile
@@ -0,0 +1,25 @@
+SRCS=yc_admin.cpp yc_colors.cpp yc_help.cpp yc_loggedin.cpp yc_options.cpp yc_register.cpp
+MODS=$(addprefix ../../../mods/html/, $(SRCS:.cpp=.so))
+CC=g++
+INCLUDES=`cat ../../includes.add`
+CFLAGS=`cat ../cflags.add`
+all: mods
+$(MODS):
+ @echo -n "Compiling html module `basename $@ | sed s/\.so// | sed s/yc_//` "
+ @if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
+ @$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/`
+ @du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g"
+infotext:
+ @echo Compiling html modules
+mods: infotext $(MODS)
+ @echo "Num of html modules: "
+ @ls ../../../mods/html/*.so | wc -l
+clean:
+ @echo Cleaning html modules
+ @if test -d ../../../mods/html; then rm -Rf ../../../mods/html; fi
+../../../mods/html/yc_admin.so: yc_admin.cpp
+../../../mods/html/yc_colors.so: yc_colors.cpp
+../../../mods/html/yc_help.so: yc_help.cpp
+../../../mods/html/yc_loggedin.so: yc_loggedin.cpp
+../../../mods/html/yc_options.so: yc_options.cpp
+../../../mods/html/yc_register.so: yc_register.cpp
diff --git a/src/mods/html/Makefile.in b/src/mods/html/Makefile.in
index 4b7c728..b65c9e6 100755
--- a/src/mods/html/Makefile.in
+++ b/src/mods/html/Makefile.in
@@ -4,12 +4,12 @@ INCLUDES=`cat ../../includes.add`
CFLAGS=`cat ../cflags.add`
all: mods
$(MODS):
+ @echo -n "Compiling html module `basename $@ | sed s/\.so// | sed s/yc_//` "
@if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
@$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/`
- @echo -n "HTML module `basename $@ | sed s/\.so// | sed s/yc_//` "
@du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g"
infotext:
- @echo Compiling HTML modules
+ @echo Compiling html modules
mods: infotext $(MODS)
@echo "Num of html modules: "
@ls ../../../mods/html/*.so | wc -l