source: abuse/tags/pd/imlib/Makefile.am @ 49

Last change on this file since 49 was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
File size: 1.7 KB
Line 
1## Process this file with automake to produce Makefile.in
2
3noinst_LIBRARIES = libimage.a libpacket.a libgui.a libsound.a libnet.a \
4        libdir.a libwinman.a libjoy.a libtime.a $(LIBSVGA)
5EXTRA_LIBRARIES = libsvgawin.a
6
7libimage_a_SOURCES = filter.c gifread.c globals.c image.c linked.c \
8        input.c mdlread.c palette.c ppmread.c include.c xwdread.c \
9        fonts.c decoder.c loader.c glread.c texture.c specs.c \
10        supmorph.c image24.c pcxread.c timage.c jmalloc.c jrand.c \
11        lbmread.c targa.c keys.c dprint.c status.c visobj.c
12
13libpacket_a_SOURCES = packet.c
14
15libgui_a_SOURCES = pmenu.c scroller.c filesel.c tools.c guistat.c
16
17libsound_a_SOURCES = readwav.c
18libsound_a_LIBADD = $(SOUND)
19libsound_a_DEPENDENCIES = $(SOUND)
20EXTRA_libsound_a_SOURCES = port/sgi/sound.c port/aix/sound.c \
21        port/unix/sound.c
22libnet_a_SOURCES = port/unix/jnet.c
23libdir_a_SOURCES = port/unix/jdir.c
24libwinman_a_SOURCES = port/x11/video.c port/x11/mouse.c port/x11/event.c \
25        jwindow.c
26libsvgawin_a_SOURCES = port/svga/video.c port/svga/mouse.c \
27        port/svga/event.c jwindow.c
28libjoy_a_SOURCES =
29libjoy_a_LIBADD = $(JOYSTICK)
30libjoy_a_DEPENDENCIES = $(JOYSTICK)
31EXTRA_libjoy_a_SOURCES = port/unix/joystick.c port/linux/joystick.c
32libtime_a_SOURCES =
33libtime_a_LIBADD = $(TIMING)
34libtime_a_DEPENDENCIES = $(TIMING)
35EXTRA_libtime_a_SOURCES = port/unix/timing.c port/sgi/timing.c
36
37INCLUDES = -I$(srcdir)/include $(X_CFLAGS)
38
39MYDEFS = -DMANAGE_MEM -DNO_CHECK
40CXXFLAGS = -g -O2
41
42MOSTLYCLEANFILES = $(SOUND) $(JOYSTICK) $(TIMING)
43
44COMPILE = $(CXX) $(DEFS) $(MYDEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(ADDCXXFLAGS) -o $@
45
46debug:
47        $(MAKE) DEFS='-DMANAGE_MEM -DMEM_CHECK' CXXFLAGS=-g
48opt:
49        $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS=-O2
50profile:
51        $(MAKE) DEFS='-DMANAGE_MEM -DNO_CHECK' CXXFLAGS='-O2 -g -pg'
Note: See TracBrowser for help on using the repository browser.