Ignore:
Timestamp:
May 18, 2009, 11:24:04 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Extended help file (makefile, by diver)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-1.5/src/Makefile.kmk

    r181 r195  
    1414DEPTH = ..
    1515
    16 TOOL = GCC3OMF
     16ndpsmb_TOOL = GCC3OMF
     17ndpsmb_RCTOOL = OPENWATCOM
    1718
    1819DLLS = ndpsmb
     
    4546                $(SAMBA)/source/lib/talloc \
    4647                $(SAMBA)/source/librpc \
    47                 $(SAMBA)/source/tdb/include
     48                $(SAMBA)/source/tdb/include \
     49                $(GCC_INC)
    4850
    4951ndpsmb_LIBS = libsmbclient.a socket.a
     
    5456
    5557#build other files (e.g. help)
    56 OTHERS = $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt
     58OTHERS = /rc/rc.ipf $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt
    5759OTHER_CLEAN = $(PATH_BIN)/ndpsmb.hlp $(PATH_BIN)/readme.txt
    5860
     
    8890        @BldLevelInf0.cmd $(VERSION) $(BUILD)
    8991
     92# substitute macros in ipf file
     93/rc/rc.ipf: Config.kmk ./rc/rc.ipf
     94        $(QUIET)$(SED) "s;_VERSION_;$(VERSION);g" ./rc/rc.ipf \
     95                | $(SED) "s;_BUILD_;$(BUILD);g" \
     96                > rc.ipf
     97
    9098# compile help file
    91 $(PATH_BIN)/ndpsmb.hlp: ./rc/rc.ipf ./rc/rc.h ./H/hmacros.h config.kmk
    92         -gcc -E -I./h -I./rc -x c ./rc/rc.ipf > rc.i
     99$(PATH_BIN)/ndpsmb.hlp: rc.ipf ./rc/rc.h ./H/hmacros.h config.kmk
     100        -gcc -E -I./h -I./rc -x c rc.ipf > rc.i
    93101        -@mkdir $(PATH_BIN)
    94102        $(TOOLKIT)\bin\ipfc.exe rc.i $(PATH_BIN)/ndpsmb.hlp /COUNTRY=001 /CODEPAGE=850
    95103        rm rc.i
     104        rm rc.ipf
    96105
    97106# substitute macros in docs
Note: See TracChangeset for help on using the changeset viewer.