1# $Id$ 2# 3# Common makefiles part (include-file) for nltools 4 5# Use defines before including this file: 6# _OBJ object files suffix begins with point (".o", ".obj", ... ) 7# _LIB library files suffix begins with point (".a", ".lib", ... ) 8# _DLL dinamic linking library files suffix begins with point (".dll", ".so", ...) 9# LIBPREFIX library filename prefix ("lib", "", ...) 10# LIBSUFFIX library filename suffix (compiler ID, three characters, somewhere empty) 11# DLLPREFIX dinamic linking library prefix (usually empty) 12# DLLSUFFIX dinamic linking library suffix (compiler ID or empty) 13# O, B, L, H prefixes to use with names of objects, binaries, libraries and headers respectively 14 15# Module name 16LIBNAME = nltools 17 18# Version 19VERMAJOR= 1 20VERMINOR= 9 21VERPATCH= 0 22VERH = $(VERMAJOR).$(VERMINOR) 23VER = $(VERH).$(VERPATCH) 24 25# Sources directory 26_SRC_DIR= ../src/ 27# Headers directory 28H_DIR = ../h/ 29 30# Programms name 31NLDIFF = $(B)nldiff$(_EXE) 32NLCRC = $(B)nlcrc$(_EXE) 33ULC = $(B)ulc$(_EXE) 34NLUPDATE= $(B)nlupd$(_EXE) 35 36HEADERS = $(H)ccitttab.h $(H)crc16.h $(H)julian.h $(H)nldate.h $(H)nlfind.h \ 37 $(H)nlstring.h $(H)ulc.h $(H)version.h $(H)cvsdate.h 38 39# Object files: programs 40NLDIFFOBJS = $(O)nldiff$(_OBJ) $(O)crc16$(_OBJ) 41NLCRCOBJS = $(O)crc16$(_OBJ) $(O)nlcrc$(_OBJ) 42ULCOBJS = $(O)ulcsort$(_OBJ) $(O)trail$(_OBJ) $(O)ulcomp$(_OBJ) $(O)ulc$(_OBJ) \ 43 $(O)string$(_OBJ) $(O)nldate$(_OBJ) $(O)julian$(_OBJ) $(O)nlfind$(_OBJ) 44NLUPDATEOBJS = $(O)nlupdate$(_OBJ) $(O)trail$(_OBJ) $(O)string$(_OBJ) $(O)nldate$(_OBJ) \ 45 $(O)julian$(_OBJ) $(O)nlfind$(_OBJ) 46 47PRGOBJS = $(NLDIFFOBJS) $(NLCRCOBJS) $(ULCOBJS) $(NLUPDATEOBJS) 48# Header files 49 50# Binary files(s) to bild from sources 51PROGRAMS = $(NLDIFF) $(NLCRC) $(ULC) $(NLUPDATE) 52 53# List of FIDOCONFIG libraries required to build binary file(s) 54LIBS = 55