1# $Header: /home/yav/xpx/RCS/Imakefile,v 1.10 1996/04/26 17:22:47 yav Exp $ 2# Imakefile for xpx 3# written by yav (UHD98984@pcvan.or.jp) 4# 5 6SRCS = main.c work.c image.c menu.c palset.c colset.c file.c sub.c zoom.c\ 7 convert.c grid.c cursor.c tile.c\ 8 info.c inputstr.c dir.c edit.c scrl.c icon.c message.c undo.c\ 9 line.c circle.c ellipse.c paint.c area.c\ 10 mag.c cbb.c magtoppm.c tim.c nbn.c hold.c 11OBJS = main.o work.o image.o menu.o palset.o colset.o file.o sub.o zoom.o\ 12 convert.o grid.o cursor.o tile.o\ 13 info.o inputstr.o dir.o edit.o scrl.o icon.o message.o undo.o\ 14 line.o circle.o ellipse.o paint.o area.o\ 15 mag.o cbb.o magtoppm.o tim.o nbn.o hold.o 16 17 18HEADERS = config.h headers.h xpx.h work.h extern.h 19EXHEADERS = menudef.h editdef.h infodef.h zoomdef.h griddef.h cursdef.h\ 20 scrldef.h version.h 21DOCS = xpx.doc 22CURSORFONTS = cursor0.xbm cursor1.xbm 23ICONS = mars.xbm up.xbm down.xbm left.xbm right.xbm\ 24 fliph.xbm flipv.xbm turnl.xbm turnr.xbm 25DATAS = icon.xbm $(ICONS) .xpxrc 26SEDSCRIPTS = english.sed japanese.sed 27AWKSCRIPTS = xbmsize.awk xbmbits.awk icondef.awk 28SED = sed 29AWK = awk 30 31HDRS = $(HEADERS) $(EXHEADERS) 32 33SYS_LIBRARIES = $(XLIB) 34 35ComplexProgramTargetNoMan(xpx) 36 37$(OBJS) : $(HEADERS) 38 39config.h: config.h.in 40 /bin/sh configure 41 42configure: configure.in 43 autoconf configure.in >configure 44 45# 46$(OBJS) : $(HEADERS) 47main.o : icon.xbm menudef.h editdef.h $(CURSORFONTS) 48work.o : version.h 49image.o : scrldef.h infodef.h cursdef.h editdef.h 50menu.o : menudef.h 51edit.o : editdef.h menudef.h cursdef.h 52info.o : infodef.h icondef.h 53zoom.o : zoomdef.h 54grid.o : griddef.h 55cursor.o : cursdef.h 56scrl.o : scrldef.h icondef.h 57icon.o : iconsize iconbits 58sub.o : icondef.h 59file.o : icondef.h infodef.h 60convert.o : infodef.h 61colset.o : cursdef.h 62area.o : editdef.h icondef.h 63 64iconsize : xbmsize.awk $(ICONS) 65 $(AWK) -f xbmsize.awk $(ICONS) >$@ 66iconbits : xbmbits.awk $(ICONS) 67 $(AWK) -f xbmbits.awk $(ICONS) >$@ 68icondef.h : icondef.awk $(ICONS) 69 echo "#define ICON_REVERSE 0x80" >$@ 70 echo $(ICONS) | $(AWK) -f icondef.awk >>$@ 71 72# End of file 73