PDOS

[uia] / trunk / uia / yam / Makefile.include  

View of /trunk/uia/yam/Makefile.include

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3184 - (download) (annotate)
Fri Mar 7 19:09:05 2008 UTC (20 months, 2 weeks ago) by jastr
File size: 1861 byte(s)
merge -r 3156:3183 branches/leaks -> trunk

should be a great big no-op unless you pass extra
configure flags, or have openssl configured with engines
turned on.

#  -*-Makefile-*-
#  $Id$
# 
#  Copyright (c) 2006 Sean C. Rhea (srhea@srhea.net)
#  
#  Permission is hereby granted, free of charge, to any person
#  obtaining a copy of this software and associated documentation
#  files (the "Software"), to deal in the Software without
#  restriction, including without limitation the rights to use, copy,
#  modify, merge, publish, distribute, sublicense, and/or sell copies
#  of the Software, and to permit persons to whom the Software is
#  furnished to do so, subject to the following conditions:
#  http://tech.erdelynet.com/cygwin-sshd.html 
#  The above copyright notice and this permission notice shall be
#  included in all copies or substantial portions of the Software.
#  
#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
#  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
#  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
#  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
#  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
#  DEALINGS IN THE SOFTWARE.
#

CFLAGS:=-g -W -Wall -Werror
INCLUDES=-I$(OBJDIR)/include

#OS=$(shell uname)
#ifeq ($(OS),CYGWIN_NT-5.1)
#CFLAGS:=$(CFLAGS) -mno-cygwin -DWINDOWS
#INCLUDES= -I/cygdrive/c/Boost/include/boost-1_33_1
#LIBS:=-lboost_thread-mgw-mt -lmingw32 -lws2_32 -lkernel32
#LDFLAGS:=-mno-cygwin -L/cygdrive/c/Boost/lib
#else
#CFLAGS:=$(CFLAGS)
#INCLUDES:=-I/usr/local/include/boost-1_33_1
#LIBS:=-lboost_thread
#LDFLAGS:=-L$(YAM_HOME)/core -L$(YAM_HOME)/sunrpc
#endif
#ifeq ($(OS),Linux)
#CFLAGS:=$(CFLAGS) -pthread
#endif

%.o: %.c
	$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES) $<

%.o: %.cpp
	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $<


Maintained by PDOS
ViewVC Help
Powered by ViewVC 1.0.3