75 lines
2.1 KiB
Smalltalk
75 lines
2.1 KiB
Smalltalk
/***********************************************************************
|
|
*
|
|
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; version 2.1
|
|
* of the License.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, Novell, Inc.
|
|
*
|
|
* To contact Novell about this file by physical or electronic mail,
|
|
* you may find current contact information at www.novell.com.
|
|
*
|
|
***********************************************************************/
|
|
|
|
ifeq ($(PLAT),lux)
|
|
#include link$(xtra).$(PLAT)
|
|
endif
|
|
|
|
########## all
|
|
all : $(CS_NAME)
|
|
ifeq ($(PLAT),w32)
|
|
$(CD) $(BINDIR) && $(RM) $(OBJS) *.pdb
|
|
endif
|
|
@echo
|
|
|
|
########## install
|
|
install :
|
|
@echo module Installing $< ...
|
|
|
|
## The binaries
|
|
ifeq ($(PLAT),w32)
|
|
ifeq ($(XTRA),md)
|
|
$(CD) $(INSTALLDIR)sdk/w32 && $(RM) $(CS_NAME)
|
|
$(CP) $(BINDIR)$(CS_NAME) $(INSTALLDIR)sdk/w32
|
|
$(CP) $(SSOINC)nsscs_sdk.h $(INSTALLDIR)sdk/w32
|
|
endif
|
|
endif
|
|
|
|
## Linux final libs
|
|
ifeq ($(PLAT),lux)
|
|
# $(CD) $(INSTALLDIR)install/lux/opt/novell/miCASA/bin && $(RM) *
|
|
# $(CD) $(INSTALLDIR)install/lux/opt/novell/miCASA/lib && $(RM) *
|
|
# $(CD) $(INSTALLDIR)install/lux/opt/novell/CASA_devel/inc && $(RM) *
|
|
|
|
ifeq ($(EXT), bin)
|
|
$(CP) $(BINDIR)$(CS_NAME)* $(INSTALLDIR)install/lux/opt/novell/CASA/bin
|
|
else
|
|
$(CP) $(CSLIBDIR)$(CS_NAME)* $(INSTALLDIR)install/lux/opt/novell/CASA/lib
|
|
|
|
endif
|
|
endif
|
|
|
|
@echo
|
|
|
|
########## clean
|
|
clean :
|
|
@echo Cleaning ...
|
|
|
|
ifeq ($(PLAT),w32)
|
|
$(RM) *.err *.bak *.i *.res $(BINDIR)$(CS_NAME)
|
|
endif
|
|
|
|
ifeq ($(PLAT),lux)
|
|
$(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(LIBDIR)$(TARGET)* $(BINDIR)$(TARGET)*
|
|
endif
|
|
|