54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
|
|
||
|
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
|
||
|
|