home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl502b.zip / OS2 / DB2CLI.mk < prev    next >
Text File  |  1995-10-20  |  479b  |  21 lines

  1. .IMPORT: DB2PATH
  2.  
  3. EXTLIBS = -ldb2cli.lib
  4. HFILES = $(DB2PATH)/include/sqlcli.h \
  5.      $(DB2PATH)/include/sqlcli1.h \
  6.      $(DB2PATH)/include/sqlext.h
  7.  
  8. DB2CLI.pm const.h : mkconst.pl DB2CLI.pm.in $(HFILES)
  9. [
  10.     # create gperf input and DB2CLI.pm
  11.     perl mkconst.pl $(HFILES) > tmp1
  12.     # repeat random gperf until it teminates successfully
  13.     until nice i31 gperf -a -C -k1,5-31 -p -r -S1 -t tmp1 >tmp2
  14.     do
  15.     done
  16.     mv tmp2 const.h
  17.     rm -ce tmp1
  18. ]
  19.  
  20. DB2CLI.obj : DB2CLI.c const.h
  21.