mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
3.0 KiB
73 lines
3.0 KiB
#
|
|
######################################################################
|
|
#********************************************************************
|
|
#* Makefile -- makefile for xacc/src *
|
|
#* Copyright (C) 1997 Robin Clark *
|
|
#* *
|
|
#* This program is free software; you can redistribute it and/or *
|
|
#* modify it under the terms of the GNU General Public License as *
|
|
#* published by the Free Software Foundation; either version 2 of *
|
|
#* the License, or (at your option) any later version. *
|
|
#* *
|
|
#* This program is distributed in the hope that it will be useful, *
|
|
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
#* GNU General Public License for more details. *
|
|
#* *
|
|
#* You should have received a copy of the GNU General Public License*
|
|
#* along with this program; if not, write to the Free Software *
|
|
#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
|
#* *
|
|
#* Author: Robin Clark *
|
|
#* Internet: rclark@rush.aero.org *
|
|
#* Address: 609 8th Street *
|
|
#* Huntington Beach, CA 92648-4632 *
|
|
#********************************************************************
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
CC = @CC@
|
|
INCLPATH = -I.. \
|
|
-I@x_includes@ \
|
|
-I@srcdir@/../include \
|
|
-I@srcdir@/../lib/libhtmlw \
|
|
-I@srcdir@/../lib/ComboBox-1.33
|
|
CFLAGS = @cflags@
|
|
LFLAGS = @lflags@
|
|
LIBS = @LIBS@
|
|
LIBPATH = -L@x_libraries@
|
|
TARGET = ../xacc
|
|
|
|
LIBHTMLW = ../lib/libhtmlw/libhtmlw.a
|
|
LIBXBAE = ../lib/Xbae-4.6.2-linas/libXbae.a
|
|
LIBCOMBO = ../lib/ComboBox-1.33/libComboBox.a
|
|
######################################################################
|
|
SRCS = AccWindow.c Account.c AccountMenu.c Action.c AdjBWindow.c \
|
|
BuildMenu.c Data.c Destroy.c FileBox.c FileIO.c HelpWindow.c \
|
|
LedgerUtils.c MainWindow.c PopBox.c QIFIO.c QuickFill.c \
|
|
RecnWindow.c RegWindow.c Reports.c TextBox.c Transaction.c \
|
|
XferBox.c XferWindow.c date.c main.c util.c
|
|
OBJS = ${SRCS:.c=.o} $(LIBHTMLW) $(LIBXBAE) $(LIBCOMBO)
|
|
######################################################################
|
|
|
|
default: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
@echo "++++++"
|
|
$(CC) $(LFLAGS) $(OBJS) $(LIBPATH) $(LIBS) -o $@
|
|
|
|
.c.o:
|
|
@echo "+++"
|
|
$(CC) -c $(CFLAGS) $(INCLPATH) $<
|
|
|
|
depend:
|
|
makedepend -- $(INCLPATH) $(DEFN) -- $(SRCS)
|
|
|
|
clean:
|
|
rm -f *.o *~ *.bak
|
|
|
|
distclean: clean
|
|
rm -f $(TARGET) Makefile Makefile.bak config.h
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|