Ignore:
Timestamp:
Jul 13, 2017, 5:17:57 AM (8 years ago)
Author:
stevenhl
Message:

Import modifications from cwmm-0_2_9-work-01_10_2006.zip dated 2006-08-27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mediafolder/c/cddb/makefile

    r2 r4  
    11# Makefile for Audio-CD copy
    22
    3 CC           = icc
    4 LIB_DIR      = $d:/emx/lib
    5 #CPPFLAGS     = -Ge- /Gm+ -G4 -Gl  /O+ -Oc+ -Ol
     3include ../../../make.inc
     4
     5CC           = gcc
    66CPPFLAGS     = -O -Zomf -Zcrtdll -s
    77#CPPFLAGSSTATIC     = -O -Zomf -Zsys -Zmt -s
     
    99CPPFLAGSVAC  = /Ge- /Gm+ /G4 /Gl  /O+ /Oc+ /Ol- /Q+
    1010INC             = ../../include
     11MOREINC         = $(COMMONSRC)/include
    1112DEFS         =
    1213PROGS        = 
    1314ODIR            = .
    1415CPPDIR  = .
     16LIBDIR          =       ./lib
    1517BINDIR          =       ../../dist/bin
    1618HELPERDIR       =       ..\helper
     19OBJECTS         =       cddb.obj \
     20                        cd.obj \
     21                        helper.obj \
     22                        cddbhelper.obj \
     23                        message.obj
     24LIBOBJECTS      = $(LIBDIR)/sys_funcs.obj
    1725
    18 CPPFILES        =
    19 OBJECTS =        cddb.obj cd.obj helper.obj cddbhelper.obj message.obj
    2026#printHelper.obj
    2127#all:    querycddb.exe cddbcls.obj
    2228
    23 all:     pmcddb.exe pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll
     29all:     pmcddb.exe pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll
    2430
    25 nlv:    pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll
     31nlv:    pmdb001.dll pmdb049.dll pmdb031.dll pmdb039.dll pmdb088.dll
    2632
    2733pmdb001.dll:    ./res/pmcddb001.c ./res/pmcddb001.res
     
    5359                cd ./Res && make
    5460
     61
     62
     63pmdb088.dll:    ./res/pmcddb088.c ./res/pmcddb088.res
     64                -rm pmdb088.dll
     65                cp ./res/pmcddb088.dll pmdb088.dll
     66
     67./res/pmcddb088.res:    ./res/pmcddb088.rc ./res/pmcddb088.dlg $(INC)/pmcddbres.h
     68                cd ./Res && make
     69
     70
     71$(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
     72        $(CC) -c -Wall -o$@ -Zomf -I$(INC) -I$(MOREINC) $<
     73
    5574cd.obj: cd.c
    5675                gcc -c $< -I$(INC) -Zcrtdll -Zomf
    57 #               cd ../. && cd helper && make
    5876
    5977helper.obj:     helper.c
     
    6381                gcc -c $< -I$(INC) -Zcrtdll -Zomf
    6482
    65 pmcddb.exe:     pmcddb.cc $(OBJECTS) $(CDDBOBJ) $(INC)\cddb.h $(INC)\cddb.hh
    66         gcc $< $(CPPFLAGS) -I$(INC)  $(OBJECTS) $(CDDBOBJ)  -lsocket pmcddb.def
     83pmcddb.exe:     pmcddb.cc $(OBJECTS) $(LIBOBJECTS) $(CDDBOBJ) $(INC)\cddb.h $(INC)\cddb.hh
     84        $(CC) $< $(CPPFLAGS) -I$(INC) -I$(MOREINC) $(LIBOBJECTS) $(OBJECTS) $(CDDBOBJ)  -lsocket pmcddb.def
    6785
    6886cddb.obj:       cddb.cpp $(INC)\cddb.hh
Note: See TracChangeset for help on using the changeset viewer.