mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Auto created by ./configure tests
Added makefies git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@139 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
03f3994751
commit
9200b97f85
20
src/Makefile.FreeBSD
Normal file
20
src/Makefile.FreeBSD
Normal file
@ -0,0 +1,20 @@
|
||||
# Insp Makefile :p
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
CC = im a cheezeball
|
||||
|
||||
SRC_1 = inspircd.cpp inspircd_util.cpp inspircd_io.cpp
|
||||
SRC_2 = dynamic.cpp users.cpp modules.cpp wildcard.cpp
|
||||
|
||||
SRC = $(SRC_1) $(SRC_2)
|
||||
OBJS = $(SRC:.cpp=.o)
|
||||
|
||||
CXXFLAGS = -I$../../include ${FLAGS}
|
||||
|
||||
all: inspircd
|
||||
|
||||
inspircd: $(OBJS)
|
||||
$(CXX) -rdynamic $^ -o $@ $(LDLIBS)
|
||||
|
20
src/Makefile.Linux
Normal file
20
src/Makefile.Linux
Normal file
@ -0,0 +1,20 @@
|
||||
# Insp Makefile :p
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
CC = im a cheezeball
|
||||
|
||||
SRC_1 = inspircd.cpp inspircd_util.cpp inspircd_io.cpp
|
||||
SRC_2 = dynamic.cpp users.cpp modules.cpp wildcard.cpp
|
||||
|
||||
SRC = $(SRC_1) $(SRC_2)
|
||||
OBJS = $(SRC:.cpp=.o)
|
||||
|
||||
CXXFLAGS = -I$../../include ${FLAGS}
|
||||
|
||||
all: inspircd
|
||||
|
||||
inspircd: $(OBJS)
|
||||
$(CXX) -rdynamic $^ -o $@ $(LDLIBS)
|
||||
|
17
src/modules/Makefile.FreeBSD
Normal file
17
src/modules/Makefile.FreeBSD
Normal file
@ -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
|
||||
|
17
src/modules/Makefile.Linux
Normal file
17
src/modules/Makefile.Linux
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user