Changeset 148 for branches/client-1.5/src
- Timestamp:
- Aug 19, 2008, 4:34:42 PM (17 years ago)
- Location:
- branches/client-1.5/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-1.5/src/Config.km_
r147 r148 4 4 # 5 5 VERSION = 1.4.9 6 BUILD = Alpha_16 BUILD = alpha1 7 7 SAMBA = ../../samba-3.0 8 8 TOOLKIT = f:/dev/toolkit452 -
branches/client-1.5/src/Makefile.kmk
r147 r148 42 42 ndpsmb_LIBPATH = $(SAMBA)/source/bin 43 43 44 ndpsmb_CLEAN = rc/description.rc $(PATH_BIN)/ndpsmb.hlp 44 ndpsmb_CLEAN = rc/description.rc $(PATH_BIN)/ndpsmb.dll 45 45 46 46 47 #build other files (e.g. help) 47 OTHERS = $(PATH_BIN)/ndpsmb.hlp 48 OTHERS = $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt 49 OTHER_CLEAN = $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt 50 51 52 # install some more files 53 INSTALLS = ndpsmb-docs 54 ndpsmb-docs_INST = bin/ 55 ndpsmb-docs_SOURCES = $(SAMBA)/COPYING=>COPYING ndpsmb.ndp instpl.cmd 56 OTHER_CLEAN += $(PATH_BIN)/COPYING $(PATH_BIN)/ndpsmb.ndp $(PATH_BIN)/instpl.cmd 57 58 59 # packaging stuffs 60 ifeq ($(BUILD_TYPE),debug) 61 PACKAGE_NAME = ndpsmb-$(subst .,_,$(VERSION))-$(BUILD)-debug.zip 62 else 63 PACKAGE_NAME = ndpsmb-$(subst .,_,$(VERSION))-$(BUILD).zip 64 endif 65 PACKING += $(PATH_ROOT)/dist/$(PACKAGE_NAME) 66 OTHER_CLEAN += $(PATH_ROOT)/dist/$(PACKAGE_NAME) 48 67 49 68 # now include standard code 50 69 include $(PATH_KBUILD)/rules.kMk 51 70 52 # 71 # here follows standard gnu make inference rules 72 53 73 # add new dependancy on build level info 54 #55 74 rc/rc.rc : rc/description.rc 56 75 76 # update bldlevel info 57 77 rc/description.rc: config.kmk 58 78 @echo Writing build level informations … … 60 80 @BldLevelInf0.cmd $(VERSION) $(BUILD) 61 81 82 # compile help file 62 83 $(PATH_BIN)/ndpsmb.hlp: ./rc/rc.ipf ./rc/rc.h ./H/hmacros.h config.kmk 63 84 -gcc -E -I./h -I./rc -x c ./rc/rc.ipf > rc.i … … 66 87 rm rc.i 67 88 89 # substitute macros in docs 90 $(PATH_BIN)/readme.txt: Config.kmk readme.txt 91 $(QUIET)$(SED) "s;_VERSION_;$(VERSION);g" readme.txt \ 92 | $(SED) "s;_BUILD_;$(BUILD);g" \ 93 > $(PATH_BIN)/readme.txt 94 95 # final: zip all files! 96 $(PATH_ROOT)/dist/$(PACKAGE_NAME): \ 97 $(PATH_BIN)/ndpsmb.dll \ 98 $(PATH_BIN)/ndpsmb.hlp \ 99 $(PATH_BIN)/readme.txt 100 $(QUIET)$(MKDIR) -p $(PATH_ROOT)/dist 101 $(QUIET)$(RM) -f $@ 102 $(QUIET)zip -9 -j $@ $(PATH_BIN)/* 103 -
branches/client-1.5/src/readme.txt
r5 r148 1 OS/2 SAMBA client 1 OS/2 SAMBA client 2 Version _VERSION_ 3 Build _BUILD_ 2 4 _________________ 3 5
Note:
See TracChangeset
for help on using the changeset viewer.