diff options
-rw-r--r-- | Makefile.FreeBSD | 5 | ||||
-rw-r--r-- | Makefile.Linux | 5 | ||||
-rwxr-xr-x | configure | 12 | ||||
-rw-r--r-- | src/Makefile.FreeBSD | 4 | ||||
-rw-r--r-- | src/Makefile.Linux | 4 | ||||
-rw-r--r-- | src/modules/Makefile.FreeBSD | 5 | ||||
-rw-r--r-- | src/modules/Makefile.Linux | 5 |
7 files changed, 33 insertions, 7 deletions
diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index 51c6f3f3e..abd9a2492 100644 --- a/Makefile.FreeBSD +++ b/Makefile.FreeBSD @@ -1,7 +1,8 @@ # Insp Main Makefile # -# -# +# (C) ChatSpike development team +# Makefile by <Craig@ChatSpike.net> +# Small modifications by <brain@ChatSpike.net> # CC = g++ diff --git a/Makefile.Linux b/Makefile.Linux index 04484d56a..df6d2008e 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -1,7 +1,8 @@ # Insp Main Makefile # -# -# +# (C) ChatSpike development team +# Makefile by <Craig@ChatSpike.net> +# Small modifications by <brain@ChatSpike.net> # CC = g++ @@ -69,7 +69,7 @@ rm -rf fdscount if [ "$PERL" = "" ] ; then echo "You require perl to run this program." - exit; + exit fi @@ -275,6 +275,16 @@ echo "#define MAXBUF 514">>include/inspircd_config.h touch include/inspircd_config.h echo -e "Writing \033[1;37m$OSNAME\033[0;37m makefile" +echo "" + +if exists "Makefile.$OSNAME" ; then + echo "Operating system supported." +else + echo "Your operating system, \"$OSNAME\", is not supported!" + exit +fi + +echo "" cp -f Makefile.$OSNAME Makefile cp -f src/Makefile.$OSNAME src/Makefile diff --git a/src/Makefile.FreeBSD b/src/Makefile.FreeBSD index 849a0ba61..60eaaf2f3 100644 --- a/src/Makefile.FreeBSD +++ b/src/Makefile.FreeBSD @@ -1,6 +1,8 @@ # Insp Makefile :p # -# +# (C) ChatSpike development team +# Makefile by <Craig@ChatSpike.net> +# Small modifications by <brain@ChatSpike.net> # CC = im a cheezeball diff --git a/src/Makefile.Linux b/src/Makefile.Linux index 849a0ba61..60eaaf2f3 100644 --- a/src/Makefile.Linux +++ b/src/Makefile.Linux @@ -1,6 +1,8 @@ # Insp Makefile :p # -# +# (C) ChatSpike development team +# Makefile by <Craig@ChatSpike.net> +# Small modifications by <brain@ChatSpike.net> # CC = im a cheezeball diff --git a/src/modules/Makefile.FreeBSD b/src/modules/Makefile.FreeBSD index 2dbb2da29..75f6f6ab2 100644 --- a/src/modules/Makefile.FreeBSD +++ b/src/modules/Makefile.FreeBSD @@ -1,3 +1,8 @@ +# (C) ChatSpike development team +# Makefile by <Craig@ChatSpike.net> +# Small modifications by <brain@ChatSpike.net> +# + CXXFLAGS = -I../../include ${FLAGS} MODS = `/bin/ls *.cpp | sed 's/.cpp//'` diff --git a/src/modules/Makefile.Linux b/src/modules/Makefile.Linux index 2dbb2da29..75f6f6ab2 100644 --- a/src/modules/Makefile.Linux +++ b/src/modules/Makefile.Linux @@ -1,3 +1,8 @@ +# (C) ChatSpike development team +# Makefile by <Craig@ChatSpike.net> +# Small modifications by <brain@ChatSpike.net> +# + CXXFLAGS = -I../../include ${FLAGS} MODS = `/bin/ls *.cpp | sed 's/.cpp//'` |