Imported from antiword-0.34.tar.gz.
[antiword.git] / Makefile.HP-UX
blob80cab1b3e748215b728d52133ec6a9f86925816b
2 # Makefile for antiword (HP-UX version)
5 CC      = cc
6 LD      = cc
8 # must be equal to DEBUG or NDEBUG
9 DB      = NDEBUG
10 # Optimization: -O or debugging: -g
11 OPT     = -O
13 LDLIBS  =
15 CFLAGS  = +w1 $(OPT) -s -Aa -D_HPUX_SOURCE -D$(DB)
16 LDFLAGS =
18 OBJS    =\
19         main_u.o asc85enc.o blocklist.o chartrans.o datalist.o depot.o\
20         dib2eps.o fail.o finddata.o findtext.o fontlist.o fonts.o fonts_u.o\
21         imgexam.o imgtrans.o jpeg2eps.o listlist.o misc.o notes.o options.o\
22         out2window.o output.o pictlist.o png2eps.o postscript.o prop0.o prop2.o\
23         prop6.o prop8.o properties.o propmod.o rowlist.o sectlist.o stylelist.o\
24         stylesheet.o summary.o tabstop.o text.o unix.o utf8.o word2text.o\
25         worddos.o wordlib.o wordmac.o wordole.o wordwin.o xmalloc.o xml.o
27 all:            antiword
29 antiword:       $(OBJS)
30         $(LD) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
32 .c.o:
33         $(CC) $(CFLAGS) -c $<
35 main_u.o:       version.h
36 postscript.o:   version.h
37 fonts_u.o:      fontinfo.h
39 fontinfo.h:     Unix-only/fontinfo.h
40         cp -rp $? $@
42 Unix-only/fontinfo.h:   Unix-only/fontinfo.pl
43         Unix-only/fontinfo.pl > Unix-only/fontinfo.h