summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-01-23 20:13:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-01-23 20:13:53 +0000
commit9200b97f8534d431f9a544109d06d3c8c5b769b4 (patch)
treeec3fab8555f76011d29a652a1b6a9dd1da9b9874 /src/modules
parent03f3994751e63b3b5a167490587eb513efe406ed (diff)
Auto created by ./configure tests
Added makefies git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@139 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/Makefile.FreeBSD17
-rw-r--r--src/modules/Makefile.Linux17
2 files changed, 34 insertions, 0 deletions
diff --git a/src/modules/Makefile.FreeBSD b/src/modules/Makefile.FreeBSD
new file mode 100644
index 000000000..af59f2b72
--- /dev/null
+++ b/src/modules/Makefile.FreeBSD
@@ -0,0 +1,17 @@
+CXXFLAGS = -I../../include ${FLAGS}
+
+MODS = `/bin/ls *.cpp | sed 's/.cpp//'`
+MODULES = $(MODS)
+
+MODS2 = `/bin/ls *.cpp`
+MODULES2 = $(MODS2:.cpp=.so)
+
+main:
+ rm -f .make ; \
+ for i in $(MODULES) ; do \
+ echo "$(CXX) $(CXXFLAGS) -shared -o $$i `echo $$i | sed 's/.so/.cpp/'`">>.make ; \
+ done ; chmod u+x .make ; ./.make
+
+
+all: main
+
diff --git a/src/modules/Makefile.Linux b/src/modules/Makefile.Linux
new file mode 100644
index 000000000..af59f2b72
--- /dev/null
+++ b/src/modules/Makefile.Linux
@@ -0,0 +1,17 @@
+CXXFLAGS = -I../../include ${FLAGS}
+
+MODS = `/bin/ls *.cpp | sed 's/.cpp//'`
+MODULES = $(MODS)
+
+MODS2 = `/bin/ls *.cpp`
+MODULES2 = $(MODS2:.cpp=.so)
+
+main:
+ rm -f .make ; \
+ for i in $(MODULES) ; do \
+ echo "$(CXX) $(CXXFLAGS) -shared -o $$i `echo $$i | sed 's/.so/.cpp/'`">>.make ; \
+ done ; chmod u+x .make ; ./.make
+
+
+all: main
+