@echo Nothing to be done.
install::
- $(INSTALL) $(INSTLOPTS) ecpgerrno.h $(DESTDIR)$(HEADERDIR)
- $(INSTALL) $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR)
- $(INSTALL) $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR)
- $(INSTALL) $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) ecpgerrno.h $(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) ecpglib.h $(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) ecpgtype.h $(HEADERDIR)
+ $(INSTALL) $(INSTLOPTS) sqlca.h $(HEADERDIR)
uninstall::
- rm -f $(DESTDIR)$(HEADERDIR)/ecpgerrno.h
- rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h
- rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h
- rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h
+ rm -f $(HEADERDIR)/ecpgerrno.h
+ rm -f $(HEADERDIR)/ecpglib.h
+ rm -f $(HEADERDIR)/ecpgtype.h
+ rm -f $(HEADERDIR)/sqlca.h
dep depend:
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
- -DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\"
+ -DINCLUDE_PATH=\"$(HEADERDIR)\"
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o ../../../backend/parser/scansup.o \
keywords.o c_keywords.o ../lib/typename.o
# to ship those files in the distribution, for people with inadequate tools.
install: all
- $(INSTALL) $(INSTL_EXE_OPTS) ecpg$(X) $(DESTDIR)$(BINDIR)
+ $(INSTALL) $(INSTL_EXE_OPTS) ecpg$(X) $(BINDIR)
uninstall:
- rm -f $(DESTDIR)$(BINDIR)/ecpg
+ rm -f $(BINDIR)/ecpg
# Rule that really do something.
ecpg: $(OBJ)