2 # Until I can remove the dependency on the appkit,
3 # we'll just keep the generated files in this directory
4 # and install them directly, rather than generating them again.
8 include ../MakePaths.dir
10 VPATH = $(OBJROOT):$(SYMROOT)
12 INSTALLDIR = $(DSTROOT)/usr/standalone/i386
13 LANGDIR = $(INSTALLDIR)/English.lproj
15 CFLAGS = -Wmost -Wno-precomp -g
17 CFILES = machOconv.c mkfont.c tif_packbits.c
20 EXPORT_HFILES = bitmap.h font.h
21 ALLSRC = $(CFILES) $(MFILES) $(HFILES) $(EXPORT_HFILES)
23 TIFFILES = return.tiff ns_box.tiff ns_text.tiff ns_logo.tiff dot.tiff
24 TIFF_HFILES = $(TIFFILES:.tiff=.h)
25 TIFF_BFILES = $(TIFFILES:.tiff=_bitmap.h)
27 CURSOR_HFILES = ns_wait1.h ns_wait1_bitmap.h \
28 ns_wait2.h ns_wait2_bitmap.h \
29 ns_wait3.h ns_wait3_bitmap.h
30 OTHER_HFILES = hdot.h hdot_bitmap.h
32 FONTFILES = 14.TimesIta
33 FONT_HFILES = FontBitmap.h
35 #PROGRAMS = machOconv mkfont dumptiff sig
38 OUTFILES = $(PROGRAMS) $(TIFF_HFILES) $(TIFF_BFILES) $(CURSOR_HFILES) \
39 $(FONT_HFILES) $(OTHER_HFILES)
40 DUMPTIFF = $(SYMROOT)/dumptiff
41 DUMPTIFF_OBJS = tif_packbits.o dumptiff.o BooterBitmap.o
45 DIRS_NEEDED = $(OBJROOT) $(SYMROOT) $(LANGDIR)
47 #BITMAPS = Panel.image Wait1.image Wait2.image Wait3.image
53 $(DUMPTIFF) -o $(SYMROOT)/$* $<
55 #all: $(DIRS_NEEDED) $(PROGRAMS) $(OUTFILES)
56 all: $(DIRS_NEEDED) $(PROGRAMS) $(BITMAPS)
59 # cd $(SYMROOT); rm -f $(OUTFILES)
61 cd $(SYMROOT); rm -f $(PROGRAMS)
63 install_i386:: $(INSTALLDIR) $(LANGDIR)
64 cp $(BITMAPS) $(INSTALLDIR)
65 cp $(FONTS) $(INSTALLDIR)/English.lproj
67 $(TIFF_HFILES): $(DUMPTIFF)
68 $(TIFF_BFILES): $(TIFF_HFILES)
69 $(CURSOR_HFILES): CURSOR_HFILES
70 CURSOR_HFILES: $(DUMPTIFF)
71 $(DUMPTIFF) -c -o $(SYMROOT)/ns_wait
72 $(FONT_HFILES): mkfont $(FONTFILES)
73 mkfont $(FONTFILES) -c $(SYMROOT)/$@
75 hdot.h hdot_bitmap.h: dot.tiff $(DUMPTIFF)
76 $(DUMPTIFF) -b 3 -o $(SYMROOT)/hdot dot.tiff
79 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$@ $(SIG_OBJS)
81 dumptiff: $(DUMPTIFF_OBJS)
82 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$@ $(DUMPTIFF_OBJS) -lNeXT_s
85 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$@ mkfont.o
87 machOconv: machOconv.o
88 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$@ machOconv.o
90 include ../MakeInc.dir
93 -include $(OBJROOT)/Makedep