76 lines
2.3 KiB
Plaintext
76 lines
2.3 KiB
Plaintext
#
|
|
# This file is intended for platform-specific things ONLY. DO NOT put
|
|
# stuff that applies to all platforms in here!
|
|
#
|
|
AR = ar crus
|
|
CC = cc
|
|
CPP = c++
|
|
CXX = cc
|
|
CS = mcs
|
|
INCDIR = $(subst i",-I",$(incdir))
|
|
PFLAGS = -D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX386
|
|
CFLAGS = -c -fPIC -DPIC $(XTRA_CFLAGS)
|
|
CXXFLAGS = -c -fPIC -DPIC $(XTRA_CFLAGS)
|
|
|
|
module = $(subst $(fs),$(bs),$(MODULE))
|
|
|
|
ifeq ($(module),cslib)
|
|
CFLAGS = /target:"library" -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),cscommonlib)
|
|
CFLAGS = /target:"library" /r:Mono.Posix.dll
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),pollib)
|
|
CFLAGS = /target:"library"
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),kwwrap)
|
|
CFLAGS = /target:"library"
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),gkwrap)
|
|
CFLAGS = /target:"library" -pkg:gtk-sharp
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),ffwrap)
|
|
CFLAGS = /target:"library"
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),adlib)
|
|
CFLAGS = /target:"library" -pkg:gtk-sharp -lib:"$(CSLIBDIR)" -lib:../c_adlib/ad_gk/ -lib:../c_adlib/ad_kw/ -lib:../c_adlib/ad_ff/ /r:Novell.CASA.DataEngines.GnomeKeyring.dll /r:Novell.CASA.DataEngines.KWallet.dll /r:Novell.CASA.DataEngines.FireFox.dll /r:Novell.CASA.CASAPolicy.dll /r:Novell.CASA.miCASAWrapper.dll
|
|
OFILE = -out:"$(CSLIBDIR)$@"dll
|
|
EXT = dll
|
|
endif
|
|
|
|
ifeq ($(module),csssd)
|
|
CFLAGS = -lib:../c_micasad/test/dependencies/ /r:Mono.Posix.dll /r:nunit.core.dll /r:nunit.framework.dll /r:nunit.extensions.dll /r:nunit.util.dll /r:nunit.mocks.dll /r:nunit.mocks.dll -lib:"$(CSLIBDIR)" /r:Novell.CASA.DataEngines.GnomeKeyring.dll /r:Novell.CASA.Common.dll
|
|
OFILE = -out:"$(CSBINDIR)$@"exe
|
|
EXT = bin
|
|
endif
|
|
|
|
ifeq ($(module),casamanager)
|
|
CFLAGS = -lib:../c_micasad/test/dependencies/ -lib:"$(CSLIBDIR)" /r:$(CSLIBDIR)Novell.CASA.miCASAWrapper.dll /r:Novell.CASA.A-D.dll /r:Novell.CASA.CASAPolicy.dll -pkg:gtk-sharp -pkg:glade-sharp /r:Novell.CASA.Common.dll
|
|
OFILE = -out:"$(CSBINDIR)$@"exe
|
|
EXT = bin
|
|
endif
|
|
|
|
ifeq ($(module),trayapp)
|
|
CFLAGS = -lib:../c_micasad/test/dependencies/ -pkg:gtk-sharp -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll -pkg:glade-sharp /r:Novell.CASA.miCASAWrapper.dll
|
|
OFILE = -out:"$(CSBINDIR)$@"exe
|
|
EXT = bin
|
|
endif
|