Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/leptonica/src/makefile.static @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 #/*====================================================================* | |
| 2 # - Copyright (C) 2001 Leptonica. All rights reserved. | |
| 3 # - | |
| 4 # - Redistribution and use in source and binary forms, with or without | |
| 5 # - modification, are permitted provided that the following conditions | |
| 6 # - are met: | |
| 7 # - 1. Redistributions of source code must retain the above copyright | |
| 8 # - notice, this list of conditions and the following disclaimer. | |
| 9 # - 2. Redistributions in binary form must reproduce the above | |
| 10 # - copyright notice, this list of conditions and the following | |
| 11 # - disclaimer in the documentation and/or other materials | |
| 12 # - provided with the distribution. | |
| 13 # - | |
| 14 # - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 15 # - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 16 # - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 17 # - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANY | |
| 18 # - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
| 19 # - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
| 20 # - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
| 21 # - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | |
| 22 # - OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
| 23 # - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
| 24 # - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 25 # *====================================================================*/ | |
| 26 | |
| 27 # makefile (for linux) | |
| 28 # | |
| 29 # Hand-built -- editable -- simple -- makefile | |
| 30 # | |
| 31 # For a nodebug version: make | |
| 32 # For a debug version: make DEBUG=yes debug | |
| 33 # For a shared library version: make SHARED=yes shared | |
| 34 # For all versions: make all | |
| 35 # With nonstandard header directories | |
| 36 # make EXTRAINCLUDES="-I<nonstandard-incl-dir>" | |
| 37 # | |
| 38 # To remove all writes to stderr: add -DNO_CONSOLE_IO to compiler line | |
| 39 # | |
| 40 # To remove object files in src: make clean | |
| 41 # To remove object files and executables in prog: make clean | |
| 42 # | |
| 43 # Customization for I/O with external libraries: | |
| 44 # jpeg, png, tiff, webp, jp2k, gif | |
| 45 # Set flags in environ.h. The default is to have libjpeg, libpng, | |
| 46 # libtiff and libz, but not libwebp, libopenjp or libgif. | |
| 47 # | |
| 48 # The functions fmemopen() and open_memstream() conform to | |
| 49 # IEEE Std 1003.1-2008 ("POSIX.1"). In addition to Linux and BSD, | |
| 50 # they are supported on macOS (> 10.12), iOS (>= 11.0) and | |
| 51 # android (sdk >= 23). However, they are not supported on Windows. | |
| 52 # The code for determining use of these functions on different platforms | |
| 53 # is made in environ.h. | |
| 54 # | |
| 55 # Customization for POSIX-compliant function fstatat(). | |
| 56 # The default is not to use, because some systems do not support it. | |
| 57 # To use this, #define HAVE_FSTATAT to 1 in environ.h. | |
| 58 # | |
| 59 # Customization for Cygwin: | |
| 60 # (1) Use the appropriate $CC | |
| 61 # | |
| 62 # Compiling under Microsoft Visual Studio | |
| 63 # (1) Download the vs2000 package. | |
| 64 # (2) You can also substitute arrayaccess.h.vc for arrayaccess.h, to | |
| 65 # use the inline macros rather than function calls which are slower. | |
| 66 # | |
| 67 # To generate function prototypes, you need a program called | |
| 68 # xtractprotos. Build it with this command: | |
| 69 # make xtractprotos | |
| 70 # Then use it with 'make allheaders' | |
| 71 | |
| 72 # Tools used by the Makefile | |
| 73 RM = rm -f | |
| 74 TEST = test | |
| 75 MKDIR = mkdir -p | |
| 76 LIBRARIAN = ar cq | |
| 77 RANLIB = ranlib | |
| 78 SED = sed | |
| 79 | |
| 80 # Libraries are built into a binary tree determined by the environmental | |
| 81 # variable BINARY_BASE_DIR | |
| 82 ifndef BINARY_BASE_DIR | |
| 83 BINARY_BASE_DIR = .. | |
| 84 endif | |
| 85 | |
| 86 BASE_OBJ = $(BINARY_BASE_DIR)/obj | |
| 87 OBJ_NODEBUG = $(BINARY_BASE_DIR)/obj/nodebug | |
| 88 OBJ_DEBUG = $(BINARY_BASE_DIR)/obj/debug | |
| 89 OBJ_SHARED = $(BINARY_BASE_DIR)/obj/shared | |
| 90 | |
| 91 BASE_LIB = $(BINARY_BASE_DIR)/lib | |
| 92 LIB_NODEBUG = $(BINARY_BASE_DIR)/lib/nodebug | |
| 93 LIB_DEBUG = $(BINARY_BASE_DIR)/lib/debug | |
| 94 LIB_SHARED = $(BINARY_BASE_DIR)/lib/shared | |
| 95 | |
| 96 | |
| 97 # Include files | |
| 98 INCLUDES = -I./ $(EXTRAINCLUDES) | |
| 99 PROTOTYPE_DIR = . | |
| 100 | |
| 101 # Which flags to use? | |
| 102 # - std=c89 and std=c99 both define __STRICT_ANSI__, which causes | |
| 103 # the omission of declarations of a number of functions, such | |
| 104 # as mkstemp, fmemopen, open_memstream, fdopen, etc. So if you | |
| 105 # use one of these, also use -U__STRICT_ANSI__. e.g., | |
| 106 # gcc -std=c89 -U__STRICT_ANSI__ | |
| 107 # - std=gnu89 and std=gnu99 do not define __STRICT_ANSI__, so | |
| 108 # declaration of these other functions is included. | |
| 109 # - On mingw, it is necessary to use -D__USE_MINGW_ANSI_STDIO. | |
| 110 # This has no effect on non-mingw systems. | |
| 111 # - use -Wunused to identify unused variables | |
| 112 # - use -DNO_CONSOLE_IO to remove all L_INFO, L_WARNING, L_ERROR and | |
| 113 # ERROR_* logging, and to remove all DEBUG information dependent | |
| 114 # on whether or not NO_CONSOLE_IO has been defined. | |
| 115 # - remove -fPIC for Cygwin | |
| 116 CC = gcc -std=c99 -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO | |
| 117 #CC = gcc -std=c89 -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO | |
| 118 #CC = gcc -std=c99 -D_POSIX_C_SOURCE=200809L -D__USE_MINGW_ANSI_STDIO -D_BSD_SOURCE -DANSI -fPIC | |
| 119 #CC = gcc -std=gnu89 -D__USE_MINGW_ANSI_STDIO | |
| 120 #CC = gcc -std=gnu89 -D_BSD_SOURCE -DANSI -Werror -fPIC | |
| 121 #CC = gcc -std=c99 -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO -DNO_CONSOLE_IO | |
| 122 #CC = g++ -D_BSD_SOURCE -fPIC | |
| 123 #CC = g++ -Werror -D_BSD_SOURCE -fPIC | |
| 124 #CC = g++ -Wunused -D_BSD_SOURCE -fPIC | |
| 125 | |
| 126 # Test for processor endianness | |
| 127 # This version (using the definition of __BYTE_ORDER in endian.h) | |
| 128 # was provided by rofl0r. It has been modified to return L_LITTLE_ENDIAN | |
| 129 # if the file endian.h does not exist, which is the situation on mingw. | |
| 130 ENDIANNESS = $(shell echo __BYTE_ORDER | $(CC) -include endian.h -E - | grep -q 4321 && echo L_BIG_ENDIAN || echo L_LITTLE_ENDIAN) | |
| 131 | |
| 132 # Shared library linker options | |
| 133 SONAME_OPTION = -Wl,-h, | |
| 134 | |
| 135 ifdef SHARED | |
| 136 OPTIMIZE = -O2 -fPIC | |
| 137 else | |
| 138 ifdef DEBUG | |
| 139 OPTIMIZE = -g | |
| 140 else | |
| 141 OPTIMIZE = -O2 | |
| 142 endif | |
| 143 endif | |
| 144 | |
| 145 | |
| 146 OPTIONS = | |
| 147 CPPFLAGS = $(INCLUDES) | |
| 148 CFLAGS = $(OPTIMIZE) $(OPTIONS) | |
| 149 LIBRARIAN_SHARED = gcc -shared | |
| 150 | |
| 151 # Libraries differing only in their minor revision numbers | |
| 152 # are required to have the same interface. By using | |
| 153 # "-h" in the ld, the "soname" is <libname>.X, where X is | |
| 154 # the major revision number. | |
| 155 # Links are created among the files <libname>.X.Y, | |
| 156 # <libname>.X, and <libname>, where Y is the minor revision number. | |
| 157 MAJOR_REV = 1 | |
| 158 MINOR_REV = 85 | |
| 159 PATCH_REV = 0 | |
| 160 | |
| 161 ######################################################### | |
| 162 | |
| 163 # Libraries | |
| 164 | |
| 165 LEPTLIB = liblept.a | |
| 166 LEPTLIB_SHARED = liblept.so | |
| 167 | |
| 168 ######################################################### | |
| 169 | |
| 170 LEPTLIB_C = adaptmap.c affine.c \ | |
| 171 affinecompose.c arrayaccess.c \ | |
| 172 bardecode.c baseline.c bbuffer.c \ | |
| 173 bilateral.c bilinear.c binarize.c \ | |
| 174 binexpand.c binreduce.c \ | |
| 175 blend.c bmf.c bmpio.c bmpiostub.c \ | |
| 176 bootnumgen1.c bootnumgen2.c \ | |
| 177 bootnumgen3.c bootnumgen4.c \ | |
| 178 boxbasic.c boxfunc1.c boxfunc2.c \ | |
| 179 boxfunc3.c boxfunc4.c boxfunc5.c \ | |
| 180 bytearray.c ccbord.c ccthin.c \ | |
| 181 checkerboard.c classapp.c \ | |
| 182 colorcontent.c colorfill.c coloring.c \ | |
| 183 colormap.c colormorph.c \ | |
| 184 colorquant1.c colorquant2.c \ | |
| 185 colorseg.c colorspace.c \ | |
| 186 compare.c conncomp.c convertfiles.c \ | |
| 187 convolve.c correlscore.c \ | |
| 188 dewarp1.c dewarp2.c dewarp3.c dewarp4.c \ | |
| 189 dnabasic.c dnafunc1.c dnahash.c \ | |
| 190 dwacomb.2.c dwacomblow.2.c \ | |
| 191 edge.c encoding.c enhance.c \ | |
| 192 fhmtauto.c fhmtgen.1.c fhmtgenlow.1.c \ | |
| 193 finditalic.c flipdetect.c \ | |
| 194 fmorphauto.c fmorphgen.1.c fmorphgenlow.1.c \ | |
| 195 fpix1.c fpix2.c \ | |
| 196 gifio.c gifiostub.c gplot.c graphics.c \ | |
| 197 graymorph.c grayquant.c hashmap.c heap.c jbclass.c \ | |
| 198 jp2kheader.c jp2kheaderstub.c jp2kio.c jp2kiostub.c \ | |
| 199 jpegio.c jpegiostub.c kernel.c \ | |
| 200 libversions.c list.c map.c maze.c \ | |
| 201 morph.c morphapp.c morphdwa.c morphseq.c \ | |
| 202 numabasic.c numafunc1.c numafunc2.c \ | |
| 203 pageseg.c paintcmap.c \ | |
| 204 parseprotos.c partify.c partition.c \ | |
| 205 pdfapp.c pdfappstub.c \ | |
| 206 pdfio1.c pdfio1stub.c pdfio2.c pdfio2stub.c \ | |
| 207 pix1.c pix2.c pix3.c pix4.c pix5.c \ | |
| 208 pixabasic.c pixacc.c \ | |
| 209 pixafunc1.c pixafunc2.c \ | |
| 210 pixalloc.c pixarith.c \ | |
| 211 pixcomp.c pixconv.c pixlabel.c pixtiling.c \ | |
| 212 pngio.c pngiostub.c \ | |
| 213 pnmio.c pnmiostub.c \ | |
| 214 projective.c \ | |
| 215 psio1.c psio1stub.c psio2.c psio2stub.c \ | |
| 216 ptabasic.c ptafunc1.c ptafunc2.c \ | |
| 217 ptra.c quadtree.c queue.c rank.c rbtree.c \ | |
| 218 readbarcode.c readfile.c \ | |
| 219 recogbasic.c recogdid.c recogident.c recogtrain.c \ | |
| 220 regutils.c renderpdf.c rop.c roplow.c \ | |
| 221 rotate.c rotateam.c rotateorth.c rotateshear.c \ | |
| 222 runlength.c sarray1.c sarray2.c \ | |
| 223 scale1.c scale2.c seedfill.c \ | |
| 224 sel1.c sel2.c selgen.c \ | |
| 225 shear.c skew.c spixio.c \ | |
| 226 stack.c stringcode.c \ | |
| 227 strokes.c sudoku.c \ | |
| 228 textops.c tiffio.c tiffiostub.c \ | |
| 229 utils1.c utils2.c warper.c watershed.c \ | |
| 230 webpanimio.c webpanimiostub.c \ | |
| 231 webpio.c webpiostub.c writefile.c \ | |
| 232 zlibmem.c zlibmemstub.c | |
| 233 | |
| 234 LEPTLIB_H = allheaders.h alltypes.h \ | |
| 235 array.h array_internal.h \ | |
| 236 arrayaccess.h bbuffer.h \ | |
| 237 bmf.h bmfdata.h bmp.h \ | |
| 238 ccbord.h ccbord_internal.h \ | |
| 239 colorfill.h dewarp.h environ.h gplot.h \ | |
| 240 hashmap.h heap.h imageio.h \ | |
| 241 jbclass.h list.h morph.h \ | |
| 242 pix.h pix_internal.h \ | |
| 243 ptra.h queue.h rbtree.h \ | |
| 244 readbarcode.h recog.h regutils.h \ | |
| 245 stack.h stringcode.h sudoku.h watershed.h | |
| 246 | |
| 247 ################################################################## | |
| 248 | |
| 249 # Main targets | |
| 250 | |
| 251 nodebug: dirs $(LEPTLIB:%=$(LIB_NODEBUG)/%) | |
| 252 | |
| 253 all: | |
| 254 make -f makefile TARGET=$(TARGET) nodebug | |
| 255 make -f makefile TARGET=$(TARGET) DEBUG=true debug | |
| 256 make -f makefile TARGET=$(TARGET) SHARED=true shared | |
| 257 | |
| 258 DEBUG_LIBS = $(LEPTLIB:%=$(LIB_DEBUG)/%) | |
| 259 SHARED_LIBS = $(LEPTLIB_SHARED:%=$(LIB_SHARED)/%) | |
| 260 debug: dirs $(DEBUG_LIBS) | |
| 261 shared: dirs $(SHARED_LIBS) | |
| 262 | |
| 263 ################################################################## | |
| 264 | |
| 265 # Proto targets | |
| 266 | |
| 267 # Note that both of the targets below can be generated by xtractprotos | |
| 268 # (a) without requiring the existence of leptprotos.h and (b) with | |
| 269 # an empty allheaders.h. Both generate a new allheaders.h, and | |
| 270 # 'make allprotos' additionally generates leptprotos.h | |
| 271 # | |
| 272 # In the past we generated leptprotos.h that held the function prototypes, | |
| 273 # and included it in allheaders.h. We now insert the function prototypes | |
| 274 # directly in allheaders.h, and do not generate a separate prototype | |
| 275 # file leptprotos.h. | |
| 276 allheaders: $(LEPTLIB_C) | |
| 277 @$(TEST) -f xtractprotos || echo "First run 'make xtractprotos'" | |
| 278 ./xtractprotos -protos=inline -prestring=LEPT_DLL $(LEPTLIB_C) | |
| 279 | |
| 280 | |
| 281 # You can still generate the file leptprotos.h and have it #included | |
| 282 # in allheaders.h. If you do this, be sure to add leptprotos.h to LEPTLIB_H. | |
| 283 allprotos: leptprotos | |
| 284 leptprotos: $(LEPTLIB_C) | |
| 285 @$(TEST) -f xtractprotos || echo "First run 'make xtractprotos'" | |
| 286 ./xtractprotos -protos=leptprotos.h -prestring=LEPT_DLL $(LEPTLIB_C) | |
| 287 | |
| 288 ################################################################## | |
| 289 | |
| 290 # xtractprotos | |
| 291 | |
| 292 xtractprotos: dirs leptlib | |
| 293 cd ../prog; make xtractprotos; cp xtractprotos ../src | |
| 294 | |
| 295 xtractprotos.o: xtractprotos.c | |
| 296 | |
| 297 ################################################################## | |
| 298 | |
| 299 # Rule to make optimized library | |
| 300 | |
| 301 $(LIB_NODEBUG)/%.a: | |
| 302 $(RM) $@ | |
| 303 $(LIBRARIAN) $@ $< | |
| 304 $(RANLIB) $@ | |
| 305 | |
| 306 # Rule to make debuggable library | |
| 307 | |
| 308 $(LIB_DEBUG)/%.a: | |
| 309 $(RM) $@ | |
| 310 $(LIBRARIAN) $@ $< | |
| 311 $(RANLIB) $@ | |
| 312 | |
| 313 # Rule to make shared library | |
| 314 | |
| 315 $(LIB_SHARED)/%.so: | |
| 316 $(RM) $@ | |
| 317 $(LIBRARIAN_SHARED) $(SONAME_OPTION)$(notdir $@).$(MAJOR_REV) -o $@ $< | |
| 318 mv $@ $@.$(MAJOR_REV).$(MINOR_REV).$(PATCH_REV) | |
| 319 cd $(LIB_SHARED); rm $(notdir $@).$(MAJOR_REV); \ | |
| 320 ln -s $(notdir $@).$(MAJOR_REV).$(MINOR_REV).$(PATCH_REV) $(notdir $@).$(MAJOR_REV) | |
| 321 cd $(LIB_SHARED); rm $(notdir $@); \ | |
| 322 ln -s $(notdir $@).$(MAJOR_REV) $(notdir $@) | |
| 323 | |
| 324 ################################################################## | |
| 325 | |
| 326 # No-debug library dependencies and rules | |
| 327 | |
| 328 leptlib: $(LIB_NODEBUG)/$(LEPTLIB) | |
| 329 $(LIB_NODEBUG)/$(LEPTLIB): $(LEPTLIB_C:%.c=$(OBJ_NODEBUG)/%.o) | |
| 330 $(RM) $@ | |
| 331 $(LIBRARIAN) $@ $(LEPTLIB_C:%.c=$(OBJ_NODEBUG)/%.o) | |
| 332 $(RANLIB) $@ | |
| 333 | |
| 334 # Debug library dependencies and rules | |
| 335 | |
| 336 leptlibd: $(LIB_DEBUG)/$(LEPTLIB) | |
| 337 $(LIB_DEBUG)/$(LEPTLIB): $(LEPTLIB_C:%.c=$(OBJ_DEBUG)/%.o) | |
| 338 $(RM) $@ | |
| 339 $(LIBRARIAN) $@ $(LEPTLIB_C:%.c=$(OBJ_DEBUG)/%.o) | |
| 340 $(RANLIB) $@ | |
| 341 | |
| 342 # Shared library dependencies, rules and links | |
| 343 | |
| 344 leptlibs: $(LIB_SHARED)/$(LEPTLIB_SHARED) | |
| 345 $(LIB_SHARED)/$(LEPTLIB_SHARED): $(LEPTLIB_C:%.c=$(OBJ_SHARED)/%.o) | |
| 346 $(RM) $@ | |
| 347 $(LIBRARIAN_SHARED) $(SONAME_OPTION)$(notdir $@).$(MAJOR_REV) -o $@ $(LEPTLIB_C:%.c=$(OBJ_SHARED)/%.o) | |
| 348 mv $@ $@.$(MAJOR_REV).$(MINOR_REV).$(PATCH_REV) | |
| 349 cd $(LIB_SHARED); rm $(notdir $@).$(MAJOR_REV); \ | |
| 350 ln -s $(notdir $@).$(MAJOR_REV).$(MINOR_REV).$(PATCH_REV) $(notdir $@).$(MAJOR_REV) | |
| 351 cd $(LIB_SHARED); rm $(notdir $@); \ | |
| 352 ln -s $(notdir $@).$(MAJOR_REV) $(notdir $@) | |
| 353 | |
| 354 ######################################################### | |
| 355 | |
| 356 # Rules for compiling source | |
| 357 | |
| 358 endianness.h: endianness.h.in | |
| 359 $(SED) -e 's/@APPLE_UNIVERSAL_BUILD@/defined (__APPLE_CC__)/g' -e 's/@ENDIANNESS@/$(ENDIANNESS)/g' endianness.h.in > endianness.h | |
| 360 | |
| 361 $(OBJ_NODEBUG)/%.o: %.c $(LEPTLIB_H) endianness.h | |
| 362 @$(TEST) -d $(OBJ_NODEBUG) || $(MKDIR) $(OBJ_NODEBUG) | |
| 363 $(COMPILE.c) -o $@ $< | |
| 364 | |
| 365 $(OBJ_DEBUG)/%.o: %.c $(LEPTLIB_H) endianness.h | |
| 366 @$(TEST) -d $(OBJ_DEBUG) || $(MKDIR) $(OBJ_DEBUG) | |
| 367 $(COMPILE.c) -o $@ $< | |
| 368 | |
| 369 $(OBJ_SHARED)/%.o: %.c $(LEPTLIB_H) endianness.h | |
| 370 @$(TEST) -d $(OBJ_SHARED) || $(MKDIR) $(OBJ_SHARED) | |
| 371 $(COMPILE.c) -o $@ $< | |
| 372 | |
| 373 ########################################################### | |
| 374 | |
| 375 # Prepare a local environment | |
| 376 | |
| 377 dirs: | |
| 378 @$(TEST) -d $(BASE_OBJ) || $(MKDIR) $(BASE_OBJ) | |
| 379 @$(TEST) -d $(OBJ_NODEBUG) || $(MKDIR) $(OBJ_NODEBUG) | |
| 380 @$(TEST) -d $(OBJ_DEBUG) || $(MKDIR) $(OBJ_DEBUG) | |
| 381 @$(TEST) -d $(OBJ_SHARED) || $(MKDIR) $(OBJ_SHARED) | |
| 382 @$(TEST) -d $(BASE_LIB) || $(MKDIR) $(BASE_LIB) | |
| 383 @$(TEST) -d $(LIB_NODEBUG) || $(MKDIR) $(LIB_NODEBUG) | |
| 384 @$(TEST) -d $(LIB_DEBUG) || $(MKDIR) $(LIB_DEBUG) | |
| 385 @$(TEST) -d $(LIB_SHARED) || $(MKDIR) $(LIB_SHARED) | |
| 386 | |
| 387 | |
| 388 ########################################################### | |
| 389 | |
| 390 clean: | |
| 391 $(RM) $(OBJ_NODEBUG)/*.o $(OBJ_DEBUG)/*.o \ | |
| 392 $(OBJ_SHARED)/*.o \ | |
| 393 $(LIB_NODEBUG)/*.a $(LIB_DEBUG)/*.a \ | |
| 394 $(LIB_SHARED)/*.so $(LIB_SHARED)/*.so.? \ | |
| 395 $(LIB_SHARED)/*.so.?.* \ | |
| 396 xtractprotos.o xtractprotos \ | |
| 397 endianness.h | |
| 398 | |
| 399 ########################################################### | |
| 400 | |
| 401 depend: | |
| 402 /usr/bin/makedepend -DNO_PROTOS $(CPPFLAGS) $(LEPTLIB_C) | |
| 403 | |
| 404 ########################################################### | |
| 405 # DO NOT DELETE THIS LINE -- make depend depends on it. | |
| 406 | |
| 407 |
