1999-09-27 18:44:28 +00:00
|
|
|
|
###/* This file is part of
|
|
|
|
|
###* ======================================================
|
|
|
|
|
###*
|
|
|
|
|
###* LyX, the High Level Word Processor
|
|
|
|
|
###*
|
|
|
|
|
###* Copyright (C) 1995-99 The LyX Team
|
|
|
|
|
###*
|
|
|
|
|
###*======================================================*/
|
|
|
|
|
###
|
|
|
|
|
###
|
|
|
|
|
### Makefile by Lars Gullik Bj<42>nnes (larsbj@ifi.uio.no)
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
.SUFFIXES: .fd .c
|
|
|
|
|
|
|
|
|
|
# Various commands
|
|
|
|
|
FDESIGN = fdesign
|
|
|
|
|
|
2000-06-07 08:53:40 +00:00
|
|
|
|
SRCS = bullet_forms.fd cite.fd credits_form.fd form1.fd \
|
1999-09-27 18:44:28 +00:00
|
|
|
|
latexoptions.fd layout_forms.fd lyx.fd lyx_sendfax.fd math_forms.fd \
|
|
|
|
|
print_form.fd sp_form.fd
|
|
|
|
|
|
2000-06-07 08:53:40 +00:00
|
|
|
|
OBJS = bullet_forms.c cite.c credits_form.c form1.c \
|
1999-09-27 18:44:28 +00:00
|
|
|
|
latexoptions.c layout_forms.c lyx.c lyx_sendfax.c math_forms.c \
|
|
|
|
|
print_form.c sp_form.c
|
|
|
|
|
|
2000-06-07 08:53:40 +00:00
|
|
|
|
COBJS = bullet_forms.C cite.C credits_form.C form1.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
|
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 *~
|