1#/* FILE: wccpp.nt 2# * 3# * Copyright (c) 2008 4# * TouchNet Information Systems, Inc. 5# * All Rights Reserved 6# * 7# * This program is an unpublished copyright work of TouchNet Information 8# * Systems, Inc. of Lenexa, KS. The program, all information disclosed 9# * and the matter shown and described hereon or herewith are confidential 10# * and proprietary to TouchNet Information Systems, Inc. 11# * 12# ****************************************************************************** 13# * 14# * $LastChangedBy: kientzle $ 15# * $Locker: $ 16# * $ProjectName: $ 17# * $ProjectRevision: $ 18# * $LastChangedRevision: 1827 $ 19# * $LastChangedDate: 2010-01-16 16:21:36 -0800 (Sat, 16 Jan 2010) $ 20# * $State: $ 21# * $RCSfile: $ 22# * $Source: $ 23# * 24# * Change Log: 25# * $Log: $ 26# * 27# */ 28 29.EXTENSIONS: 30.EXTENSIONS: .obn .cpp .c 31 32ZLIB_INCL=\3rdParty\ZLib\Current\Include 33 34!ifdef DEBUG 35DEST_PATH=.\lib\wccpp\debug 36OBJ_DIR=obj\debug 37EXT_COMPILE_FLAG=-d2 -DLIBARCHIVE_STATIC=1 38!else 39DEST_PATH=.\lib\wccpp 40OBJ_DIR=obj 41EXT_COMPILE_FLAG=-DLIBARCHIVE_STATIC=1 42!endif 43 44# ----- NT compiler options ----------------------------------------------- 45NT_CPP=wpp386 46NT_C=wcc386 47NT_LIBRARIAN=wlib 48 49 50### 51INCLUDE_OPTS=/I.;$(%watcom)\h;$(%watcom)\h\nt;$(ZLIB_INCL); 52NT_CPP_OPTS=-ei -wx -xs -xss -xst -od -of+ -zp1 -5 -bt=nt -bm $(EXT_COMPILE_FLAG) $(INCLUDE_OPTS) -DWIN32_LEAN_AND_MEAN 53NT_C_OPTS=-ei -wx -od -of+ -zp1 -5 -bt=nt -bm $(EXT_COMPILE_FLAG) $(INCLUDE_OPTS) -DWIN32_LEAN_AND_MEAN 54NT_LIB_OPTS= 55 56.cpp{$(OBJ_DIR)}.obn: 57 -md $(OBJ_DIR) > nul 2>nul 58 $(NT_CPP) $(NT_CPP_OPTS) -zp1 -fo=$*.obn $< 59 60.c{$(OBJ_DIR)}.obn: 61 -md $(OBJ_DIR) > nul 2>nul 62 $(NT_C) $(NT_C_OPTS) -zp1 -fo=$*.obn $< 63 64OBJS = & 65 $(OBJ_DIR)\archive_check_magic.obn $(OBJ_DIR)\archive_entry.obn & 66 $(OBJ_DIR)\archive_entry_copy_stat.obn $(OBJ_DIR)\archive_entry_link_resolver.obn & 67 $(OBJ_DIR)\archive_entry_stat.obn $(OBJ_DIR)\archive_entry_strmode.obn & 68 $(OBJ_DIR)\archive_read.obn $(OBJ_DIR)\archive_read_data_into_fd.obn & 69 $(OBJ_DIR)\archive_read_extract.obn $(OBJ_DIR)\archive_read_open_fd.obn & 70 $(OBJ_DIR)\archive_read_open_file.obn $(OBJ_DIR)\archive_read_open_filename.obn & 71 $(OBJ_DIR)\archive_read_open_memory.obn $(OBJ_DIR)\archive_read_support_compression_all.obn & 72 $(OBJ_DIR)\archive_read_support_compression_bzip2.obn & 73 $(OBJ_DIR)\archive_read_support_compression_compress.obn & 74 $(OBJ_DIR)\archive_read_support_compression_gzip.obn & 75 $(OBJ_DIR)\archive_read_support_compression_none.obn & 76 $(OBJ_DIR)\archive_read_support_compression_program.obn & 77 $(OBJ_DIR)\archive_read_support_format_all.obn & 78 $(OBJ_DIR)\archive_read_support_format_ar.obn & 79 $(OBJ_DIR)\archive_read_support_format_cpio.obn & 80 $(OBJ_DIR)\archive_read_support_format_empty.obn & 81 $(OBJ_DIR)\archive_read_support_format_iso9660.obn & 82 $(OBJ_DIR)\archive_read_support_format_mtree.obn & 83 $(OBJ_DIR)\archive_read_support_format_tar.obn & 84 $(OBJ_DIR)\archive_read_support_format_zip.obn & 85 $(OBJ_DIR)\archive_string.obn $(OBJ_DIR)\archive_string_sprintf.obn & 86 $(OBJ_DIR)\archive_util.obn $(OBJ_DIR)\archive_virtual.obn & 87 $(OBJ_DIR)\archive_write.obn $(OBJ_DIR)\archive_write_disk.obn & 88 $(OBJ_DIR)\archive_write_disk_set_standard_lookup.obn & 89 $(OBJ_DIR)\archive_write_open_fd.obn $(OBJ_DIR)\archive_write_open_file.obn & 90 $(OBJ_DIR)\archive_write_open_filename.obn $(OBJ_DIR)\archive_write_open_memory.obn & 91 $(OBJ_DIR)\archive_write_set_compression_bzip2.obn $(OBJ_DIR)\archive_write_set_compression_compress.obn & 92 $(OBJ_DIR)\archive_write_set_compression_gzip.obn $(OBJ_DIR)\archive_write_set_compression_none.obn & 93 $(OBJ_DIR)\archive_write_set_compression_program.obn $(OBJ_DIR)\archive_write_set_format.obn & 94 $(OBJ_DIR)\archive_write_set_format_ar.obn $(OBJ_DIR)\archive_write_set_format_by_name.obn & 95 $(OBJ_DIR)\archive_write_set_format_cpio.obn $(OBJ_DIR)\archive_write_set_format_cpio_newc.obn & 96 $(OBJ_DIR)\archive_write_set_format_pax.obn $(OBJ_DIR)\archive_write_set_format_shar.obn & 97 $(OBJ_DIR)\archive_write_set_format_ustar.obn $(OBJ_DIR)\filter_fork.obn & 98 $(OBJ_DIR)\libarchive-nonposix.obn 99 100$(DEST_PATH)\LibArchive.lib :: $(OBJS) $(DEST_PATH) 101 102$(DEST_PATH)\LibArchive.lib :: 103 -md $(DEST_PATH) > nul 2>nul 104 $(NT_LIBRARIAN) $@ -+ $(OBJS) 105 106$(DEST_PATH): 107 -md $(DEST_PATH) > nul 2>nul 108