INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/09 11:51:34 jsc 1.1.2.1: #109045# insert new and remove example zip file
This commit is contained in:
parent
e44eb92683
commit
482d6b133f
1 changed files with 47 additions and 0 deletions
|
@ -0,0 +1,47 @@
|
|||
# Builds the OfficeDevDesktopEnvironment native library of the Developers Guide.
|
||||
|
||||
PRJ=../../../../../..
|
||||
SETTINGS=$(PRJ)/settings
|
||||
|
||||
include $(SETTINGS)/settings.mk
|
||||
include $(SETTINGS)/std.mk
|
||||
include $(SETTINGS)/dk.mk
|
||||
|
||||
# Define non-platform/compiler specific settings
|
||||
SHL_NAME=nativeview
|
||||
SHL_LIBRARY=$(SHAREDLIB_OUT)/$(SHAREDLIB_PRE)$(SHL_NAME).$(SHAREDLIB_EXT)
|
||||
|
||||
OUT_SHL_SLO=$(OUT_SLO)/nativeview
|
||||
OUT_SHL_MISC=$(OUT_MISC)/nativeview
|
||||
|
||||
CFILES = nativeview.c
|
||||
|
||||
SLOFILES = $(patsubst %.c,$(OUT_SHL_SLO)/%.$(OBJ_EXT),$(CFILES))
|
||||
|
||||
# Targets
|
||||
.PHONY: ALL
|
||||
ALL : \
|
||||
$(SHL_LIBRARY)
|
||||
|
||||
include $(SETTINGS)/stdtarget.mk
|
||||
|
||||
$(OUT_SHL_SLO)/%.$(OBJ_EXT) : %.c
|
||||
-$(MKDIR) $(subst /,$(PS),$(@D))
|
||||
$(CC) $(CC_FLAGS) $(CC_INCLUDES) $(SDK_JAVA_INCLUDES) $(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $<
|
||||
|
||||
$(OUT_SHL_MISC)/%.def : exports.dxp
|
||||
-$(MKDIR) $(subst /,$(PS),$(@D))
|
||||
@echo EXPORTS > $(OUT_SHL_MISC)/$(SHL_NAME).def
|
||||
$(CAT) exports.dxp >> $(OUT_SHL_MISC)/$(SHL_NAME).def
|
||||
|
||||
$(SHAREDLIB_OUT)/$(SHAREDLIB_PRE)$(SHL_NAME).$(SHAREDLIB_EXT) : $(SLOFILES) $(OUT_SHL_MISC)/$(SHL_NAME).def
|
||||
-$(MKDIR) $(subst /,$(PS),$(@D))
|
||||
$(LINK) $(LIBRARY_LINK_FLAGS) /OUT:$@ /MAP:$(OUT_SHL_MISC)/$(SHL_NAME).map \
|
||||
/DEF:$(OUT_SHL_MISC)/$(SHL_NAME).def $(LINK_JAVA_LIBS) \
|
||||
$(SLOFILES) jawt.lib msvcrt.lib kernel32.lib user32.lib
|
||||
|
||||
.PHONY: clean
|
||||
clean :
|
||||
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_SHL_SLO))
|
||||
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_SHL_MISC))
|
||||
-$(DEL) $(subst /,$(PS),$(SHAREDLIB_OUT))$(PS)*$(SHL_NAME)*.*
|
Loading…
Reference in a new issue