aseprite/makefile.lst
David Capello a68a9e2e56 Added cmd_drawing_tools.c.
Fixed some errors with double memory free (from 'menuitems' and from 'commands').
Added the four main commands for the editor of sprites (close_editor, make_unique_editor, split_editor).
2007-09-27 18:02:23 +00:00

360 lines
10 KiB
Makefile

# Copyright (C) 2001-2005, 2007 by David A. Capello -*-Makefile-*-
######################################################################
# ASE
ASE = ase$(EXE)
ASE_SOURCES = \
src/commands/cmd_about.c \
src/commands/cmd_advanced_mode.c \
src/commands/cmd_auto_crop_sprite.c \
src/commands/cmd_change_image_type.c \
src/commands/cmd_clear.c \
src/commands/cmd_close_file.c \
src/commands/cmd_color_curve.c \
src/commands/cmd_configure_screen.c \
src/commands/cmd_configure_tools.c \
src/commands/cmd_convolution_matrix.c \
src/commands/cmd_copy.c \
src/commands/cmd_copy_frame.c \
src/commands/cmd_crop_frame.c \
src/commands/cmd_crop_layer.c \
src/commands/cmd_crop_sprite.c \
src/commands/cmd_customize.c \
src/commands/cmd_cut.c \
src/commands/cmd_deselect_mask.c \
src/commands/cmd_despeckle.c \
src/commands/cmd_draw_text.c \
src/commands/cmd_drawing_tools.c \
src/commands/cmd_duplicate_layer.c \
src/commands/cmd_duplicate_sprite.c \
src/commands/cmd_sprite_editor.c \
src/commands/cmd_exit.c \
src/commands/cmd_film_editor.c \
src/commands/cmd_flatten_layers.c \
src/commands/cmd_flip_horizontal.c \
src/commands/cmd_flip_vertical.c \
src/commands/cmd_frame_properties.c \
src/commands/cmd_invert_color.c \
src/commands/cmd_invert_mask.c \
src/commands/cmd_layer_properties.c \
src/commands/cmd_link_frame.c \
src/commands/cmd_load_mask.c \
src/commands/cmd_load_session.c \
src/commands/cmd_mapgen.c \
src/commands/cmd_mask_all.c \
src/commands/cmd_mask_by_color.c \
src/commands/cmd_mask_repository.c \
src/commands/cmd_merge_down_layer.c \
src/commands/cmd_move_frame.c \
src/commands/cmd_new_file.c \
src/commands/cmd_new_frame.c \
src/commands/cmd_new_layer.c \
src/commands/cmd_new_layer_set.c \
src/commands/cmd_open_file.c \
src/commands/cmd_options.c \
src/commands/cmd_palette_editor.c \
src/commands/cmd_paste.c \
src/commands/cmd_play_flic.c \
src/commands/cmd_preview.c \
src/commands/cmd_quick_copy.c \
src/commands/cmd_quick_move.c \
src/commands/cmd_record_screen.c \
src/commands/cmd_redo.c \
src/commands/cmd_refresh.c \
src/commands/cmd_remove_frame.c \
src/commands/cmd_remove_layer.c \
src/commands/cmd_replace_color.c \
src/commands/cmd_reselect_mask.c \
src/commands/cmd_run_script.c \
src/commands/cmd_save_file.c \
src/commands/cmd_save_file_as.c \
src/commands/cmd_save_mask.c \
src/commands/cmd_save_session.c \
src/commands/cmd_screen_shot.c \
src/commands/cmd_select_file.c \
src/commands/cmd_sprite_properties.c \
src/commands/cmd_tips.c \
src/commands/cmd_undo.c \
src/commands/commands.c \
src/console/console.c \
src/core/app.c \
src/core/config.c \
src/core/cfg.c \
src/core/core.c \
src/core/dirs.c \
src/core/modules.c \
src/core/shutdown.c \
src/dialogs/canvasze.c \
src/dialogs/colsel.c \
src/dialogs/dfrlen.c \
src/dialogs/dmapgen.c \
src/dialogs/dpaledit.c \
src/dialogs/drawtext.c \
src/dialogs/effect/dcolcurv.c \
src/dialogs/effect/dconvmtr.c \
src/dialogs/effect/dinvcol.c \
src/dialogs/effect/dmedian.c \
src/dialogs/effect/dreplcol.c \
src/dialogs/filesel.c \
src/dialogs/filmedit.c \
src/dialogs/gfxsel.c \
src/dialogs/maskcol.c \
src/dialogs/maskrepo.c \
src/dialogs/minipal.c \
src/dialogs/options.c \
src/dialogs/playfli.c \
src/dialogs/quick.c \
src/dialogs/repo.c \
src/dialogs/scrsaver.c \
src/dialogs/tips.c \
src/dialogs/toolconf.c \
src/dialogs/vectmap.c \
src/effect/colcurve.c \
src/effect/convmatr.c \
src/effect/effect.c \
src/effect/invrtcol.c \
src/effect/median.c \
src/effect/replcol.c \
src/file/ase.c \
src/file/bmp.c \
src/file/file.c \
src/file/fli.c \
src/file/ico.c \
src/file/jpeg.c \
src/file/pcx.c \
src/file/png_file.c \
src/file/tga.c \
src/file/gif.c \
src/file/gif/format.c \
src/file/gif/lzw.c \
src/intl/intl.c \
src/intl/msgids.c \
src/main.c \
src/modules/color.c \
src/modules/editors.c \
src/modules/gfx.c \
src/modules/gui.c \
src/modules/palette.c \
src/modules/recent.c \
src/modules/render.c \
src/modules/rootmenu.c \
src/modules/sprites.c \
src/modules/tools.c \
src/modules/tools2.c \
src/raster/algo.c \
src/raster/algofill.c \
src/raster/blend.c \
src/raster/brush.c \
src/raster/dirty.c \
src/raster/frame.c \
src/raster/gfxobj.c \
src/raster/image.c \
src/raster/layer.c \
src/raster/mask.c \
src/raster/path.c \
src/raster/quant.c \
src/raster/rotate.c \
src/raster/sprite.c \
src/raster/stock.c \
src/raster/undo.c \
src/script/bindings.c \
src/script/script.c \
src/util/autocrop.c \
src/util/boundary.c \
src/util/clipbrd.c \
src/util/col_file.c \
src/util/crop.c \
src/util/filetoks.c \
src/util/flip.c \
src/util/frmove.c \
src/util/hash.c \
src/util/mapgen.c \
src/util/misc.c \
src/util/msk_file.c \
src/util/pic_file.c \
src/util/quantize.c \
src/util/recscr.c \
src/util/scrshot.c \
src/util/session.c \
src/util/setgfx.c \
src/util/thmbnail.c \
src/widgets/colbar.c \
src/widgets/colbut.c \
src/widgets/colview.c \
src/widgets/curvedit.c \
src/widgets/editor/click.c \
src/widgets/editor/cursor.c \
src/widgets/editor/editor.c \
src/widgets/editor/keys.c \
src/widgets/groupbut.c \
src/widgets/menuitem.c \
src/widgets/paledit.c \
src/widgets/preview.c \
src/widgets/statebar.c \
src/widgets/target.c \
src/widgets/toolbar.c
ASE_OBJS = $(addprefix $(OBJ_DIR)/, \
$(addsuffix $(OBJ), \
$(notdir $(basename $(ASE_SOURCES)))))
######################################################################
# Lua
LIBLUA_LIB = $(OBJ_DIR)/liblua$(LIB)
LIBLUA_DIR = third_party/lua
LIBLUA_SOURCES = \
$(LIBLUA_DIR)/src/lapi.c \
$(LIBLUA_DIR)/src/lcode.c \
$(LIBLUA_DIR)/src/ldebug.c \
$(LIBLUA_DIR)/src/ldo.c \
$(LIBLUA_DIR)/src/ldump.c \
$(LIBLUA_DIR)/src/lfunc.c \
$(LIBLUA_DIR)/src/lgc.c \
$(LIBLUA_DIR)/src/llex.c \
$(LIBLUA_DIR)/src/lmem.c \
$(LIBLUA_DIR)/src/lobject.c \
$(LIBLUA_DIR)/src/lopcodes.c \
$(LIBLUA_DIR)/src/lparser.c \
$(LIBLUA_DIR)/src/lstate.c \
$(LIBLUA_DIR)/src/lstring.c \
$(LIBLUA_DIR)/src/ltable.c \
$(LIBLUA_DIR)/src/ltests.c \
$(LIBLUA_DIR)/src/ltm.c \
$(LIBLUA_DIR)/src/lundump.c \
$(LIBLUA_DIR)/src/lvm.c \
$(LIBLUA_DIR)/src/lzio.c \
$(LIBLUA_DIR)/src/lib/lauxlib.c \
$(LIBLUA_DIR)/src/lib/lbaselib.c
LIBLUA_OBJS = $(addprefix $(OBJ_DIR)/, \
$(addsuffix $(OBJ), \
$(notdir $(basename $(LIBLUA_SOURCES)))))
######################################################################
# GFli
LIBGFLI_LIB = $(OBJ_DIR)/libgfli$(LIB)
LIBGFLI_DIR = third_party/gfli
LIBGFLI_SOURCES = \
$(LIBGFLI_DIR)/gfli.c
LIBGFLI_OBJS = $(addprefix $(OBJ_DIR)/, \
$(addsuffix $(OBJ), \
$(notdir $(basename $(LIBGFLI_SOURCES)))))
######################################################################
# Libart
LIBART_LIB = $(OBJ_DIR)/libart$(LIB)
LIBART_DIR = third_party/libart_lgpl
LIBART_SOURCES = \
$(LIBART_DIR)/art_affine.c \
$(LIBART_DIR)/art_alphagamma.c \
$(LIBART_DIR)/art_bpath.c \
$(LIBART_DIR)/art_gray_svp.c \
$(LIBART_DIR)/art_misc.c \
$(LIBART_DIR)/art_pixbuf.c \
$(LIBART_DIR)/art_rect.c \
$(LIBART_DIR)/art_rect_svp.c \
$(LIBART_DIR)/art_rect_uta.c \
$(LIBART_DIR)/art_render.c \
$(LIBART_DIR)/art_render_gradient.c \
$(LIBART_DIR)/art_render_svp.c \
$(LIBART_DIR)/art_rgba.c \
$(LIBART_DIR)/art_rgb_affine.c \
$(LIBART_DIR)/art_rgb_affine_private.c \
$(LIBART_DIR)/art_rgb_bitmap_affine.c \
$(LIBART_DIR)/art_rgb.c \
$(LIBART_DIR)/art_rgb_pixbuf_affine.c \
$(LIBART_DIR)/art_rgb_rgba_affine.c \
$(LIBART_DIR)/art_rgb_svp.c \
$(LIBART_DIR)/art_svp.c \
$(LIBART_DIR)/art_svp_ops.c \
$(LIBART_DIR)/art_svp_point.c \
$(LIBART_DIR)/art_svp_render_aa.c \
$(LIBART_DIR)/art_svp_vpath.c \
$(LIBART_DIR)/art_svp_vpath_stroke.c \
$(LIBART_DIR)/art_svp_wind.c \
$(LIBART_DIR)/art_uta.c \
$(LIBART_DIR)/art_uta_ops.c \
$(LIBART_DIR)/art_uta_rect.c \
$(LIBART_DIR)/art_uta_svp.c \
$(LIBART_DIR)/art_uta_vpath.c \
$(LIBART_DIR)/art_vpath_bpath.c \
$(LIBART_DIR)/art_vpath.c \
$(LIBART_DIR)/art_vpath_dash.c \
$(LIBART_DIR)/art_vpath_svp.c \
$(LIBART_DIR)/libart-features.c
LIBART_OBJS = $(addprefix $(OBJ_DIR)/, \
$(addsuffix $(OBJ), \
$(notdir $(basename $(LIBART_SOURCES)))))
######################################################################
# LibPNG
LIBPNG_LIB = $(OBJ_DIR)/libpng$(LIB)
LIBPNG_DIR = third_party/libpng
LIBPNG_SOURCES = \
$(LIBPNG_DIR)/png.c \
$(LIBPNG_DIR)/pngerror.c \
$(LIBPNG_DIR)/pngget.c \
$(LIBPNG_DIR)/pngmem.c \
$(LIBPNG_DIR)/pngpread.c \
$(LIBPNG_DIR)/pngread.c \
$(LIBPNG_DIR)/pngrio.c \
$(LIBPNG_DIR)/pngrtran.c \
$(LIBPNG_DIR)/pngrutil.c \
$(LIBPNG_DIR)/pngset.c \
$(LIBPNG_DIR)/pngtrans.c \
$(LIBPNG_DIR)/pngwio.c \
$(LIBPNG_DIR)/pngwrite.c \
$(LIBPNG_DIR)/pngwtran.c \
$(LIBPNG_DIR)/pngwutil.c
LIBPNG_OBJS = $(addprefix $(OBJ_DIR)/, \
$(addsuffix $(OBJ), \
$(notdir $(basename $(LIBPNG_SOURCES)))))
######################################################################
# ZLib
ZLIB_LIB = $(OBJ_DIR)/libzlib$(LIB)
ZLIB_DIR = third_party/zlib
ZLIB_SOURCES = \
$(ZLIB_DIR)/adler32.c \
$(ZLIB_DIR)/compress.c \
$(ZLIB_DIR)/crc32.c \
$(ZLIB_DIR)/deflate.c \
$(ZLIB_DIR)/gzio.c \
$(ZLIB_DIR)/infback.c \
$(ZLIB_DIR)/inffast.c \
$(ZLIB_DIR)/inflate.c \
$(ZLIB_DIR)/inftrees.c \
$(ZLIB_DIR)/trees.c \
$(ZLIB_DIR)/uncompr.c \
$(ZLIB_DIR)/zutil.c
ZLIB_OBJS = $(addprefix $(OBJ_DIR)/, \
$(addsuffix $(OBJ), \
$(notdir $(basename $(ZLIB_SOURCES)))))
######################################################################
# All objects and libraries
ALL_OBJS = \
$(ASE_OBJS) \
$(LIBLUA_OBJS) \
$(LIBGFLI_OBJS) \
$(LIBART_OBJS) \
$(LIBPNG_OBJS)
ALL_LIBS = \
$(LIBLUA_LIB) \
$(LIBGFLI_LIB) \
$(LIBART_LIB) \
$(LIBPNG_LIB)