expose DrawLine and BlitRect stubs. remove unwanted spaces and fix indentation of...
[AROS.git] / tools / sfdc / Makefile.in
blob601c464f7331a109c66d73839877f3c87df78aa7
2 prefix = @prefix@
3 exec_prefix = @exec_prefix@
4 bindir = @bindir@
5 mandir = @mandir@
7 INSTALL = @INSTALL@
8 INSTALL_DATA = @INSTALL_DATA@
9 INSTALL_PROGRAM = @INSTALL_PROGRAM@
11 POD2TEXT = @POD2TEXT@
12 POD2MAN = @POD2MAN@
14 VERSION = @VERSION@
15 DATE = @DATE@
17 MAIN = main.pl
18 CLASSES = $(wildcard [A-Z]*.pl)
19 PODS = SFDCompile.pod
20 EXECUTABLE = sfdc
21 MAN = sfdc.1
22 TXT = sfdc.txt
25 all: $(EXECUTABLE) $(MAN) $(TXT)
27 clean:
28 $(RM) $(EXECUTABLE) $(MAN) $(TXT) config.log \
29 $(EXECUTABLE)-$(VERSION).tar.gz $(EXECUTABLE).lha
31 distclean: clean
32 $(RM) config.status Makefile
34 install: all
35 $(INSTALL) --directory $(bindir) $(mandir)/man1
36 $(INSTALL_PROGRAM) $(EXECUTABLE) $(bindir)
37 $(INSTALL_DATA) $(MAN) $(mandir)/man1
39 tgz: all gg-sfdc.spec
40 cvs diff >/dev/null || (echo "Not checked in!"; exit 10)
41 mkdir $(EXECUTABLE)-$(VERSION)
42 cd $(EXECUTABLE)-$(VERSION) && cvs export -Dtoday sfdc
43 mv $(EXECUTABLE)-$(VERSION)/sfdc/* $(EXECUTABLE)-$(VERSION)
44 cp gg-sfdc.spec $(EXECUTABLE)-$(VERSION)
45 rmdir $(EXECUTABLE)-$(VERSION)/sfdc
46 tar cfvz $(EXECUTABLE)-$(VERSION).tar.gz $(EXECUTABLE)-$(VERSION)
47 $(RM) -r $(EXECUTABLE)-$(VERSION)
49 lha: all tgz
50 $(RM) $(EXECUTABLE).lha
51 lha -ao5 $(EXECUTABLE).lha $(EXECUTABLE) $(EXECUTABLE).readme \
52 $(MAN) $(TXT) $(EXECUTABLE)-$(VERSION).tar.gz
54 $(EXECUTABLE): $(MAIN) $(CLASSES) $(PODS)
55 cat $^ | sed "s/SFDC_VERSION/$(VERSION)/g" | sed "s/SFDC_DATE/$(DATE)/g" >$@
56 chmod a+x $@
58 $(MAN): $(EXECUTABLE)
59 $(POD2MAN) $^ -o $@
61 $(TXT): $(EXECUTABLE)
62 $(POD2TEXT) -c $^ -o $@