Find correct system includes and libs on FreeBSD.

This commit is contained in:
Ulrich Wilkens
2012-08-19 02:32:18 +02:00
committed by Jon Trulson
parent 006a00ed4a
commit 3bbcda35b9
6 changed files with 11 additions and 8 deletions

View File

@@ -120,16 +120,19 @@ SYS_LIBRARIES = -ls
SYS_LIBRARIES = -lm -lXdmcp
#endif
#ifdef LinuxArchitecture
#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture)
SYS_LIBRARIES = -lm -lcrypt
/* On Linux, just use the system provided Xau and Xdmcp*/
/* just use the system provided Xau and Xdmcp*/
DEPXAUTHLIB =
DEPXDMCPLIB =
#endif
/* Add in freetype header locations, required for modern Motif libs */
#ifdef LinuxArchitecture
INCLUDES = -I/usr/include/freetype2
#endif
#ifdef OpenBSDArchitecture
#if defined(OpenBSDArchitecture) || defined(FreeBSDArchitecture)
INCLUDES = -I$(XPROJECTROOT)/include/freetype2
#endif