1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
###/* This file is part of
###* ======================================================
###*
###* LyX, the High Level Word Processor
###*
###* Copyright (C) 1995-99 The LyX Team
###*
###*======================================================*/
###
###
### Makefile by Lars Gullik Bjnnes (larsbj@ifi.uio.no)
###
SHELL = /bin/sh
.SUFFIXES: .fd .c
# Various commands
FDESIGN = fdesign
SRCS = bullet_forms.fd credits_form.fd form1.fd \
latexoptions.fd layout_forms.fd lyx.fd lyx_sendfax.fd math_forms.fd \
print_form.fd sp_form.fd
OBJS = bullet_forms.c credits_form.c form1.c \
latexoptions.c layout_forms.c lyx.c lyx_sendfax.c math_forms.c \
print_form.c sp_form.c
COBJS = bullet_forms.C credits_form.C form1.C \
latexoptions.C layout_forms.C lyx.C lyx_sendfax.C math_forms.C \
print_form.C sp_form.C
all:
@echo "This is a makefile intended for the maintainer only."
@echo "Only run it if you are absolutely sure about what you"
@echo "are doing."
c: $(OBJS)
d: c $(COBJS)
e: c
for hfil in *.h ; do \
if [ -f "$$hfil.patch" ] ; then \
(echo "Patching $$hfil with $$hfil.patch" ; \
patch -s $$hfil < $$hfil.patch) \
fi; \
done
updatesrc: d e
for fil in *.C *.h ; do cp $$fil ../src ; done
.fd.c:
$(FDESIGN) -convert $<
.c.C:
./fdfix.sh $< $@
clean:
rm -f *.[hcC] *.bak
distclean: clean
rm -f *.orig *.rej *~
|