]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
renamed makefile.bsd to BSDmakefile so that pmake will automatically find it (no...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 29 Mar 2006 10:37:23 +0000 (10:37 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 29 Mar 2006 10:37:23 +0000 (10:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6206 d7cf8633-e32d-0410-b094-e92efae38249

BSDmakefile [new file with mode: 0644]
makefile.bsd [deleted file]

diff --git a/BSDmakefile b/BSDmakefile
new file mode 100644 (file)
index 0000000..86c5d28
--- /dev/null
@@ -0,0 +1,85 @@
+#####  DP_MAKE_TARGET autodetection and arch specific variables #####
+
+.ifndef DP_MAKE_TARGET
+
+DP_MAKE_TARGET=bsd
+
+.endif
+DP_ARCH != uname
+
+
+# Command used to delete files
+CMD_RM=$(CMD_UNIXRM)
+
+UNIX_X11LIBPATH=-L/usr/X11R6/lib
+
+# BSD configuration
+.if $(DP_MAKE_TARGET) == "bsd"
+
+# FreeBSD uses OSS
+.if $(DP_ARCH) == "FreeBSD"
+DEFAULT_SNDAPI=OSS
+.else
+DEFAULT_SNDAPI=BSD
+.endif
+OBJ_CD=$(OBJ_BSDCD)
+
+OBJ_CL=$(OBJ_GLX)
+OBJ_ICON=
+OBJ_ICON_NEXUIZ=
+
+LDFLAGS_CL=$(LDFLAGS_BSDCL)
+LDFLAGS_SV=$(LDFLAGS_BSDSV)
+
+EXE_CL=$(EXE_UNIXCL)
+EXE_SV=$(EXE_UNIXSV)
+EXE_SDL=$(EXE_UNIXSDL)
+EXE_CLNEXUIZ=$(EXE_UNIXCLNEXUIZ)
+EXE_SVNEXUIZ=$(EXE_UNIXSVNEXUIZ)
+EXE_SDLNEXUIZ=$(EXE_UNIXSDLNEXUIZ)
+
+.endif
+
+
+##### Sound configuration #####
+
+.ifndef DP_SOUND_API
+DP_SOUND_API=$(DEFAULT_SNDAPI)
+.endif
+
+# NULL: no sound
+.if $(DP_SOUND_API) == "NULL"
+OBJ_SOUND=$(OBJ_SND_NULL)
+LIB_SOUND=$(LIB_SND_NULL)
+.endif
+
+# OSS: Open Sound System
+.if $(DP_SOUND_API) == "OSS"
+OBJ_SOUND=$(OBJ_SND_OSS)
+LIB_SOUND=$(LIB_SND_OSS)
+.endif
+
+# BSD: BSD / Sun audio API
+.if $(DP_SOUND_API) == "BSD"
+OBJ_SOUND=$(OBJ_SND_BSD)
+LIB_SOUND=$(LIB_SND_BSD)
+.endif
+
+
+##### BSD Make specific definitions #####
+
+MAKE:=$(MAKE) -f makefile.bsd
+
+DO_LD=$(CC) -o $@ $> $(LDFLAGS)
+
+
+##### Definitions shared by all makefiles #####
+.include "makefile.inc"
+
+
+##### Dependency files #####
+
+DEPEND_FILES != ls *.d
+.for i in $(DEPEND_FILES)
+.      include "$i"
+.endfor
diff --git a/makefile.bsd b/makefile.bsd
deleted file mode 100644 (file)
index 86c5d28..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-#####  DP_MAKE_TARGET autodetection and arch specific variables #####
-
-.ifndef DP_MAKE_TARGET
-
-DP_MAKE_TARGET=bsd
-
-.endif
-DP_ARCH != uname
-
-
-# Command used to delete files
-CMD_RM=$(CMD_UNIXRM)
-
-UNIX_X11LIBPATH=-L/usr/X11R6/lib
-
-# BSD configuration
-.if $(DP_MAKE_TARGET) == "bsd"
-
-# FreeBSD uses OSS
-.if $(DP_ARCH) == "FreeBSD"
-DEFAULT_SNDAPI=OSS
-.else
-DEFAULT_SNDAPI=BSD
-.endif
-OBJ_CD=$(OBJ_BSDCD)
-
-OBJ_CL=$(OBJ_GLX)
-OBJ_ICON=
-OBJ_ICON_NEXUIZ=
-
-LDFLAGS_CL=$(LDFLAGS_BSDCL)
-LDFLAGS_SV=$(LDFLAGS_BSDSV)
-
-EXE_CL=$(EXE_UNIXCL)
-EXE_SV=$(EXE_UNIXSV)
-EXE_SDL=$(EXE_UNIXSDL)
-EXE_CLNEXUIZ=$(EXE_UNIXCLNEXUIZ)
-EXE_SVNEXUIZ=$(EXE_UNIXSVNEXUIZ)
-EXE_SDLNEXUIZ=$(EXE_UNIXSDLNEXUIZ)
-
-.endif
-
-
-##### Sound configuration #####
-
-.ifndef DP_SOUND_API
-DP_SOUND_API=$(DEFAULT_SNDAPI)
-.endif
-
-# NULL: no sound
-.if $(DP_SOUND_API) == "NULL"
-OBJ_SOUND=$(OBJ_SND_NULL)
-LIB_SOUND=$(LIB_SND_NULL)
-.endif
-
-# OSS: Open Sound System
-.if $(DP_SOUND_API) == "OSS"
-OBJ_SOUND=$(OBJ_SND_OSS)
-LIB_SOUND=$(LIB_SND_OSS)
-.endif
-
-# BSD: BSD / Sun audio API
-.if $(DP_SOUND_API) == "BSD"
-OBJ_SOUND=$(OBJ_SND_BSD)
-LIB_SOUND=$(LIB_SND_BSD)
-.endif
-
-
-##### BSD Make specific definitions #####
-
-MAKE:=$(MAKE) -f makefile.bsd
-
-DO_LD=$(CC) -o $@ $> $(LDFLAGS)
-
-
-##### Definitions shared by all makefiles #####
-.include "makefile.inc"
-
-
-##### Dependency files #####
-
-DEPEND_FILES != ls *.d
-.for i in $(DEPEND_FILES)
-.      include "$i"
-.endfor