sync up changes from the build submitted to Germany

This commit is contained in:
soochoi
2006-03-28 17:36:31 +00:00
parent 0b3db62210
commit 189777ec3c
24 changed files with 83 additions and 266 deletions

View File

@@ -34,11 +34,7 @@ EXTRA_DIST = *.exp
CASAROOT = ../../..
if cpu_64
CASALIBDIR = $(CASAROOT)/lib64
else
CASALIBDIR = $(CASAROOT)/lib
endif
CASALIBDIR = $(CASAROOT)/$(LIB)
# handle Mono secondary dependencies
export MONO_PATH := $(MONO_PATH)
@@ -60,13 +56,10 @@ CFLAGS += $(INCLUDES) $(DEFINES)
LIBS =
LDFLAGS = -Wl,-Bsymbolic -shared -Wl,--version-script=pam_micasa_lux.exp \
-Wl,-rpath -Wl,/usr/lib -L/usr/lib -lpthread -lc -ldl \
-lpthread -ldl \
-lpam -Wl,-soname -Wl,pam_micasa.so
if cpu_64
OBJDIR = ./$(TARGET_CFG)/lib64
else
OBJDIR = ./$(TARGET_CFG)/lib
endif
OBJDIR = ./$(TARGET_CFG)/$(LIB)
OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o))
CUR_DIR := $(shell pwd)