Ignore:
Timestamp:
Aug 19, 2008, 4:34:42 PM (17 years ago)
Author:
Yuri Dario
Message:

Client build system packaging rules.

Location:
branches/client-1.5/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/client-1.5/src/Config.km_

    r147 r148  
    44#
    55VERSION = 1.4.9
    6 BUILD   = Alpha_1
     6BUILD   = 1
    77SAMBA   = ../../samba-3.0
    88TOOLKIT = f:/dev/toolkit452
  • branches/client-1.5/src/Makefile.kmk

    r147 r148  
    4242ndpsmb_LIBPATH = $(SAMBA)/source/bin
    4343
    44 ndpsmb_CLEAN = rc/description.rc $(PATH_BIN)/ndpsmb.hlp
     44ndpsmb_CLEAN = rc/description.rc $(PATH_BIN)/ndpsmb.dll
     45
    4546
    4647#build other files (e.g. help)
    47 OTHERS = $(PATH_BIN)/ndpsmb.hlp
     48OTHERS = $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt
     49OTHER_CLEAN = $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt
     50
     51
     52# install some more files
     53INSTALLS = ndpsmb-docs
     54ndpsmb-docs_INST = bin/
     55ndpsmb-docs_SOURCES = $(SAMBA)/COPYING=>COPYING ndpsmb.ndp instpl.cmd
     56OTHER_CLEAN += $(PATH_BIN)/COPYING $(PATH_BIN)/ndpsmb.ndp $(PATH_BIN)/instpl.cmd
     57
     58
     59# packaging stuffs
     60ifeq ($(BUILD_TYPE),debug)
     61  PACKAGE_NAME = ndpsmb-$(subst .,_,$(VERSION))-$(BUILD)-debug.zip
     62else
     63  PACKAGE_NAME = ndpsmb-$(subst .,_,$(VERSION))-$(BUILD).zip
     64endif
     65PACKING += $(PATH_ROOT)/dist/$(PACKAGE_NAME)
     66OTHER_CLEAN += $(PATH_ROOT)/dist/$(PACKAGE_NAME)
    4867
    4968# now include standard code
    5069include $(PATH_KBUILD)/rules.kMk
    5170
    52 #
     71# here follows standard gnu make inference rules
     72
    5373# add new dependancy on build level info
    54 #
    5574rc/rc.rc : rc/description.rc
    5675
     76
    5777rc/description.rc: config.kmk
    5878        @echo Writing build level informations
     
    6080        @BldLevelInf0.cmd $(VERSION) $(BUILD)
    6181
     82
    6283$(PATH_BIN)/ndpsmb.hlp: ./rc/rc.ipf ./rc/rc.h ./H/hmacros.h config.kmk
    6384        -gcc -E -I./h -I./rc -x c ./rc/rc.ipf > rc.i
     
    6687        rm rc.i
    6788
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     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_
    24                           _________________
    35
Note: See TracChangeset for help on using the changeset viewer.