4 # ***** BEGIN GPL LICENSE BLOCK *****
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software Foundation,
18 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 # The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
21 # All rights reserved.
23 # The Original Code is: all of this file.
25 # Contributor(s): Hans Lambermont
27 # ***** END GPL LICENSE BLOCK *****
28 # ghost main makefile.
31 include nan_definitions.mk
34 SOURCEDIR = intern/$(LIBNAME)
35 DIR = $(OCGDIR)/$(SOURCEDIR)
39 include nan_subdirs.mk
42 @[ -d $(NAN_GHOST) ] || mkdir $(NAN_GHOST)
43 @[ -d $(NAN_GHOST)/include ] || mkdir $(NAN_GHOST)/include
44 @[ -d $(NAN_GHOST)/lib ] || mkdir $(NAN_GHOST)/lib
45 @[ -d $(NAN_GHOST)/lib/debug ] || mkdir $(NAN_GHOST)/lib/debug
46 @../tools/cpifdiff.sh $(DIR)/libghost.a $(NAN_GHOST)/lib/
47 @../tools/cpifdiff.sh $(DIR)/debug/libghost.a $(NAN_GHOST)/lib/debug/
49 ranlib $(NAN_GHOST)/lib/libghost.a
50 ranlib $(NAN_GHOST)/lib/debug/libghost.a
52 @../tools/cpifdiff.sh *.h $(NAN_GHOST)/include/