/[dgee]/dgee/pythonvm/Makefile.in
ViewVC logotype

Diff of /dgee/pythonvm/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ajmitch, Sun Jun 29 20:07:03 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:36:02 2003 UTC
# Line 0  Line 1 
1    .SUFFIXES: .pc .c .o .h
2    
3    TARGET  = DGpythonVM
4    
5    prefix = $(DESTDIR)@prefix@
6    exec_prefix = @exec_prefix@
7    libexec = @libexecdir@/dgee/
8    
9    BIN = ${libexec}
10    INC     =
11    OBJ     = obj
12    
13    OBJF=\
14    pythonvmMain.o \
15    pythonServices.o \
16    pythonvm.o
17    
18    ALLINC  = -I. -I../dglib -I@PXLBASE@/include -I@GWBASE@/include/goldwater
19    CFLAGS = @CFLAGS@ -D_SVID_SOURCE @LOCAL_CFLAGS@ -c $(ALLINC)
20    
21    LFLAG   = -L../dglib -L@PXLBASE@/lib -L@GWBASE@/lib -ldgee -lgwtx -lpxtra @LOCAL_LDFLAGS@
22    
23    ILLFLAG = -L@PXLBASE@/lib -L@GWBASE@/lib -L/usr/lib/python2.2/config -lnsl -ldl -lm -lpython2.2
24    
25    OBJS = $(addprefix $(OBJ)/,$(OBJF))
26    
27    all: directories $(TARGET)
28    fresh: clean all
29    
30    directories:
31            @if test ! -d "./obj"; then mkdir obj; fi
32    
33    $(TARGET): $(OBJS)
34            $(CC) -g $(OBJS) -rdynamic $(LFLAG) $(ILLFLAG) -lgwbs -o$@
35            @echo
36    
37    $(OBJ)/%.o:%.c
38            $(CC) $(CFLAGS) -o$@ $<
39    
40    clean:  
41            rm -f $(TARGET) $(OBJS)
42    
43    distclean: clean
44            rm -rf $(OBJ)
45            rm -f Makefile
46    
47    install:
48            @echo "Installing $(TARGET)..."
49            @../mkinstalldirs $(BIN)
50            @../install-sh -c $(TARGET) $(BIN)
51            @../install-sh -c dgeeinvoke.py $(libexec)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26